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.v201711.AdUnit> adUnits)
Update a list of Ad Units
|
List<Long> |
updateCompanies(List<com.google.api.ads.dfp.axis.v201711.Company> companies)
Update a list of Companies
|
List<Long> |
updateContacts(List<com.google.api.ads.dfp.axis.v201711.Contact> contacts)
Update a list of contacts
|
List<Long> |
updateLineItems(List<com.google.api.ads.dfp.axis.v201711.LineItem> lineItems)
Update a list of Line Items
|
List<Long> |
updateOrders(List<com.google.api.ads.dfp.axis.v201711.Order> orders)
Update a list of Orders
|
List<Long> |
updateUsers(List<com.google.api.ads.dfp.axis.v201711.User> users)
Update a list of Users
|
public UpdateMethods(AbstractConfig connectionStrategy)
public List<String> updateAdUnits(List<com.google.api.ads.dfp.axis.v201711.AdUnit> adUnits) throws DfpApiException, DfpCommunicationException
adUnits
- The Ad Units for updateDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<Long> updateCompanies(List<com.google.api.ads.dfp.axis.v201711.Company> companies) throws DfpApiException, DfpCommunicationException
companies
- The Companies for updateDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<Long> updateContacts(List<com.google.api.ads.dfp.axis.v201711.Contact> contacts) throws DfpApiException, DfpCommunicationException
contacts
- The contacts for updateDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<Long> updateLineItems(List<com.google.api.ads.dfp.axis.v201711.LineItem> lineItems) throws DfpApiException, DfpCommunicationException
lineItems
- The Line Items for updateDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<Long> updateOrders(List<com.google.api.ads.dfp.axis.v201711.Order> orders) throws DfpApiException, DfpCommunicationException
orders
- The Orders for updateDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<Long> updateUsers(List<com.google.api.ads.dfp.axis.v201711.User> users) throws DfpApiException, DfpCommunicationException
users
- The Users for updateDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)Copyright © 2010–2018. All rights reserved.