public final class ExtendedCampaign extends Object
Campaign level operations.| Constructor and Description |
|---|
ExtendedCampaign(com.google.api.ads.adwords.axis.v201506.cm.Campaign campaign,
DelegateLocator delegateLocator)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ExtendedCampaign> |
as(List<com.google.api.ads.adwords.axis.v201506.cm.Campaign> campaigns,
DelegateLocator delegateLocator)
Transforms a regular list of Campaigns into a list of ExtendedCampaigns.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroupBidLandscape> |
getAdGroupBidLandscapes()
Gets the AdGroupBidLandscapes for the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> |
getAdGroups()
Gets the AdGroups for the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.Campaign |
getCampaign()
Retrieves the encapsulated Campaign
|
List<com.google.api.ads.adwords.axis.v201506.ch.CampaignChangeData> |
getCampaignChangeData(Date dateStart,
Date dateEnd)
Gets the CampaignChangeDatas for the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> |
getCampaignCriterions()
Gets the CampaignCriterions for the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CampaignFeed> |
getCampaignFeeds()
Gets the CampaignFeeds for the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CriterionBidLandscape> |
getCriterionBidLandscape()
Gets the CriterionBidLandscapes for the ExtendedCampaign's Campaign.
|
DelegateLocator |
getDelegateLocator()
Retrieves the DelegateLocator for the Account (ManagedCustomer).
|
List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> |
getExperiments()
Gets the Experiments for the ExtendedCampaign's Campaign.
|
List<ExtendedAdGroup> |
getExtendedAdGroups()
Gets the ExtendedAdGroups for the ExtendedCampaign's Campaign.
|
ExtendedAdGroup |
insertAdGroup(com.google.api.ads.adwords.axis.v201506.cm.AdGroup adGroup)
Inserts the AdGroup into the ExtendedCampaign's Campaign.
|
List<ExtendedAdGroup> |
insertAdGroups(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> adGroups)
Inserts the AdGroups into the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion |
insertCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion campaignCriterion)
Inserts the CampaignCriterion into the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion |
insertCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.Criterion criterion)
Inserts the Criterion into the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> |
insertCampaignCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> campaignCriterions)
Inserts the CampaignCriterions into the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignLabel |
insertCampaignLabel(Long labelId)
Inserts a CampaignLabel into the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.Experiment |
insertExperiment(com.google.api.ads.adwords.axis.v201506.cm.Experiment experiment)
Inserts the Experiment into the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> |
insertExperiments(List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> experiments)
Inserts the Experiments into the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion |
insertNegativeCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.Criterion criterion)
Inserts the Criterion as negative into the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion |
removeCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion campaignCriterion)
Removes the CampaignCriterion from the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> |
removeCampaignCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> campaignCriterions)
Removes the CampaignCriterions from the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignLabel |
removeCampaignLabel(Long labelId)
Removes a CampaignLabel into the ExtendedCampaign's Campaign.
|
ExtendedCampaign |
update()
Updates the ExtendedCampaign's Campaign.
|
List<ExtendedAdGroup> |
updateAdGroups(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> adGroups)
Uptades the AdGroups for the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion |
updateCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion campaignCriterion)
Updates the CampaignCriterion for the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> |
updateCampaignCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> campaignCriterions)
Updates the CampaignCriterions for the ExtendedCampaign's Campaign.
|
com.google.api.ads.adwords.axis.v201506.cm.Experiment |
updateExperiment(com.google.api.ads.adwords.axis.v201506.cm.Experiment experiment)
Updates the Experiment into the ExtendedCampaign's Campaign.
|
List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> |
updateExperiments(List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> experiments)
Updates the Experiments into the ExtendedCampaign's Campaign.
|
public ExtendedCampaign(com.google.api.ads.adwords.axis.v201506.cm.Campaign campaign,
DelegateLocator delegateLocator)
campaign - the Campaign to encapsulatedelegateLocator - the DelegateLocator for the Account (ManagedCustomer)public static List<ExtendedCampaign> as(List<com.google.api.ads.adwords.axis.v201506.cm.Campaign> campaigns, DelegateLocator delegateLocator)
campaigns - a list of Campaigns to convertdelegateLocator - the DelegateLocator for the Account (ManagedCustomer)public DelegateLocator getDelegateLocator()
public com.google.api.ads.adwords.axis.v201506.cm.Campaign getCampaign()
public ExtendedCampaign update() throws RemoteException
Note: remove is not supported,
instead, set its status to REMOVED and then update().
See CampaignServiceInterface.
RemoteException - for communication-related exceptionspublic List<ExtendedAdGroup> getExtendedAdGroups() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> getAdGroups() throws RemoteException
RemoteException - for communication-related exceptionspublic List<ExtendedAdGroup> insertAdGroups(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> adGroups) throws RemoteException
adGroups - the list of AdGroups to insertRemoteException - for communication-related exceptionspublic ExtendedAdGroup insertAdGroup(com.google.api.ads.adwords.axis.v201506.cm.AdGroup adGroup) throws RemoteException
adGroup - the AdGroup to insertRemoteException - for communication-related exceptionspublic List<ExtendedAdGroup> updateAdGroups(List<com.google.api.ads.adwords.axis.v201506.cm.AdGroup> adGroups) throws RemoteException
adGroups - the list of AdGroups to updateRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> getCampaignCriterions() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> insertCampaignCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> campaignCriterions) throws RemoteException
campaignCriterions - the list of CampaignCriterions to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion insertCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion campaignCriterion)
throws RemoteException
campaignCriterion - the CampaignCriterion to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion insertCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.Criterion criterion)
throws RemoteException
Note: this method creates the necessary CampaignCriterion implicitly.
criterion - the Criterion to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion insertNegativeCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.Criterion criterion)
throws RemoteException
Note: this method creates the necessary NegativeCampaignCriterion implicitly.
criterion - the Criterion to insertRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> updateCampaignCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> campaignCriterions) throws RemoteException
campaignCriterions - the list of CampaignCriterions to updateRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion updateCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion campaignCriterion)
throws RemoteException
campaignCriterion - the CampaignCriterion to updateRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> removeCampaignCriterions(List<com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion> campaignCriterions) throws RemoteException
campaignCriterions - the list of CampaignCriterions to removeRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion removeCampaignCriterion(com.google.api.ads.adwords.axis.v201506.cm.CampaignCriterion campaignCriterion)
throws RemoteException
campaignCriterion - the CampaignCriterion to removeRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> getExperiments() throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> insertExperiments(List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> experiments) throws RemoteException
experiments - the list of Experiments to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.Experiment insertExperiment(com.google.api.ads.adwords.axis.v201506.cm.Experiment experiment)
throws RemoteException
experiment - the Experiment to insertRemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> updateExperiments(List<com.google.api.ads.adwords.axis.v201506.cm.Experiment> experiments) throws RemoteException
Note: removeExperiments is not supported,
instead, set its status to REMOVED and then update().
See ExperimentServiceInterface.
experiments - the list of Experiments to updateRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.Experiment updateExperiment(com.google.api.ads.adwords.axis.v201506.cm.Experiment experiment)
throws RemoteException
Note: removeExperiments is not supported,
instead, set its status to REMOVED and then update().
See ExperimentServiceInterface.
experiment - the Experiment to updateRemoteException - 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.ch.CampaignChangeData> getCampaignChangeData(Date dateStart, Date dateEnd) throws RemoteException
RemoteException - for communication-related exceptionspublic List<com.google.api.ads.adwords.axis.v201506.cm.CampaignFeed> getCampaignFeeds() throws RemoteException
RemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignLabel insertCampaignLabel(Long labelId) throws RemoteException
(Creates a Label to Campaign link).
labelId - the Label to insertRemoteException - for communication-related exceptionspublic com.google.api.ads.adwords.axis.v201506.cm.CampaignLabel removeCampaignLabel(Long labelId) throws RemoteException
(Deletes a Label to Campaign link).
labelId - the Label to insertRemoteException - for communication-related exceptionsCopyright © 2016. All Rights Reserved.