public final class AdGroupDelegate extends AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201409.cm.AdGroup,com.google.api.ads.adwords.axis.v201409.cm.AdGroupOperation,com.google.api.ads.adwords.axis.v201409.cm.AdGroupServiceInterface>
AdGroup.| Constructor and Description |
|---|
AdGroupDelegate(AdWordsSession adWordsSession)
Default Constructor.
|
AdGroupDelegate(AdWordsSession adWordsSession,
List<SelectorFields.AdGroup> selectorFields)
Constructor with custom fields.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.ads.adwords.axis.v201409.cm.AdGroup |
getByAdGroupId(Long adGroupId)
Retrieves AdGroups by adIds.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
getByCampaignId(List<Long> campaignIds)
Retrieves AdGroups by campaignIds.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
getByCampaignId(Long campaignId)
Retrieves AdGroups by campaignId.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
getByCampaignId(Long campaignId,
int startIndex,
int numberResults)
Retrieves AdGroups by campaignId in the range (startIndex, numberResults).
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
getByLabelIds(List<Long> labelIds)
Retrieves AdGroups by labelIds.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
getByStatus(com.google.api.ads.adwords.axis.v201409.cm.AdGroupStatus adGroupStatus)
Retrieves AdGroups by adGroupStatus.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
getByStatus(com.google.api.ads.adwords.axis.v201409.cm.AdGroupStatus adGroupStatus,
int startIndex,
int numberResults)
Retrieves AdGroups by adGroupStatus in the range (startIndex, numberResults).
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel |
insertAdGroupLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel adGroupLabel)
Creates a link (AdGroupLabel) between AdGroups and Labels.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> |
insertAdGroupLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> adGroupLabels)
Creates a link (AdGroupLabel) between AdGroups and Labels.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroup |
remove(com.google.api.ads.adwords.axis.v201409.cm.AdGroup adGroup)
Removes AdGroup.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> |
remove(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> list)
Removes AdGroups.
|
com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel |
removeAdGroupLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel adGroupLabel)
Removes a link (AdGroupLabel) between AdGroups and Labels.
|
List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> |
removeAdGroupLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> adGroupLabels)
Removes a link (AdGroupLabel) between AdGroups and Labels.
|
insert, insert, mutate, update, updatecreateSelectorBuilder, get, get, get, getByField, getByField, getByField, getByField, getByFieldContainsAny, getClassT, getOneByField, getPage, setGetMethodNamegetAdWordsSession, getServicepublic AdGroupDelegate(AdWordsSession adWordsSession)
adWordsSession - the adWordsSession to use with the delegate/servicepublic AdGroupDelegate(AdWordsSession adWordsSession, List<SelectorFields.AdGroup> 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.AdGroup getByAdGroupId(Long adGroupId) throws RemoteException
adGroupId - the Id of the AdGroupRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> getByCampaignId(List<Long> campaignIds) throws RemoteException
campaignIds - the Ids of the CampaignsRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> getByCampaignId(Long campaignId) throws RemoteException
campaignId - the Id of the CampaignRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> getByCampaignId(Long campaignId, int startIndex, int numberResults) throws RemoteException
campaignId - the Id of the CampaignstartIndex - index of the first resultnumberResults - number of resultsRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> getByStatus(com.google.api.ads.adwords.axis.v201409.cm.AdGroupStatus adGroupStatus) throws RemoteException
adGroupStatus - the Status of the AdGroupRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> getByStatus(com.google.api.ads.adwords.axis.v201409.cm.AdGroupStatus adGroupStatus, int startIndex, int numberResults) throws RemoteException
adGroupStatus - the Status of the AdGroupstartIndex - index of the first resultnumberResults - number of resultsRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> getByLabelIds(List<Long> labelIds) throws RemoteException
labelIds - the Ids of the Labels to retreive the AdGroupsRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> remove(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroup> list) throws RemoteException
remove in class AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201409.cm.AdGroup,com.google.api.ads.adwords.axis.v201409.cm.AdGroupOperation,com.google.api.ads.adwords.axis.v201409.cm.AdGroupServiceInterface>list - the list of AdGroups to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroup remove(com.google.api.ads.adwords.axis.v201409.cm.AdGroup adGroup)
throws RemoteException
remove in class AbstractGetMutateDelegate<com.google.api.ads.adwords.axis.v201409.cm.AdGroup,com.google.api.ads.adwords.axis.v201409.cm.AdGroupOperation,com.google.api.ads.adwords.axis.v201409.cm.AdGroupServiceInterface>adGroup - the AdGroup to removeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> insertAdGroupLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> adGroupLabels) throws RemoteException
adGroupLabels - the AdGroupLabels to addRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel insertAdGroupLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel adGroupLabel)
throws RemoteException
adGroupLabel - the AdGroupLabel to addRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> removeAdGroupLabel(List<com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel> adGroupLabels) throws RemoteException
adGroupLabels - the AdGroupLabels to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel removeAdGroupLabel(com.google.api.ads.adwords.axis.v201409.cm.AdGroupLabel adGroupLabel)
throws RemoteException
adGroupLabel - the AdGroupLabel to removeRemoteException - for communication-related exceptionsCopyright © 2015. All Rights Reserved.