public final class LabelDelegate extends AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201409.cm.Label,com.google.api.ads.adwords.axis.v201409.cm.LabelOperation,com.google.api.ads.adwords.axis.v201409.cm.LabelServiceInterface>
Label.
Implementation is not thread-safe, because AdWordsSession and Apache Axis service objects are not thread-safe.
| Constructor and Description |
|---|
LabelDelegate(AdWordsSession adWordsSession)
Default Constructor.
|
LabelDelegate(AdWordsSession adWordsSession,
List<SelectorFields.Label> selectorFields)
Constructor with custom fields.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.google.api.ads.adwords.axis.v201409.cm.Label> |
getByLabelId(List<Long> labelIds)
Retrieves Labels by labelIds.
|
com.google.api.ads.adwords.axis.v201409.cm.Label |
getByLabelId(Long labelId)
Retrieves a Label by labelId.
|
List<com.google.api.ads.adwords.axis.v201409.cm.Label> |
getByName(String name)
Retrieves Labels by name.
|
List<com.google.api.ads.adwords.axis.v201409.cm.Label> |
getByStatus(com.google.api.ads.adwords.axis.v201409.cm.LabelStatus status)
Retrieves Labels by status.
|
insert, insert, mutate, remove, remove, update, updatecreateSelectorBuilder, get, get, get, getByField, getByField, getByField, getByField, getByFieldContainsAny, getClassT, getOneByField, getPage, setGetMethodNamegetAdWordsSession, getServicepublic LabelDelegate(AdWordsSession adWordsSession)
adWordsSession - the adWordsSession to use with the delegate/servicepublic LabelDelegate(AdWordsSession adWordsSession, List<SelectorFields.Label> 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.Label> getByLabelId(List<Long> labelIds) throws RemoteException
labelIds - RemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.Label getByLabelId(Long labelId) throws RemoteException
labelId - RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.Label> getByStatus(com.google.api.ads.adwords.axis.v201409.cm.LabelStatus status) throws RemoteException
status - RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.Label> getByName(String name) throws RemoteException
name - RemoteException - for communication-related exceptionsCopyright © 2015. All Rights Reserved.