public class AdsApi extends Object
public AdsApi()
public AdsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call adsAddCall(AdsAddRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdsAddResponse adsAdd(AdsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<AdsAddResponse> adsAddWithHttpInfo(AdsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call adsAddAsync(AdsAddRequest data, ApiCallback<AdsAddResponse> callback) throws ApiException
data - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call adsDeleteCall(AdsDeleteRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdsDeleteResponse adsDelete(AdsDeleteRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<AdsDeleteResponse> adsDeleteWithHttpInfo(AdsDeleteRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call adsDeleteAsync(AdsDeleteRequest data, ApiCallback<AdsDeleteResponse> callback) throws ApiException
data - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call adsGetCall(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdsGetResponse adsGet(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields) throws ApiException
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 bodypublic ApiResponse<AdsGetResponse> adsGetWithHttpInfo(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields) throws ApiException
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 bodypublic com.squareup.okhttp.Call adsGetAsync(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields, ApiCallback<AdsGetResponse> callback) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (optional)fields - 返回参数的字段列表 (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call adsUpdateCall(AdsUpdateRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdsUpdateResponse adsUpdate(AdsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<AdsUpdateResponse> adsUpdateWithHttpInfo(AdsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call adsUpdateAsync(AdsUpdateRequest data, ApiCallback<AdsUpdateResponse> callback) throws ApiException
data - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call adsUpdateConfiguredStatusCall(AdsUpdateConfiguredStatusRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdsUpdateConfiguredStatusResponse adsUpdateConfiguredStatus(AdsUpdateConfiguredStatusRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<AdsUpdateConfiguredStatusResponse> adsUpdateConfiguredStatusWithHttpInfo(AdsUpdateConfiguredStatusRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call adsUpdateConfiguredStatusAsync(AdsUpdateConfiguredStatusRequest data, ApiCallback<AdsUpdateConfiguredStatusResponse> callback) throws ApiException
data - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020. All rights reserved.