public final class AdGroupAdDelegate extends AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd,com.google.api.ads.adwords.axis.v201309.cm.AdGroupAdOperation,com.google.api.ads.adwords.axis.v201309.cm.AdGroupAdServiceInterface>
AdGroupAd
.Constructor and Description |
---|
AdGroupAdDelegate(AdWordsSession adWordsSession)
Default Constructor.
|
AdGroupAdDelegate(AdWordsSession adWordsSession,
com.google.api.ads.adwords.axis.v201309.cm.AdGroupAdServiceInterface service)
Constructor with custom service.
|
AdGroupAdDelegate(AdWordsSession adWordsSession,
List<SelectorFields.AdGroupAd> selectorFields)
Constructor with custom fields.
|
Modifier and Type | Method and Description |
---|---|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd> |
getByAdGroupId(List<Long> adGroupIds)
Retrieves AdGroupAds by adGroupIds.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd> |
getByAdGroupId(Long adGroupId)
Retrieves AdGroupAds by adGroupId.
|
List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd> |
getByAdGroupId(Long adGroupId,
int startIndex,
int numberResults)
Retrieves AdGroupAds by adGroupId.
|
com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd |
getByAdId(Long adId)
Retrieves AdGroupAds by adIds.
|
insert, insert, mutate, remove, remove, update, update
createSelectorMultipleFields, get, get, get, get, getByField, getByField, getByField, getByField, getClassT, getOneByField, getPage, setGetMethodName
getAdWordsSession, getService
public AdGroupAdDelegate(AdWordsSession adWordsSession)
adWordsSession
- the adWordsSession
to use with the delegate/servicepublic AdGroupAdDelegate(AdWordsSession adWordsSession, com.google.api.ads.adwords.axis.v201309.cm.AdGroupAdServiceInterface service)
adWordsSession
- the adWordsSession
to use with the delegate/serviceservice
- the custom service class for the SOAP 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.v201309.cm.AdGroupAd getByAdId(Long adId) throws RemoteException
adId
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd> getByAdGroupId(List<Long> adGroupIds) throws RemoteException
adGroupIds
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd> getByAdGroupId(Long adGroupId) throws RemoteException
adGroupId
- RemoteException
- for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201309.cm.AdGroupAd> getByAdGroupId(Long adGroupId, int startIndex, int numberResults) throws RemoteException
adGroupId
- numberResults
- number of resultsstartIndex
- index of the first resultRemoteException
- for communication-related exceptionsCopyright © 2014. All Rights Reserved.