public class UpdateMethods extends Object
Constructor and Description |
---|
UpdateMethods(AbstractConfig connectionStrategy) |
Modifier and Type | Method and Description |
---|---|
List<String> |
updateAdUnits(List<com.google.api.ads.dfp.axis.v201805.AdUnit> adUnits)
Update a list of Ad Units.
|
List<Long> |
updateCompanies(List<com.google.api.ads.dfp.axis.v201805.Company> companies)
Update a list of Companies.
|
List<Long> |
updateContacts(List<com.google.api.ads.dfp.axis.v201805.Contact> contacts)
Update a list of Contacts.
|
List<Long> |
updateLineItems(List<com.google.api.ads.dfp.axis.v201805.LineItem> lineItems)
Update a list of Line Items.
|
List<Long> |
updateOrders(List<com.google.api.ads.dfp.axis.v201805.Order> orders)
Update a list of Orders.
|
List<Long> |
updateUsers(List<com.google.api.ads.dfp.axis.v201805.User> users)
Update a list of Users.
|
public UpdateMethods(AbstractConfig connectionStrategy)
public List<String> updateAdUnits(List<com.google.api.ads.dfp.axis.v201805.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.dfp.axis.v201805.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.dfp.axis.v201805.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.dfp.axis.v201805.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.dfp.axis.v201805.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.dfp.axis.v201805.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.)Copyright © 2010–2019. All rights reserved.