public class UpdateMethods extends Object
| Constructor and Description |
|---|
UpdateMethods(AbstractConfig connectionStrategy)
Initialise the update methods with the specified connection strategy.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
updateAdUnits(List<com.google.api.ads.admanager.axis.v201902.AdUnit> adUnits)
Update a list of Ad Units.
|
List<Long> |
updateCompanies(List<com.google.api.ads.admanager.axis.v201902.Company> companies)
Update a list of Companies.
|
List<Long> |
updateContacts(List<com.google.api.ads.admanager.axis.v201902.Contact> contacts)
Update a list of Contacts.
|
List<Long> |
updateCustomFieldOptions(List<com.google.api.ads.admanager.axis.v201902.CustomFieldOption> customFieldOptions)
Update a list of CustomFieldOptions.
|
List<Long> |
updateCustomFields(List<com.google.api.ads.admanager.axis.v201902.CustomField> customFields)
Update a list of CustomFields.
|
List<Long> |
updateCustomTargetingKeys(List<com.google.api.ads.admanager.axis.v201902.CustomTargetingKey> customTargetingKeys)
Update a list of Custom Targeting Keys.
|
List<Long> |
updateCustomTargetingValues(List<com.google.api.ads.admanager.axis.v201902.CustomTargetingValue> customTargetingValues)
Update a list of Custom Targeting Values.
|
List<Long> |
updateLineItems(List<com.google.api.ads.admanager.axis.v201902.LineItem> lineItems)
Update a list of Line Items.
|
List<Long> |
updateOrders(List<com.google.api.ads.admanager.axis.v201902.Order> orders)
Update a list of Orders.
|
List<Long> |
updatePlacements(List<com.google.api.ads.admanager.axis.v201902.Placement> placements)
Update a list of Placements.
|
List<Long> |
updateUsers(List<com.google.api.ads.admanager.axis.v201902.User> users)
Update a list of Users.
|
public UpdateMethods(AbstractConfig connectionStrategy)
connectionStrategy - the connection strategy used to connect to the APIpublic List<String> updateAdUnits(List<com.google.api.ads.admanager.axis.v201902.AdUnit> adUnits) throws AdManagerApiException, AdManagerCommunicationException
adUnits - The Ad Units for updateAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateCompanies(List<com.google.api.ads.admanager.axis.v201902.Company> companies) throws AdManagerApiException, AdManagerCommunicationException
companies - the Companies for updateAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateContacts(List<com.google.api.ads.admanager.axis.v201902.Contact> contacts) throws AdManagerApiException, AdManagerCommunicationException
contacts - the contacts for updateAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateLineItems(List<com.google.api.ads.admanager.axis.v201902.LineItem> lineItems) throws AdManagerApiException, AdManagerCommunicationException
lineItems - the Line Items for updateAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateOrders(List<com.google.api.ads.admanager.axis.v201902.Order> orders) throws AdManagerApiException, AdManagerCommunicationException
orders - the Orders for updateAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateUsers(List<com.google.api.ads.admanager.axis.v201902.User> users) throws AdManagerApiException, AdManagerCommunicationException
users - the Users for updateAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<Long> updateCustomFieldOptions(List<com.google.api.ads.admanager.axis.v201902.CustomFieldOption> customFieldOptions) throws AdManagerApiException, AdManagerCommunicationException
customFieldOptions - the CustomFieldOptions for updateAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)AdManagerApiException - if there is a problem with the request made to the API.public List<Long> updateCustomFields(List<com.google.api.ads.admanager.axis.v201902.CustomField> customFields) throws AdManagerApiException, AdManagerCommunicationException
customFields - the CustomFields for updateAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)AdManagerApiException - if there is a problem with the request made to the API.public List<Long> updateCustomTargetingKeys(List<com.google.api.ads.admanager.axis.v201902.CustomTargetingKey> customTargetingKeys) throws AdManagerApiException, AdManagerCommunicationException
customTargetingKeys - the Custom Targeting Keys for updateAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)AdManagerApiException - if there is a problem with the request made to the API.public List<Long> updateCustomTargetingValues(List<com.google.api.ads.admanager.axis.v201902.CustomTargetingValue> customTargetingValues) throws AdManagerApiException, AdManagerCommunicationException
customTargetingValues - the Custom Targeting Values for updateAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)AdManagerApiException - if there is a problem with the request made to the API.public List<Long> updatePlacements(List<com.google.api.ads.admanager.axis.v201902.Placement> placements) throws AdManagerApiException, AdManagerCommunicationException
placements - the Placements for updateAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)AdManagerApiException - if there is a problem with the request made to the API.Copyright © 2010–2019. All rights reserved.