public class CreateMethods extends CreateMethods
| Constructor and Description |
|---|
CreateMethods(AbstractConfig connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
createCustomFieldOptions(List<com.google.api.ads.dfp.axis.v201805.CustomFieldOption> customFieldOptions)
Creates a list of new CustomFieldOption objects.
|
List<Long> |
createCustomFields(List<com.google.api.ads.dfp.axis.v201805.CustomField> customFields)
Creates a list of new CustomField objects.
|
List<Long> |
createCustomTargetingKeys(List<com.google.api.ads.dfp.axis.v201805.CustomTargetingKey> customTargetingKeys)
Create a list of Custom Targeting Keys.
|
List<Long> |
createCustomTargetingValues(List<com.google.api.ads.dfp.axis.v201805.CustomTargetingValue> customTargetingValues)
Create a list of Custom Targeting Values
|
List<Long> |
createPlacements(List<com.google.api.ads.dfp.axis.v201805.Placement> placements)
Create a list of Placements.
|
createAdUnits, createCompanies, createContacts, createLineItems, createOrders, createUserspublic CreateMethods(AbstractConfig connectionStrategy)
public List<Long> createCustomFieldOptions(List<com.google.api.ads.dfp.axis.v201805.CustomFieldOption> customFieldOptions) throws AdManagerApiException, AdManagerCommunicationException
customFieldOptions - the CustomFieldOptions to createAdManagerCommunicationException - 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> createCustomFields(List<com.google.api.ads.dfp.axis.v201805.CustomField> customFields) throws AdManagerApiException, AdManagerCommunicationException
customFields - the CustomFields to createAdManagerCommunicationException - 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> createCustomTargetingKeys(List<com.google.api.ads.dfp.axis.v201805.CustomTargetingKey> customTargetingKeys) throws AdManagerApiException, AdManagerCommunicationException
customTargetingKeys - The CustomTargetingKeys for createAdManagerCommunicationException - 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> createCustomTargetingValues(List<com.google.api.ads.dfp.axis.v201805.CustomTargetingValue> customTargetingValues) throws AdManagerApiException, AdManagerCommunicationException
customTargetingValues - The CustomTargetingValues for createAdManagerCommunicationException - 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> createPlacements(List<com.google.api.ads.dfp.axis.v201805.Placement> placements) throws AdManagerApiException, AdManagerCommunicationException
placements - The Placements for createAdManagerCommunicationException - 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.