public interface CampaignCriterionServiceInterface
A campaign-level negative criterion prevents the campaign's ads from showing on specific placements, specific keywords, demographics, and so on.
Additionally, the service can be used to target criteria such as location, language, carrier, platform, and so on. The targeting criteria can be added using the Criterion Id listed in the documentation.
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 |
|---|---|
CampaignCriterionPage |
get(Selector serviceSelector)
Gets campaign criteria.
|
CampaignCriterionReturnValue |
mutate(List<CampaignCriterionOperation> operations)
Adds, removes or updates campaign criteria.
|
CampaignCriterionPage |
query(String query)
Returns the list of campaign criteria 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.CampaignCriterionServiceInterfaceget") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignCriterionServiceInterfacegetResponse") CampaignCriterionPage get(Selector serviceSelector) throws ApiException_Exception
serviceSelector - The selector specifying the CampaignCriterions to return.serviceSelector - ApiException - when there is at least one error with the request.ApiException_Exception@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignCriterionServiceInterfacemutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignCriterionServiceInterfacemutateResponse") CampaignCriterionReturnValue mutate(List<CampaignCriterionOperation> operations) throws ApiException_Exception
operations - The operations to apply.operations - ApiException - when there is at least one error 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.CampaignCriterionServiceInterfacequery") @ResponseWrapper(localName="queryResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.CampaignCriterionServiceInterfacequeryResponse") CampaignCriterionPage 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 criteria.ApiException_ExceptionCopyright © 2023. All rights reserved.