public interface CampaignServiceInterface
CampaignCriterionService). You can also set campaign-wide ad
extensions using CampaignExtensionSettingService.
Note: CampaignService does not support video campaigns.
This class was generated by the JAX-WS RI. JAX-WS RI 2.2.9-b130926.1035 Generated source version: 2.1| Modifier and Type | Method and Description |
|---|---|
CampaignPage |
get(Selector serviceSelector)
Returns the list of campaigns that meet the selector criteria.
|
CampaignReturnValue |
mutate(List<CampaignOperation> operations)
Adds, updates, or removes campaigns.
|
CampaignLabelReturnValue |
mutateLabel(List<CampaignLabelOperation> operations)
|
CampaignPage |
query(String query)
Returns the list of campaigns that match the query.
|
@RequestWrapper(localName="get", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfaceget") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacegetResponse") CampaignPage get(Selector serviceSelector) throws ApiException_Exception
serviceSelector - the selector specifying the Campaigns to return.serviceSelector - ApiException - if problems occurred while fetching campaign information.ApiException_Exception@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacemutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacemutateResponse") CampaignReturnValue mutate(List<CampaignOperation> operations) throws ApiException_Exception
Note: CampaignOperation does not support the
REMOVE operator. To remove a campaign, set its
status to REMOVED.
operations - A list of unique operations.
The same campaign cannot be specified in more than one operation.operations - operations array.ApiException - if problems occurred while updating campaign information.ApiException_Exception@RequestWrapper(localName="mutateLabel", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacemutateLabel") @ResponseWrapper(localName="mutateLabelResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacemutateLabelResponse") CampaignLabelReturnValue mutateLabel(List<CampaignLabelOperation> operations) throws ApiException_Exception
Add - Apply an existing label to an existing campaign. The
campaignId must reference an existing Campaign. The labelId must
reference an existing label.
Remove - Removes the link between the specified campaign and label.
operations - the operations to apply.operations - ApiException - when there are one or more errors with the request.ApiException_Exception@RequestWrapper(localName="query", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacequery") @ResponseWrapper(localName="queryResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignServiceInterfacequeryResponse") CampaignPage query(String query) throws ApiException_Exception
query - The SQL-like AWQL query string.query - ApiException - if problems occur while parsing the query or fetching campaign
information.ApiException_ExceptionCopyright © 2023. All rights reserved.