public final class AdGroupCriterionDelegate extends AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion,com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterionOperation,com.google.api.ads.adwords.axis.v201309.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,
com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterionServiceInterface service,
boolean includeBetaFields)
Constructor with custom service.
|
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.v201309.cm.AdGroupCriterion> |
getByAdGroupId(List<Long> adGroupIds)
Retrieves AdGroupCriterions by adGroupIds.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> |
getByAdGroupId(Long adGroupId)
Retrieves AdGroupCriterions by adGroupId.
|
List<com.google.api.ads.adwords.axis.v201309.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.v201309.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.v201309.cm.AdGroupCriterion> |
getByAdGroupIdCriterionType(Long adGroupId,
com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by adGroupId and CriterionType.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> |
getByAdGroupIdCriterionUse(Long adGroupId,
com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse)
Retrieves AdGroupCriterions by adGroupId and CriterionUse.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> |
getByAdGroupIdCriterionUseCriterionType(Long adGroupId,
com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse,
com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by CriterionUse and CriterionType.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> |
getByCriterionType(com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by CriterionType.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> |
getByCriterionUse(com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse)
Retrieves AdGroupCriterions by CriterionUse.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> |
getByCriterionUseCriterionType(com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse,
com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType)
Retrieves AdGroupCriterions by CriterionUse and CriterionType.
|
insert, insert, mutate, remove, remove, update, update
createSelectorMultipleFields, get, get, get, get, getByField, getByField, getByField, getByField, getClassT, getOneByField, getPage, setGetMethodName
getAdWordsSession, getService
public AdGroupCriterionDelegate(AdWordsSession adWordsSession, boolean includeBetaFields)
adWordsSession
- the adWordsSession
to use with the delegate/servicepublic AdGroupCriterionDelegate(AdWordsSession adWordsSession, com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterionServiceInterface service, boolean includeBetaFields)
adWordsSession
- the adWordsSession
to use with the delegate/serviceservice
- the custom service class for the SOAP 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.v201309.cm.AdGroupCriterion> getByAdGroupIdCriterionId(Long adGroupId, Long criterionId) throws RemoteException
adGroupId
- criterionId
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByAdGroupId(List<Long> adGroupIds) throws RemoteException
adGroupIds
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByAdGroupId(Long adGroupId) throws RemoteException
adGroupId
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByAdGroupId(Long adGroupId, int startIndex, int numberResults) throws RemoteException
adGroupId
- startIndex
- index of the first resultnumberResults
- number of resultsRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByCriterionUse(com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse) throws RemoteException
criterionUse
- CriterionUse
RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByCriterionType(com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType) throws RemoteException
criterionType
- CriterionType
RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByCriterionUseCriterionType(com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse, com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType) throws RemoteException
criterionUse
- CriterionUse
criterionType
- CriterionType
RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByAdGroupIdCriterionUse(Long adGroupId, com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse) throws RemoteException
adGroupId
- criterionUse
- CriterionUse
RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByAdGroupIdCriterionType(Long adGroupId, com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType) throws RemoteException
adGroupId
- criterionType
- CriterionType
RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupCriterion> getByAdGroupIdCriterionUseCriterionType(Long adGroupId, com.google.api.ads.adwords.axis.v201309.cm.CriterionUse criterionUse, com.google.api.ads.adwords.axis.v201309.cm.CriterionType criterionType) throws RemoteException
adGroupId
- criterionUse
- CriterionUse
criterionType
- CriterionType
RemoteException
- for communication-related exceptionsCopyright © 2014. All Rights Reserved.