eleme.openapi.sdk.api.service.AdService Maven / Gradle / Ivy
package eleme.openapi.sdk.api.service;
import eleme.openapi.sdk.api.annotation.Service;
import eleme.openapi.sdk.api.base.BaseNopService;
import eleme.openapi.sdk.api.exception.ServiceException;
import eleme.openapi.sdk.oauth.response.Token;
import eleme.openapi.sdk.config.Config;
import eleme.openapi.sdk.api.entity.ad.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
/**
* 斗金服务
*/
@Service("eleme.ad")
public class AdService extends BaseNopService {
public AdService(Config config,Token token) {
super(config, token, AdService.class);
}
/**
* 查询斗金推广设置
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinCpcSolutionFindResponse findDouJinCpcSolution(EDouJinCpcSolutionFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.findDouJinCpcSolution", params);
}
/**
* 查询斗金推广点击分布信息
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinClickDistributionReportFindResponse findDouJinClickDistributionReport(EDouJinClickDistributionReportFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.findDouJinClickDistributionReport", params);
}
/**
* 查询斗金推广效果数据
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinEffectiveReportFindResponse findDouJinEffectReport(EDouJinEffectiveReportFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.findDouJinEffectReport", params);
}
/**
* 设置斗金时段
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinUpdateResponse updateDouJinTime(EDouJinTimeUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.updateDouJinTime", params);
}
/**
* 设置斗金定向
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinUpdateResponse updateDouJinTarget(EDouJinTargetUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.updateDouJinTarget", params);
}
/**
* 设置斗金预算
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinUpdateResponse updateDouJinBudget(EDouJinBudgetUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.updateDouJinBudget", params);
}
/**
* 设置斗金出价
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinUpdateResponse updateDouJinBid(EDouJinBidUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.updateDouJinBid", params);
}
/**
* 设置斗金状态
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinUpdateResponse updateDouJinState(EDouJinStateUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.updateDouJinState", params);
}
/**
* 创建斗金计划
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinCpcSolutionCreateResponse createDouJinSolution(EDouJinCpcSolutionCreateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.createDouJinSolution", params);
}
/**
* 查询斗金最大可用余额
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDouJinAccountBalanceFindResponse findDouJinAccountBalance(EDouJinAccountBalanceFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.doujincpc.findDouJinAccountBalance", params);
}
/**
* 查询优享大牌推广设置
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayCpcSolutionFindResponse findDisplayCpcSolution(EDisplayCpcSolutionFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.findDisplayCpcSolution", params);
}
/**
* 查询优享大牌推广效果数据
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayEffectiveReportFindResponse findDisplayEffectReport(EDisplayEffectiveReportFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.findDisplayEffectReport", params);
}
/**
* 设置优享大牌时段
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayUpdateResponse updateDisplayTime(EDisplayTimeUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.updateDisplayTime", params);
}
/**
* 设置优享大牌定向
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayUpdateResponse updateDisplayTarget(EDisplayTargetUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.updateDisplayTarget", params);
}
/**
* 设置优享大牌预算
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayUpdateResponse updateDisplayBudget(EDisplayBudgetUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.updateDisplayBudget", params);
}
/**
* 设置优享大牌出价
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayUpdateResponse updateDisplayBid(EDisplayBidUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.updateDisplayBid", params);
}
/**
* 设置优享大牌状态
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayUpdateResponse updateDisplayState(EDisplayStateUpdateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.updateDisplayState", params);
}
/**
* 创建优享大牌计划
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayCpcSolutionCreateResponse createDisplaySolution(EDisplayCpcSolutionCreateRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.createDisplaySolution", params);
}
/**
* 查询优享大牌最大可用余额
*
* @param request 请求参数
* @return 结果
* @throws ServiceException 服务异常
*/
public EDisplayAccountBalanceFindResponse findDisplayAccountBalance(EDisplayAccountBalanceFindRequest request) throws ServiceException {
Map params = new HashMap();
params.put("request", request);
return call("eleme.ad.displaycpc.findDisplayAccountBalance", params);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy