public class CampaignApi
extends java.lang.Object
| Constructor and Description |
|---|
CampaignApi() |
CampaignApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ResponseReadAdSet |
getAdSet(java.lang.String adSetId)
Get the data for the specified ad set
|
okhttp3.Call |
getAdSetAsync(java.lang.String adSetId,
ApiCallback<ResponseReadAdSet> _callback)
(asynchronously)
Get the data for the specified ad set
|
okhttp3.Call |
getAdSetCall(java.lang.String adSetId,
ApiCallback _callback)
Build call for getAdSet
|
ApiResponse<ResponseReadAdSet> |
getAdSetWithHttpInfo(java.lang.String adSetId)
Get the data for the specified ad set
|
ApiClient |
getApiClient() |
java.util.List<CampaignBidMessage> |
getBids(java.lang.String campaignIds,
java.lang.String advertiserIds,
java.lang.String categoryHashCodes,
java.lang.String bidType,
java.lang.String campaignStatus,
java.lang.Boolean pendingChanges)
Gets a the bids for campaigns and their categories
Get the campaigns' bids, as well as the bids of their categories
|
okhttp3.Call |
getBidsAsync(java.lang.String campaignIds,
java.lang.String advertiserIds,
java.lang.String categoryHashCodes,
java.lang.String bidType,
java.lang.String campaignStatus,
java.lang.Boolean pendingChanges,
ApiCallback<java.util.List<CampaignBidMessage>> _callback)
Gets a the bids for campaigns and their categories (asynchronously)
Get the campaigns' bids, as well as the bids of their categories
|
okhttp3.Call |
getBidsCall(java.lang.String campaignIds,
java.lang.String advertiserIds,
java.lang.String categoryHashCodes,
java.lang.String bidType,
java.lang.String campaignStatus,
java.lang.Boolean pendingChanges,
ApiCallback _callback)
Build call for getBids
|
ApiResponse<java.util.List<CampaignBidMessage>> |
getBidsWithHttpInfo(java.lang.String campaignIds,
java.lang.String advertiserIds,
java.lang.String categoryHashCodes,
java.lang.String bidType,
java.lang.String campaignStatus,
java.lang.Boolean pendingChanges)
Gets a the bids for campaigns and their categories
Get the campaigns' bids, as well as the bids of their categories
|
CategoryMessage |
getCategories(java.lang.Integer campaignId,
java.lang.Boolean enabledOnly)
Gets categories
Get the list of categories linked to the requested campaign.
|
okhttp3.Call |
getCategoriesAsync(java.lang.Integer campaignId,
java.lang.Boolean enabledOnly,
ApiCallback<CategoryMessage> _callback)
Gets categories (asynchronously)
Get the list of categories linked to the requested campaign.
|
okhttp3.Call |
getCategoriesCall(java.lang.Integer campaignId,
java.lang.Boolean enabledOnly,
ApiCallback _callback)
Build call for getCategories
|
ApiResponse<CategoryMessage> |
getCategoriesWithHttpInfo(java.lang.Integer campaignId,
java.lang.Boolean enabledOnly)
Gets categories
Get the list of categories linked to the requested campaign.
|
CategoryMessage |
getCategory(java.lang.Integer campaignId,
java.lang.Integer categoryHashCode)
Gets a specific category
Get a specific category linked to the requested campaign.
|
okhttp3.Call |
getCategoryAsync(java.lang.Integer campaignId,
java.lang.Integer categoryHashCode,
ApiCallback<CategoryMessage> _callback)
Gets a specific category (asynchronously)
Get a specific category linked to the requested campaign.
|
okhttp3.Call |
getCategoryCall(java.lang.Integer campaignId,
java.lang.Integer categoryHashCode,
ApiCallback _callback)
Build call for getCategory
|
ApiResponse<CategoryMessage> |
getCategoryWithHttpInfo(java.lang.Integer campaignId,
java.lang.Integer categoryHashCode)
Gets a specific category
Get a specific category linked to the requested campaign.
|
ResponseAdSetId |
patchAdSets(RequestsPatchAdSet requestsPatchAdSet)
Patch a list of AdSets.
|
okhttp3.Call |
patchAdSetsAsync(RequestsPatchAdSet requestsPatchAdSet,
ApiCallback<ResponseAdSetId> _callback)
(asynchronously)
Patch a list of AdSets.
|
okhttp3.Call |
patchAdSetsCall(RequestsPatchAdSet requestsPatchAdSet,
ApiCallback _callback)
Build call for patchAdSets
|
ApiResponse<ResponseAdSetId> |
patchAdSetsWithHttpInfo(RequestsPatchAdSet requestsPatchAdSet)
Patch a list of AdSets.
|
ResponsesReadAdSet |
searchAdSets(RequestAdSetSearch requestAdSetSearch)
Search for ad sets
|
okhttp3.Call |
searchAdSetsAsync(RequestAdSetSearch requestAdSetSearch,
ApiCallback<ResponsesReadAdSet> _callback)
(asynchronously)
Search for ad sets
|
okhttp3.Call |
searchAdSetsCall(RequestAdSetSearch requestAdSetSearch,
ApiCallback _callback)
Build call for searchAdSets
|
ApiResponse<ResponsesReadAdSet> |
searchAdSetsWithHttpInfo(RequestAdSetSearch requestAdSetSearch)
Search for ad sets
|
void |
setApiClient(ApiClient apiClient) |
ResponsesAdSetId |
startAdSets(RequestsAdSetId requestsAdSetId)
Start the specified list of ad sets
|
okhttp3.Call |
startAdSetsAsync(RequestsAdSetId requestsAdSetId,
ApiCallback<ResponsesAdSetId> _callback)
(asynchronously)
Start the specified list of ad sets
|
okhttp3.Call |
startAdSetsCall(RequestsAdSetId requestsAdSetId,
ApiCallback _callback)
Build call for startAdSets
|
ApiResponse<ResponsesAdSetId> |
startAdSetsWithHttpInfo(RequestsAdSetId requestsAdSetId)
Start the specified list of ad sets
|
ResponsesAdSetId |
stopAdSets(RequestsAdSetId requestsAdSetId)
Stop the specified list of ad sets
|
okhttp3.Call |
stopAdSetsAsync(RequestsAdSetId requestsAdSetId,
ApiCallback<ResponsesAdSetId> _callback)
(asynchronously)
Stop the specified list of ad sets
|
okhttp3.Call |
stopAdSetsCall(RequestsAdSetId requestsAdSetId,
ApiCallback _callback)
Build call for stopAdSets
|
ApiResponse<ResponsesAdSetId> |
stopAdSetsWithHttpInfo(RequestsAdSetId requestsAdSetId)
Stop the specified list of ad sets
|
java.util.List<CampaignMessage> |
updateBids(java.util.List<CampaignBidChangeRequest> bidChanges)
Update bids for campaigns and their categories
If a campaign bid is updated, all (if any) category bids for this campaign will be updated with the new value if they are initially equal to the campaign bid.
|
okhttp3.Call |
updateBidsAsync(java.util.List<CampaignBidChangeRequest> bidChanges,
ApiCallback<java.util.List<CampaignMessage>> _callback)
Update bids for campaigns and their categories (asynchronously)
If a campaign bid is updated, all (if any) category bids for this campaign will be updated with the new value if they are initially equal to the campaign bid.
|
okhttp3.Call |
updateBidsCall(java.util.List<CampaignBidChangeRequest> bidChanges,
ApiCallback _callback)
Build call for updateBids
|
ApiResponse<java.util.List<CampaignMessage>> |
updateBidsWithHttpInfo(java.util.List<CampaignBidChangeRequest> bidChanges)
Update bids for campaigns and their categories
If a campaign bid is updated, all (if any) category bids for this campaign will be updated with the new value if they are initially equal to the campaign bid.
|
public CampaignApi()
public CampaignApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAdSetCall(java.lang.String adSetId,
ApiCallback _callback)
throws ApiException
adSetId - Id of the ad set (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | data for the ad set | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public ResponseReadAdSet getAdSet(java.lang.String adSetId) throws ApiException
adSetId - Id of the ad set (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | data for the ad set | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public ApiResponse<ResponseReadAdSet> getAdSetWithHttpInfo(java.lang.String adSetId) throws ApiException
adSetId - Id of the ad set (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | data for the ad set | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public okhttp3.Call getAdSetAsync(java.lang.String adSetId,
ApiCallback<ResponseReadAdSet> _callback)
throws ApiException
adSetId - Id of the ad set (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 object| Status Code | Description | Response Headers |
| 200 | data for the ad set | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public okhttp3.Call getBidsCall(java.lang.String campaignIds,
java.lang.String advertiserIds,
java.lang.String categoryHashCodes,
java.lang.String bidType,
java.lang.String campaignStatus,
java.lang.Boolean pendingChanges,
ApiCallback _callback)
throws ApiException
campaignIds - Optional. The ids of the campaigns we want to get the bids on. If not specified, advertiserIds will be used. (optional)advertiserIds - Optional. The ids of the advertisers' campaigns we want to get the bids on. If campaignIds not specified, and neither is advertiserIds, all the advertisers in the user's portfolio are used. (optional)categoryHashCodes - Optional. Filters only specified categories. By default no filtering is applied. (optional)bidType - Optional. Filters by bid type. By default no filtering is applied. (optional)campaignStatus - Optional. Filters by campaign status. By default no filtering is applied. (optional)pendingChanges - Optional. Filters only pending changes or settled ones. By default no filtering is applied. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Bids returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | There is not even one valid advertiserId or campaignId requested. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public java.util.List<CampaignBidMessage> getBids(java.lang.String campaignIds, java.lang.String advertiserIds, java.lang.String categoryHashCodes, java.lang.String bidType, java.lang.String campaignStatus, java.lang.Boolean pendingChanges) throws ApiException
campaignIds - Optional. The ids of the campaigns we want to get the bids on. If not specified, advertiserIds will be used. (optional)advertiserIds - Optional. The ids of the advertisers' campaigns we want to get the bids on. If campaignIds not specified, and neither is advertiserIds, all the advertisers in the user's portfolio are used. (optional)categoryHashCodes - Optional. Filters only specified categories. By default no filtering is applied. (optional)bidType - Optional. Filters by bid type. By default no filtering is applied. (optional)campaignStatus - Optional. Filters by campaign status. By default no filtering is applied. (optional)pendingChanges - Optional. Filters only pending changes or settled ones. By default no filtering is applied. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Bids returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | There is not even one valid advertiserId or campaignId requested. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public ApiResponse<java.util.List<CampaignBidMessage>> getBidsWithHttpInfo(java.lang.String campaignIds, java.lang.String advertiserIds, java.lang.String categoryHashCodes, java.lang.String bidType, java.lang.String campaignStatus, java.lang.Boolean pendingChanges) throws ApiException
campaignIds - Optional. The ids of the campaigns we want to get the bids on. If not specified, advertiserIds will be used. (optional)advertiserIds - Optional. The ids of the advertisers' campaigns we want to get the bids on. If campaignIds not specified, and neither is advertiserIds, all the advertisers in the user's portfolio are used. (optional)categoryHashCodes - Optional. Filters only specified categories. By default no filtering is applied. (optional)bidType - Optional. Filters by bid type. By default no filtering is applied. (optional)campaignStatus - Optional. Filters by campaign status. By default no filtering is applied. (optional)pendingChanges - Optional. Filters only pending changes or settled ones. By default no filtering is applied. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Bids returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | There is not even one valid advertiserId or campaignId requested. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call getBidsAsync(java.lang.String campaignIds,
java.lang.String advertiserIds,
java.lang.String categoryHashCodes,
java.lang.String bidType,
java.lang.String campaignStatus,
java.lang.Boolean pendingChanges,
ApiCallback<java.util.List<CampaignBidMessage>> _callback)
throws ApiException
campaignIds - Optional. The ids of the campaigns we want to get the bids on. If not specified, advertiserIds will be used. (optional)advertiserIds - Optional. The ids of the advertisers' campaigns we want to get the bids on. If campaignIds not specified, and neither is advertiserIds, all the advertisers in the user's portfolio are used. (optional)categoryHashCodes - Optional. Filters only specified categories. By default no filtering is applied. (optional)bidType - Optional. Filters by bid type. By default no filtering is applied. (optional)campaignStatus - Optional. Filters by campaign status. By default no filtering is applied. (optional)pendingChanges - Optional. Filters only pending changes or settled ones. By default no filtering is applied. (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 object| Status Code | Description | Response Headers |
| 200 | Bids returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | There is not even one valid advertiserId or campaignId requested. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call getCategoriesCall(java.lang.Integer campaignId,
java.lang.Boolean enabledOnly,
ApiCallback _callback)
throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)enabledOnly - Optional. Returns only categories you can bid on. Defaults to false. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Categories returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested campaign was not found. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public CategoryMessage getCategories(java.lang.Integer campaignId, java.lang.Boolean enabledOnly) throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)enabledOnly - Optional. Returns only categories you can bid on. Defaults to false. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Categories returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested campaign was not found. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public ApiResponse<CategoryMessage> getCategoriesWithHttpInfo(java.lang.Integer campaignId, java.lang.Boolean enabledOnly) throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)enabledOnly - Optional. Returns only categories you can bid on. Defaults to false. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Categories returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested campaign was not found. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call getCategoriesAsync(java.lang.Integer campaignId,
java.lang.Boolean enabledOnly,
ApiCallback<CategoryMessage> _callback)
throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)enabledOnly - Optional. Returns only categories you can bid on. Defaults to false. (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 object| Status Code | Description | Response Headers |
| 200 | Categories returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested campaign was not found. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call getCategoryCall(java.lang.Integer campaignId,
java.lang.Integer categoryHashCode,
ApiCallback _callback)
throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)categoryHashCode - Mandatory. The id of the category to return. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Category returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested category was not found for the campaign. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public CategoryMessage getCategory(java.lang.Integer campaignId, java.lang.Integer categoryHashCode) throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)categoryHashCode - Mandatory. The id of the category to return. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Category returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested category was not found for the campaign. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public ApiResponse<CategoryMessage> getCategoryWithHttpInfo(java.lang.Integer campaignId, java.lang.Integer categoryHashCode) throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)categoryHashCode - Mandatory. The id of the category to return. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Category returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested category was not found for the campaign. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call getCategoryAsync(java.lang.Integer campaignId,
java.lang.Integer categoryHashCode,
ApiCallback<CategoryMessage> _callback)
throws ApiException
campaignId - Mandatory. The id of the campaign the categories are linked to. (required)categoryHashCode - Mandatory. The id of the category to return. (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 object| Status Code | Description | Response Headers |
| 200 | Category returned OK. | - |
| 401 | Authentication failed. | - |
| 403 | One of the requested campaigns doesn't belong to the API user's portfolio which prevents from accessing its data. | - |
| 404 | The requested category was not found for the campaign. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call patchAdSetsCall(RequestsPatchAdSet requestsPatchAdSet, ApiCallback _callback) throws ApiException
requestsPatchAdSet - List of adsets to patch. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List of patched adSets. | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public ResponseAdSetId patchAdSets(RequestsPatchAdSet requestsPatchAdSet) throws ApiException
requestsPatchAdSet - List of adsets to patch. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List of patched adSets. | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public ApiResponse<ResponseAdSetId> patchAdSetsWithHttpInfo(RequestsPatchAdSet requestsPatchAdSet) throws ApiException
requestsPatchAdSet - List of adsets to patch. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List of patched adSets. | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public okhttp3.Call patchAdSetsAsync(RequestsPatchAdSet requestsPatchAdSet, ApiCallback<ResponseAdSetId> _callback) throws ApiException
requestsPatchAdSet - List of adsets to patch. (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 object| Status Code | Description | Response Headers |
| 200 | List of patched adSets. | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | The API client is not authorized to access this resource or the resource does not exist. | - |
public okhttp3.Call searchAdSetsCall(RequestAdSetSearch requestAdSetSearch, ApiCallback _callback) throws ApiException
requestAdSetSearch - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | data for the ad sets | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | Forbidden | - |
public ResponsesReadAdSet searchAdSets(RequestAdSetSearch requestAdSetSearch) throws ApiException
requestAdSetSearch - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | data for the ad sets | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | Forbidden | - |
public ApiResponse<ResponsesReadAdSet> searchAdSetsWithHttpInfo(RequestAdSetSearch requestAdSetSearch) throws ApiException
requestAdSetSearch - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | data for the ad sets | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | Forbidden | - |
public okhttp3.Call searchAdSetsAsync(RequestAdSetSearch requestAdSetSearch, ApiCallback<ResponsesReadAdSet> _callback) throws ApiException
requestAdSetSearch - (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 object| Status Code | Description | Response Headers |
| 200 | data for the ad sets | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
| 403 | Forbidden | - |
public okhttp3.Call startAdSetsCall(RequestsAdSetId requestsAdSetId, ApiCallback _callback) throws ApiException
requestsAdSetId - All the ad sets to start (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been started and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public ResponsesAdSetId startAdSets(RequestsAdSetId requestsAdSetId) throws ApiException
requestsAdSetId - All the ad sets to start (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been started and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public ApiResponse<ResponsesAdSetId> startAdSetsWithHttpInfo(RequestsAdSetId requestsAdSetId) throws ApiException
requestsAdSetId - All the ad sets to start (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been started and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public okhttp3.Call startAdSetsAsync(RequestsAdSetId requestsAdSetId, ApiCallback<ResponsesAdSetId> _callback) throws ApiException
requestsAdSetId - All the ad sets to start (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 object| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been started and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public okhttp3.Call stopAdSetsCall(RequestsAdSetId requestsAdSetId, ApiCallback _callback) throws ApiException
requestsAdSetId - All the ad sets to stop (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been stopped and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public ResponsesAdSetId stopAdSets(RequestsAdSetId requestsAdSetId) throws ApiException
requestsAdSetId - All the ad sets to stop (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been stopped and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public ApiResponse<ResponsesAdSetId> stopAdSetsWithHttpInfo(RequestsAdSetId requestsAdSetId) throws ApiException
requestsAdSetId - All the ad sets to stop (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been stopped and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public okhttp3.Call stopAdSetsAsync(RequestsAdSetId requestsAdSetId, ApiCallback<ResponsesAdSetId> _callback) throws ApiException
requestsAdSetId - All the ad sets to stop (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 object| Status Code | Description | Response Headers |
| 200 | List of ad sets that have been stopped and errors / warnings by ad set | - |
| 400 | Bad Request | - |
| 401 | The API client is not properly authenticated. | - |
public okhttp3.Call updateBidsCall(java.util.List<CampaignBidChangeRequest> bidChanges, ApiCallback _callback) throws ApiException
bidChanges - Specifies the list of bid changes to be applied. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Campaign bids updated OK. | - |
| 400 | Invalid input. Please check returned message for details. | - |
| 401 | Authentication failed. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public java.util.List<CampaignMessage> updateBids(java.util.List<CampaignBidChangeRequest> bidChanges) throws ApiException
bidChanges - Specifies the list of bid changes to be applied. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Campaign bids updated OK. | - |
| 400 | Invalid input. Please check returned message for details. | - |
| 401 | Authentication failed. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public ApiResponse<java.util.List<CampaignMessage>> updateBidsWithHttpInfo(java.util.List<CampaignBidChangeRequest> bidChanges) throws ApiException
bidChanges - Specifies the list of bid changes to be applied. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Campaign bids updated OK. | - |
| 400 | Invalid input. Please check returned message for details. | - |
| 401 | Authentication failed. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
public okhttp3.Call updateBidsAsync(java.util.List<CampaignBidChangeRequest> bidChanges, ApiCallback<java.util.List<CampaignMessage>> _callback) throws ApiException
bidChanges - Specifies the list of bid changes to be applied. (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 object| Status Code | Description | Response Headers |
| 200 | Campaign bids updated OK. | - |
| 400 | Invalid input. Please check returned message for details. | - |
| 401 | Authentication failed. | - |
| 429 | Throttling failure. Maximum sending rate exceeded. | - |
| 500 | Unknown error. | - |
Copyright © 2021. All rights reserved.