public final class LocationCriterionDelegate extends AbstractGetDelegate<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion,com.google.api.ads.adwords.axis.v201409.cm.LocationCriterionServiceInterface>
LocationCriterion
.
Implementation is not thread-safe, because AdWordsSession and Apache Axis service objects are not thread-safe.
Constructor and Description |
---|
LocationCriterionDelegate(AdWordsSession adWordsSession)
Default Constructor.
|
LocationCriterionDelegate(AdWordsSession adWordsSession,
List<SelectorFields.LocationCriterion> selectorFields)
Constructor with custom fields.
|
Modifier and Type | Method and Description |
---|---|
List<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion> |
get(com.google.api.ads.adwords.axis.v201409.cm.Selector selector)
Retrieves all LocationCriterion for the ManagedCustomer associate with the adWordsSession.
|
List<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion> |
getById(List<Long> locationCriterionIds)
Retrieves LocationCriterion by locationCriterionIds.
|
com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion |
getById(Long locationCriterionId)
Retrieves LocationCriterion by locationCriterionId.
|
List<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion> |
getByLocationName(String locationName)
Retrieves LocationCriterion by locationName.
|
createSelectorBuilder, get, get, getByField, getByField, getByField, getByField, getByFieldContainsAny, getClassT, getOneByField, getPage, setGetMethodName
getAdWordsSession, getService
public LocationCriterionDelegate(AdWordsSession adWordsSession)
adWordsSession
- the adWordsSession
to use with the delegate/servicepublic LocationCriterionDelegate(AdWordsSession adWordsSession, List<SelectorFields.LocationCriterion> 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.LocationCriterion> get(com.google.api.ads.adwords.axis.v201409.cm.Selector selector) throws RemoteException
get
in class AbstractGetDelegate<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion,com.google.api.ads.adwords.axis.v201409.cm.LocationCriterionServiceInterface>
selector
- should be a Generic Selector
(com.google.api.adwords.v201409.cm.Selector) or a specific
Selector appropriate to the ServiceInterface used that does not
support Generic SelectorsRemoteException
- for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion getById(Long locationCriterionId) throws RemoteException
locationCriterionId
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion> getById(List<Long> locationCriterionIds) throws RemoteException
locationCriterionIds
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.LocationCriterion> getByLocationName(String locationName) throws RemoteException
locationName
- RemoteException
- for communication-related exceptionsCopyright © 2015. All Rights Reserved.