public final class ExtendedAdGroup extends Object
AdGroup level operations.| Constructor and Description |
|---|
ExtendedAdGroup(com.google.api.ads.adwords.axis.v201506.cm.AdGroup adGroup,
DelegateLocator delegateLocator)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ExtendedAdGroup> |
as(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> adGroups,
DelegateLocator delegateLocator)
Transforms a regular list of AdGroups into a list of ExtendedAdGroups.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroup |
getAdGroup()
Retrieves the encapsulated AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> |
getAdGroupAds()
Gets the AdGroupAds for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupBidLandscape> |
getAdGroupBidLandscapes()
Gets the AdGroupBidLandscapes for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> |
getAdGroupCriterions()
Gets the AdGroupCriterions for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupFeed> |
getAdGroupFeeds()
Gets the AdGroupFeeds for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> |
getAdParams()
Gets the AdParams for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> |
getBiddableAdGroupCriterions()
Gets the Biddable (Positive) AdGroupCriterions for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CriterionBidLandscape> |
getCriterionBidLandscape()
Gets the CriterionBidLandscapes for the ExtendedAdGroup's AdGroup.
|
DelegateLocator |
getDelegateLocator()
Retrieves the DelegateLocator for the Account (ManagedCustomer).
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> |
getNegativeAdGroupCriterions()
Gets the Negative AdGroupCriterions for the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd |
insertAd(com.google.api.ads.adwords.axis.v201506.cm.Ad ad)
Inserts the Ad into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd |
insertAdGroupAd(com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd adGroupAd)
Inserts the AdGroupAd into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupAdLabel |
insertAdGroupAdLabel(Long labelId,
long adId)
Inserts a AdGroupAdLabel into the ExtendedAdGroupAd's AdGroupAd.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> |
insertAdGroupAds(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> adGroupAds)
Inserts the AdGroupAds into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion |
insertAdGroupCriterion(com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion adGroupCriterion)
Inserts the AdGroupCriterion into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterionLabel |
insertAdGroupCriterionLabel(Long labelId,
long criterionId)
Inserts a AdGroupCriterionLabel into the ExtendedAdGroupCriterion's AdGroupCriterion.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> |
insertAdGroupCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> adGroupCriterions)
Inserts the AdGroupCriterions into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupLabel |
insertAdGroupLabel(Long labelId)
Inserts a AdGroupLabel into the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> |
insertAds(List<com.google.api.ads.adwords.axis.v201506.cm.Ad> ads)
Inserts the Ads into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd |
removeAdGroupAd(com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd adGroupAd)
Removes the AdGroupAd from the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupAdLabel |
removeAdGroupAdLabel(Long labelId,
long adId)
Removes a AdGroupAdLabel into the ExtendedAdGroupAd's AdGroupAd.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> |
removeAdGroupAds(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> adGroupAds)
Removes the AdGroupAds from the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion |
removeAdGroupCriterion(com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion adGroupCriterion)
Removes the AdGroupCriterion from the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterionLabel |
removeAdGroupCriterionLabel(Long labelId,
long criterionId)
Removes a AdGroupCriterionLabel into the ExtendedAdGroupCriterion's AdGroupCriterion.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> |
removeAdGroupCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> adGroupCriterions)
Removes the AdGroupCriterions from the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupLabel |
removeAdGroupLabel(Long labelId)
Removes a AdGroupLabel into the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdParam |
removeAdParam(com.google.api.ads.adwords.axis.v201506.cm.AdParam adParam)
Removes the AdParam from the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> |
removeAdParams(List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> adParams)
Removes the AdParams from the ExtendedAdGroup's AdGroup.
|
ExtendedAdGroup |
update()
Updates the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd |
updateAdGroupAd(com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd adGroupAd)
Updates the AdGroupAd for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> |
updateAdGroupAds(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> adGroupAds)
Updates the AdGroupAds for the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdParam |
updateAdParam(com.google.api.ads.adwords.axis.v201506.cm.AdParam adParam)
Updates the AdParam for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> |
updateAdParams(List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> adParams)
Updates the AdParams for the ExtendedAdGroup's AdGroup.
|
com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion |
updateBiddableAdGroupCriterion(com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion adGroupCriterion)
Updates the Biddable AdGroupCriterion for the ExtendedAdGroup's AdGroup.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> |
updateBiddableAdGroupCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> adGroupCriterions)
Updates the Biddable AdGroupCriterions for the ExtendedAdGroup's AdGroup.
|
public ExtendedAdGroup(com.google.api.ads.adwords.axis.v201506.cm.AdGroup adGroup,
DelegateLocator delegateLocator)
delegateLocator - the DelegateLocator for the Account (ManagedCustomer)adGroup - the AdGroup to encapsulatepublic static List<ExtendedAdGroup> as(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> adGroups, DelegateLocator delegateLocator)
adGroups - a list of AdGroups to convertdelegateLocator - the DelegateLocator for the Account (ManagedCustomer)public DelegateLocator getDelegateLocator()
public com.google.api.ads.adwords.axis.v201506.cm.AdGroup getAdGroup()
public ExtendedAdGroup update() throws RemoteException
Note: remove is not supported,
instead, set its status to REMOVED and then update().
See AdGroupServiceInterface.
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> getAdGroupCriterions() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> getNegativeAdGroupCriterions() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> getBiddableAdGroupCriterions() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> insertAdGroupCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> adGroupCriterions) throws RemoteException
adGroupCriterions - the list of AdGroupCriterions to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion insertAdGroupCriterion(com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion adGroupCriterion)
throws RemoteException
adGroupCriterion - the AdGroupCriterion to insertRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> updateBiddableAdGroupCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> adGroupCriterions) throws RemoteException
adGroupCriterions - the list of AdGroupCriterions to updateRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion updateBiddableAdGroupCriterion(com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion adGroupCriterion)
throws RemoteException
adGroupCriterion - the AdGroupCriterion to updateRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> removeAdGroupCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion> adGroupCriterions) throws RemoteException
adGroupCriterions - the list of AdGroupCriterions to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion removeAdGroupCriterion(com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterion adGroupCriterion)
throws RemoteException
adGroupCriterion - the AdGroupCriterion to removeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> getAdGroupAds() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> insertAdGroupAds(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> adGroupAds) throws RemoteException
adGroupAds - the list of AdGroupAds to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd insertAdGroupAd(com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd adGroupAd)
throws RemoteException
adGroupAd - the AdGroupAd to insertRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> updateAdGroupAds(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> adGroupAds) throws RemoteException
adGroupAds - the list of AdGroupAds to updateRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd updateAdGroupAd(com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd adGroupAd)
throws RemoteException
adGroupAd - the AdGroupAd to updateRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> removeAdGroupAds(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> adGroupAds) throws RemoteException
adGroupAds - the list of AdGroupAds to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd removeAdGroupAd(com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd adGroupAd)
throws RemoteException
adGroupAd - the AdGroupAd to removeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd> insertAds(List<com.google.api.ads.adwords.axis.v201506.cm.Ad> ads) throws RemoteException
Note: this method creates the necessary AdGroupAd implicitly.
ads - the list of Ads to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupAd insertAd(com.google.api.ads.adwords.axis.v201506.cm.Ad ad)
throws RemoteException
Note: this method creates the necessary AdGroupAd implicitly.
ad - the Ad to insertRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> getAdParams() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> updateAdParams(List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> adParams) throws RemoteException
Note: insertAdParams is not supported, use update for new AdParams.
See AdParamServiceInterface.
adParams - the list of AdParams to updateRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdParam updateAdParam(com.google.api.ads.adwords.axis.v201506.cm.AdParam adParam)
throws RemoteException
Note: insertAdParams is not supported, use update for new AdParams.
See AdParamServiceInterface.
adParam - the AdParam to updateRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> removeAdParams(List<com.google.api.ads.adwords.axis.v201506.cm.AdParam> adParams) throws RemoteException
adParams - the list of AdParams to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdParam removeAdParam(com.google.api.ads.adwords.axis.v201506.cm.AdParam adParam)
throws RemoteException
adParam - the AdParam to removeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupBidLandscape> getAdGroupBidLandscapes() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.CriterionBidLandscape> getCriterionBidLandscape() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupFeed> getAdGroupFeeds() throws RemoteException
RemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupLabel insertAdGroupLabel(Long labelId) throws RemoteException
(Creates a Label to AdGroup link).
labelId - the Label to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupLabel removeAdGroupLabel(Long labelId) throws RemoteException
(Deletes a Label to AdGroup link).
labelId - the Label to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupAdLabel insertAdGroupAdLabel(Long labelId, long adId) throws RemoteException
(Creates a Label to AdGroupAd link).
labelId - the Label to insertadId - the AdId to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupAdLabel removeAdGroupAdLabel(Long labelId, long adId) throws RemoteException
(Deletes a Label to AdGroupAd link).
labelId - the Label to insertadId - the AdId to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterionLabel insertAdGroupCriterionLabel(Long labelId, long criterionId) throws RemoteException
(Creates a Label to AdGroupCriterion link).
labelId - the Label to insertcriterionId - the CriterionId to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.AdGroupCriterionLabel removeAdGroupCriterionLabel(Long labelId, long criterionId) throws RemoteException
(Deletes a Label to AdGroupCriterion link).
labelId - the Label to insertcriterionId - the CriterionId to insertRemoteException - for communication-related exceptionsCopyright © 2016. All Rights Reserved.