public final class AdGroupCriterionDelegate extends AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion,com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionOperation,com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionServiceInterface>
AdGroupCriterion.
Implementation is not thread-safe, because AdWordsSession and Apache Axis service objects are not thread-safe.
| Constructor and Description |
|---|
AdGroupCriterionDelegate(AdWordsSession adWordsSession,
boolean includeBetaFields)
Default Constructor.
|
AdGroupCriterionDelegate(AdWordsSession adWordsSession,
List<SelectorFields.AdGroupCriterion> selectorFields)
Constructor with custom fields.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupId(List<Long> adGroupIds)
Retrieves AdGroupCriterions by adGroupIds.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupId(Long adGroupId)
Retrieves AdGroupCriterions by adGroupId.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupId(Long adGroupId,
int startIndex,
int numberResults)
Retrieves AdGroupCriterions by adGroupId in the range (startIndex, numberResults).
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupIdCriterionId(Long adGroupId,
Long criterionId)
Retrieves AdGroupCriterions by adGroupId and criterionId (criterionId is not unique by itself).
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupIdCriterionType(Long adGroupId,
com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by adGroupId and CriterionType.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupIdCriterionUse(Long adGroupId,
com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse)
Retrieves AdGroupCriterions by adGroupId and CriterionUse.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByAdGroupIdCriterionUseCriterionType(Long adGroupId,
com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse,
com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by CriterionUse and CriterionType.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByCriterionType(com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by CriterionType.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByCriterionUse(com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse)
Retrieves AdGroupCriterions by CriterionUse.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByCriterionUseCriterionType(com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse,
com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by CriterionUse and CriterionType.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> |
getByLabelIds(List<Long> labelIds)
Retrieves AdGroupCriterions by labelIds.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel |
insertAdGroupCriterionLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel adGroupCriterionLabel)
Creates a link (AdGroupCriterionLabel) between AdGroupCriterions and Labels.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> |
insertAdGroupCriterionLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> adGroupCriterionLabels)
Creates a link (AdGroupCriterionLabel) between AdGroupCriterions and Labels.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel |
removeAdGroupCriterionLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel adGroupCriterionLabel)
Removes a link (AdGroupCriterionLabel) between AdGroupCriterions and Labels.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> |
removeAdGroupCriterionLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> adGroupCriterionLabels)
Removes a link (AdGroupCriterionLabel) between AdGroupCriterions and Labels.
|
insert, insert, mutate, remove, remove, update, updatecreateSelectorBuilder, get, get, get, getByField, getByField, getByField, getByField, getByFieldContainsAny, getClassT, getOneByField, getPage, setGetMethodNamegetAdWordsSession, getServicepublic AdGroupCriterionDelegate(AdWordsSession adWordsSession, boolean includeBetaFields)
adWordsSession - the adWordsSession to use with the delegate/servicepublic AdGroupCriterionDelegate(AdWordsSession adWordsSession, List<SelectorFields.AdGroupCriterion> selectorFields)
adWordsSession - the adWordsSession to use with the delegate/serviceselectorFields - for the Generic Selectors using the SelectorField classpublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupIdCriterionId(Long adGroupId, Long criterionId) throws RemoteException
adGroupId - the Id of the AdGroupcriterionId - the Id of the CriterionRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupId(List<Long> adGroupIds) throws RemoteException
adGroupIds - the Ids of the AdGroupRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupId(Long adGroupId) throws RemoteException
adGroupId - the Id of the AdGroupRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupId(Long adGroupId, int startIndex, int numberResults) throws RemoteException
adGroupId - the Id of the AdGroupstartIndex - index of the first resultnumberResults - number of resultsRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByCriterionUse(com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse) throws RemoteException
criterionUse - CriterionUseRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByCriterionType(com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType) throws RemoteException
criterionType - CriterionTypeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByCriterionUseCriterionType(com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse, com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType) throws RemoteException
criterionUse - CriterionUsecriterionType - CriterionTypeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupIdCriterionUse(Long adGroupId, com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse) throws RemoteException
adGroupId - the Id of the AdGroupcriterionUse - CriterionUseRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupIdCriterionType(Long adGroupId, com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType) throws RemoteException
adGroupId - the Id of the AdGroupcriterionType - CriterionTypeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByAdGroupIdCriterionUseCriterionType(Long adGroupId, com.google.api.ads.adwords.axis.v201409.cm.CriterionUse criterionUse, com.google.api.ads.adwords.axis.v201409.cm.CriterionType criterionType) throws RemoteException
adGroupId - the Id of the AdGroupcriterionUse - CriterionUsecriterionType - CriterionTypeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterion> getByLabelIds(List<Long> labelIds) throws RemoteException
labelIds - the Id of the Labels to retrieve the AdGroupCriterionsRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> insertAdGroupCriterionLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> adGroupCriterionLabels) throws RemoteException
adGroupCriterionLabels - the AdGroupCriterionLabels to addRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel insertAdGroupCriterionLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel adGroupCriterionLabel)
throws RemoteException
adGroupCriterionLabel - the AdGroupCriterionLabel to addRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> removeAdGroupCriterionLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel> adGroupCriterionLabels) throws RemoteException
adGroupCriterionLabels - the AdGroupCriterionLabels to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel removeAdGroupCriterionLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupCriterionLabel adGroupCriterionLabel)
throws RemoteException
adGroupCriterionLabel - the AdGroupCriterionLabel to removeRemoteException - for communication-related exceptionsCopyright © 2015. All Rights Reserved.