qihoo.open.v1.service.impl
类 CampaignService
java.lang.Object
qihoo.open.v1.service.impl.BaseService<Campaign>
qihoo.open.v1.service.impl.CampaignService
public class CampaignService
- extends BaseService<Campaign>
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CampaignService
public CampaignService(ServiceContext context)
add
public GetCampaignAddResponse add(GetCampaignAddRequest request)
throws QihooOpenException
- 添加一个推广计划
推广计划的预算和名称是必须的
- 参数:
request
- 请求类
- 返回:
- GetCampaignAddResponse 响应类
- 抛出:
QihooOpenException
update
public GetCampaignUpdateResponse update(GetCampaignUpdateRequest request)
throws QihooOpenException
- 修改一个推广计划
推广计划的远程id是必须的
- 参数:
request
- 请求类
- 返回:
- GetCampaignUpdateResponse 响应类
- 抛出:
QihooOpenException
deleteById
public GetCampaignDeleteByIdResponse deleteById(GetCampaignDeleteByIdRequest request)
throws QihooOpenException
- 根据计划id删除相应的推广计划,删除推广计划时,自动将下属的推广组、创意、关键词删除
- 参数:
request
- 请求类
- 返回:
- GetCampaignDeleteByIdResponse 响应类
- 抛出:
QihooOpenException
getInfoById
public GetCampaignInfoByIdResponse getInfoById(GetCampaignInfoByIdRequest request)
throws QihooOpenException
- 根据推广计划远程id获取推广计划信息
- 参数:
request
- 请求类
- 返回:
- GetCampaignInfoByIdResponse 响应类
- 抛出:
QihooOpenException
getInfoByIdList
public GetCampaignInfoByIdListResponse getInfoByIdList(GetCampaignInfoByIdListRequest request)
throws QihooOpenException
- 根据id批量获取推广计划的信息
- 参数:
request
- 请求类
- 返回:
- GetCampaignInfoByIdListResponse 响应类
- 抛出:
QihooOpenException
Copyright © 2013. All rights reserved.