public class CreateMethods extends Object
| Constructor and Description |
|---|
CreateMethods(AbstractConfig connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
createAdUnits(List<com.google.api.ads.dfp.axis.v201805.AdUnit> adUnits)
Create a list of Ad Units.
|
List<Long> |
createCompanies(List<com.google.api.ads.dfp.axis.v201805.Company> companies)
Create a list of Companies.
|
List<Long> |
createContacts(List<com.google.api.ads.dfp.axis.v201805.Contact> contacts)
Create a list of Contacts.
|
List<Long> |
createLineItems(List<com.google.api.ads.dfp.axis.v201805.LineItem> lineItems)
Create a list of Line Items
|
List<Long> |
createOrders(List<com.google.api.ads.dfp.axis.v201805.Order> orders)
Create a list of Orders.
|
List<Long> |
createUsers(List<com.google.api.ads.dfp.axis.v201805.User> users)
Create a list of Users.
|
public CreateMethods(AbstractConfig connectionStrategy)
public List<String> createAdUnits(List<com.google.api.ads.dfp.axis.v201805.AdUnit> adUnits) throws AdManagerApiException, AdManagerCommunicationException
adUnits - The Ad Units to createAdManagerApiException - 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> createCompanies(List<com.google.api.ads.dfp.axis.v201805.Company> companies) throws AdManagerApiException, AdManagerCommunicationException
companies - The Companies for createAdManagerApiException - 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> createContacts(List<com.google.api.ads.dfp.axis.v201805.Contact> contacts) throws AdManagerApiException, AdManagerCommunicationException
contacts - The contacts for createAdManagerApiException - 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> createLineItems(List<com.google.api.ads.dfp.axis.v201805.LineItem> lineItems) throws AdManagerApiException, AdManagerCommunicationException
lineItems - The Line Items for createAdManagerApiException - 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> createOrders(List<com.google.api.ads.dfp.axis.v201805.Order> orders) throws AdManagerApiException, AdManagerCommunicationException
orders - The Orders for createAdManagerApiException - 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> createUsers(List<com.google.api.ads.dfp.axis.v201805.User> users) throws AdManagerApiException, AdManagerCommunicationException
users - The Users for createAdManagerApiException - 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.