Use this service to manage campaign-level criteria.
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.
- Production WSDL
-
https://adwords.google.com/api/adwords/cm/v201209/CampaignCriterionService?wsdl - Namespace
-
https://adwords.google.com/api/adwords/cm/v201209 - Operations
- Errors
-
- AdxError
- AuthenticationError
- AuthorizationError
- BetaError
- CampaignCriterionError
- ClientTermsError
- CriterionError
- DatabaseError
- DistinctError
- EntityCountLimitExceeded
- EntityNotFound
- InternalApiError
- NewEntityCreationError
- NotEmptyError
- NotWhitelistedError
- NullError
- OperationAccessDenied
- OperatorError
- PagingError
- QueryError
- QuotaCheckError
- RangeError
- RateExceededError
- ReadOnlyError
- RegionCodeError
- RequestError
- RequiredError
- SelectorError
- SizeLimitError
- StringLengthError
get
Gets campaign criteria.
Parameters
| Field | Type | Description |
|---|---|---|
| serviceSelector |
Selector
|
The selector specifying the CampaignCriterions to return. |
Response
| Field | Type | Description |
|---|---|---|
| rval |
CampaignCriterionPage
|
A list of campaign criteria. |
mutate
Adds, removes or updates campaign criteria.
Parameters
| Field | Type | Description |
|---|---|---|
| operations |
CampaignCriterionOperation[]
|
The operations to apply. |
Response
| Field | Type | Description |
|---|---|---|
| rval |
CampaignCriterionReturnValue
|
The added campaign criteria (without any optional parts). |
query
Returns the list of campaign criteria that match the query.
Parameters
| Field | Type | Description |
|---|---|---|
| query |
xsd:string
|
The SQL-like AWQL query string. |
Response
| Field | Type | Description |
|---|---|---|
| rval |
CampaignCriterionPage
|
A list of campaign criteria. |
Errors
| Error | Reasons |
|---|---|
| AdxError | Errors that are thrown when a non-AdX feature is accessed by an AdX customer. Enumerations
|
| AuthenticationError | Errors returned when Authentication failed. Enumerations
|
| AuthorizationError | Errors encountered when trying to authorize a user. Enumerations
|
| BetaError | Errors that are thrown when a Beta feature is accessed incorrectly. Enumerations
|
| CampaignCriterionError | Base error class for Campaign Criterion Service. Enumerations
|
| ClientTermsError | Error due to user not accepting the AdWords terms of service. Enumerations
|
| CriterionError | Error class used for reporting criteria related errors. Enumerations
|
| DatabaseError | Errors that are thrown due to a database access problem. Enumerations
|
| DistinctError | Errors related to distinct ids or content. Enumerations
|
| EntityCountLimitExceeded | Signals that an entity count limit was exceeded for some level.
For example, too many criteria for a campaign. Enumerations
|
| EntityNotFound | An id did not correspond to an entity, or it referred to an entity which does not belong to the
customer. Enumerations
|
| InternalApiError | Indicates that a server-side error has occured. InternalApiErrors
are generally not the result of an invalid request or message sent by the
client.Enumerations
|
| NewEntityCreationError | Error associated with creation of new entities using
TempIds.Enumerations
|
| NotEmptyError | Errors corresponding with violation of a NOT EMPTY check. Enumerations
|
| NotWhitelistedError | Indicates that the customer is not whitelisted for accessing the API. Enumerations
|
| NullError | Errors associated with violation of a NOT NULL check. Enumerations
|
| OperationAccessDenied | Operation not permitted due to the invoked service's access policy. Enumerations
|
| OperatorError | Errors due to the use of unsupported operations. Enumerations
|
| PagingError | Error codes for pagination.
See Paging. Enumerations
|
| QueryError | A QueryError represents possible errors for query parsing and execution. Enumerations
|
| QuotaCheckError | Encapsulates the errors thrown during developer quota checks. Enumerations
|
| RangeError | A list of all errors associated with the Range constraint. Enumerations
|
| RateExceededError | Signals that a call failed because a measured rate exceeded. Enumerations
|
| ReadOnlyError | Errors from attempting to write to read-only fields. Enumerations
|
| RegionCodeError | A list of all errors associated with the @RegionCode constraints. Enumerations
|
| RequestError | Encapsulates the generic errors thrown when there's an error with user
request. Enumerations
|
| RequiredError | Errors due to missing required field. Enumerations
|
| SelectorError | Represents possible error codes for Selector. Enumerations
|
| SizeLimitError | Indicates that the number of entries in the request or response exceeds the system limit. Enumerations
|
| StringLengthError | Errors associated with the length of the given string being
out of bounds. Enumerations
|