public final class AdGroupAdDelegate extends AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd,com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdOperation,com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdServiceInterface>
AdGroupAd
.Constructor and Description |
---|
AdGroupAdDelegate(AdWordsSession adWordsSession)
Default Constructor.
|
AdGroupAdDelegate(AdWordsSession adWordsSession,
List<SelectorFields.AdGroupAd> selectorFields)
Constructor with custom fields.
|
Modifier and Type | Method and Description |
---|---|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> |
getByAdGroupId(List<Long> adGroupIds)
Retrieves AdGroupAds by adGroupIds.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> |
getByAdGroupId(Long adGroupId)
Retrieves AdGroupAds by adGroupId.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> |
getByAdGroupId(Long adGroupId,
int startIndex,
int numberResults)
Retrieves AdGroupAds by adGroupId.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd |
getByAdId(Long adId)
Retrieves AdGroupAds by adIds.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> |
getByLabelIds(List<Long> labelIds)
Retrieves AdGroupAds by labelIds.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel |
insertAdGroupAdLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel adGroupAdLabel)
Creates a link (AdGroupAdLabel) between AdGroupAds and Labels.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> |
insertAdGroupAdLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> adGroupAdLabels)
Creates a link (AdGroupAdLabel) between AdGroupAds and Labels.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel |
removeAdGroupAdLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel adGroupAdLabel)
Removes a link (AdGroupAdLabel) between AdGroupAds and Labels.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> |
removeAdGroupAdLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> adGroupAdLabels)
Removes a link (AdGroupAdLabel) between AdGroupAds and Labels.
|
insert, insert, mutate, remove, remove, update, update
createSelectorBuilder, get, get, get, getByField, getByField, getByField, getByField, getByFieldContainsAny, getClassT, getOneByField, getPage, setGetMethodName
getAdWordsSession, getService
public AdGroupAdDelegate(AdWordsSession adWordsSession)
adWordsSession
- the adWordsSession
to use with the delegate/servicepublic AdGroupAdDelegate(AdWordsSession adWordsSession, List<SelectorFields.AdGroupAd> selectorFields)
adWordsSession
- the adWordsSession
to use with the delegate/serviceselectorFields
- for the Generic Selectors using the SelectorField classpublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd getByAdId(Long adId) throws RemoteException
adId
- the Id of the Ad to retrieve the AdGroupAdRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> getByAdGroupId(List<Long> adGroupIds) throws RemoteException
adGroupIds
- the Ids of the AdGroup to retrieve the AdGroupAdsRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> getByAdGroupId(Long adGroupId) throws RemoteException
adGroupId
- the Id of the AdGroup to retrieve the AdGroupAdsRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> getByAdGroupId(Long adGroupId, int startIndex, int numberResults) throws RemoteException
adGroupId
- the Id of the AdGroup to retrieve the AdGroupAdsnumberResults
- number of resultsstartIndex
- index of the first resultRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd> getByLabelIds(List<Long> labelIds) throws RemoteException
labelIds
- the Ids of the Labels to retrieve the AdGroupAdsRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> insertAdGroupAdLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> adGroupAdLabels) throws RemoteException
adGroupAdLabels
- the AdGroupAdLabels to addRemoteException
- for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel insertAdGroupAdLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel adGroupAdLabel) throws RemoteException
adGroupAdLabel
- the AdGroupAdLabel to addRemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> removeAdGroupAdLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel> adGroupAdLabels) throws RemoteException
adGroupAdLabels
- the AdGroupAdLabels to removeRemoteException
- for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel removeAdGroupAdLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupAdLabel adGroupAdLabel) throws RemoteException
adGroupAdLabel
- the AdGroupAdLabel to removeRemoteException
- for communication-related exceptionsCopyright © 2015. All Rights Reserved.