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.v201711.CustomFieldOption> customFieldOptions)
Creates a list of new CustomFieldOption objects.
|
List<Long> |
createCustomFields(List<com.google.api.ads.dfp.axis.v201711.CustomField> customFields)
Creates a list of new CustomField objects.
|
List<Long> |
createCustomTargetingKeys(List<com.google.api.ads.dfp.axis.v201711.CustomTargetingKey> customTargetingKeys)
Create a list of custom targeting keys
|
List<Long> |
createCustomTargetingValues(List<com.google.api.ads.dfp.axis.v201711.CustomTargetingValue> customTargetingValues)
Create a list of custom targeting values
|
List<Long> |
createPlacements(List<com.google.api.ads.dfp.axis.v201711.Placement> placements)
Create a list of placements
|
createAdUnits, createCompanies, createContacts, createLineItems, createOrders, createUsers
public CreateMethods(AbstractConfig connectionStrategy)
public List<Long> createCustomFieldOptions(List<com.google.api.ads.dfp.axis.v201711.CustomFieldOption> customFieldOptions) throws DfpApiException, DfpCommunicationException
customFieldOptions
- the customFieldOptions to createDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)DfpApiException
- if there is a problem with the request made to the API.public List<Long> createCustomFields(List<com.google.api.ads.dfp.axis.v201711.CustomField> customFields) throws DfpApiException, DfpCommunicationException
customFields
- the CustomFields to createDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)DfpApiException
- if there is a problem with the request made to the API.public List<Long> createCustomTargetingKeys(List<com.google.api.ads.dfp.axis.v201711.CustomTargetingKey> customTargetingKeys) throws DfpApiException, DfpCommunicationException
customTargetingKeys
- The custom targeting keys for createDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)DfpApiException
- if there is a problem with the request made to the API.public List<Long> createCustomTargetingValues(List<com.google.api.ads.dfp.axis.v201711.CustomTargetingValue> customTargetingValues) throws DfpApiException, DfpCommunicationException
customTargetingValues
- The custom targeting values for createDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)DfpApiException
- if there is a problem with the request made to the API.public List<Long> createPlacements(List<com.google.api.ads.dfp.axis.v201711.Placement> placements) throws DfpApiException, DfpCommunicationException
placements
- The placements for createDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)DfpApiException
- if there is a problem with the request made to the API.Copyright © 2010–2018. All rights reserved.