public class CustomFieldService extends Object
| Constructor and Description |
|---|
CustomFieldService() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
createCustomFieldOptions(com.google.api.ads.admanager.lib.client.AdManagerSession session,
List<com.google.api.ads.admanager.axis.v201902.CustomFieldOption> customFieldOptionsToCreate)
Creates the specified CustomFieldOptions.
|
List<Long> |
createCustomFields(com.google.api.ads.admanager.lib.client.AdManagerSession session,
List<com.google.api.ads.admanager.axis.v201902.CustomField> customFieldsToCreate)
Creates the specified CustomFields.
|
protected com.google.api.ads.admanager.axis.v201902.CustomFieldServiceInterface |
createCustomFieldService(com.google.api.ads.admanager.lib.client.AdManagerSession session) |
com.google.api.ads.admanager.axis.v201902.CustomFieldOption |
getCustomFieldOption(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long id)
Retrieves the specified CustomFieldOption.
|
List<com.google.api.ads.admanager.axis.v201902.CustomField> |
getCustomFields(com.google.api.ads.admanager.lib.client.AdManagerSession session,
String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieves a list of filtered CustomFields.
|
Integer |
performCustomFieldsAction(com.google.api.ads.admanager.lib.client.AdManagerSession session,
String customFieldActionString,
String queryString,
Map<String,Object> queryParams)
Performs the specified CustomField action.
|
List<Long> |
updateCustomFieldOptions(com.google.api.ads.admanager.lib.client.AdManagerSession session,
List<com.google.api.ads.admanager.axis.v201902.CustomFieldOption> customFieldOptionsToUpdate)
Updates the respective CustomFieldOptions.
|
List<Long> |
updateCustomFields(com.google.api.ads.admanager.lib.client.AdManagerSession session,
List<com.google.api.ads.admanager.axis.v201902.CustomField> customFieldsToUpdate)
Updates the respective Custom Fields.
|
protected com.google.api.ads.admanager.axis.v201902.CustomFieldServiceInterface createCustomFieldService(com.google.api.ads.admanager.lib.client.AdManagerSession session)
public com.google.api.ads.admanager.axis.v201902.CustomFieldOption getCustomFieldOption(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long id)
throws AdManagerApiException,
AdManagerCommunicationException
session - the API sessionid - the Custom Field Option IDCustomFieldOption for the respective IDAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> createCustomFieldOptions(com.google.api.ads.admanager.lib.client.AdManagerSession session, List<com.google.api.ads.admanager.axis.v201902.CustomFieldOption> customFieldOptionsToCreate) throws AdManagerApiException, AdManagerCommunicationException
session - the API sessioncustomFieldOptionsToCreate - list of CustomFieldOptionsList<Long> list of created CustomFieldOptions IDsAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> createCustomFields(com.google.api.ads.admanager.lib.client.AdManagerSession session, List<com.google.api.ads.admanager.axis.v201902.CustomField> customFieldsToCreate) throws AdManagerApiException, AdManagerCommunicationException
session - the API sessioncustomFieldsToCreate - the CustomFields to createList<Long> list of created CustomField IDsAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<com.google.api.ads.admanager.axis.v201902.CustomField> getCustomFields(com.google.api.ads.admanager.lib.client.AdManagerSession session, String queryString, Map<String,Object> queryParams, String queryOrder, Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
session - the API sessionqueryString - the queryqueryParams - the query parametersqueryOrder - the orderqueryOffset - the offsetList<CustomField> list of filtered CustomFieldsAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public Integer performCustomFieldsAction(com.google.api.ads.admanager.lib.client.AdManagerSession session, String customFieldActionString, String queryString, Map<String,Object> queryParams) throws AdManagerException
session - the API sessioncustomFieldActionString - containing the action namequeryString - the queryqueryParams - the query parametersInteger number of affected records.AdManagerException - AdManagerApiException if there is a problem with the
request made to the API. AdManagerCommunicationException
if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateCustomFieldOptions(com.google.api.ads.admanager.lib.client.AdManagerSession session, List<com.google.api.ads.admanager.axis.v201902.CustomFieldOption> customFieldOptionsToUpdate) throws AdManagerApiException, AdManagerCommunicationException
session - the API sessioncustomFieldOptionsToUpdate - list of CustomFieldOptions to updateList<Long> list of updated CustomFieldOptions IDsAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateCustomFields(com.google.api.ads.admanager.lib.client.AdManagerSession session, List<com.google.api.ads.admanager.axis.v201902.CustomField> customFieldsToUpdate) throws AdManagerApiException, AdManagerCommunicationException
session - the API sessioncustomFieldsToUpdate - list of CustomFields to updateList<Long> list of updated CustomFields IDsAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)Copyright © 2010–2019. All rights reserved.