public class AdsApiContainer extends ApiContainer
gson| 构造器和说明 |
|---|
AdsApiContainer() |
| 限定符和类型 | 方法和说明 |
|---|---|
AdsAddResponseData |
adsAdd(AdsAddRequest data)
创建广告
|
AdsDeleteResponseData |
adsDelete(AdsDeleteRequest data)
删除广告
|
AdsGetResponseData |
adsGet(Long accountId,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
Boolean isDeleted,
List<String> fields)
获取广告
|
AdsUpdateResponseData |
adsUpdate(AdsUpdateRequest data)
更新广告
|
AdsUpdateConfiguredStatusResponseData |
adsUpdateConfiguredStatus(AdsUpdateConfiguredStatusRequest data)
更新广告状态
|
handleResponsepublic AdsAddResponseData adsAdd(AdsAddRequest data) throws ApiException, TencentAdsResponseException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodyTencentAdsResponseExceptionpublic AdsDeleteResponseData adsDelete(AdsDeleteRequest data) throws ApiException, TencentAdsResponseException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodyTencentAdsResponseExceptionpublic AdsGetResponseData adsGet(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields) throws ApiException, TencentAdsResponseException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodyTencentAdsResponseExceptionpublic AdsUpdateResponseData adsUpdate(AdsUpdateRequest data) throws ApiException, TencentAdsResponseException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodyTencentAdsResponseExceptionpublic AdsUpdateConfiguredStatusResponseData adsUpdateConfiguredStatus(AdsUpdateConfiguredStatusRequest data) throws ApiException, TencentAdsResponseException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodyTencentAdsResponseExceptionCopyright © 2020. All rights reserved.