Share your feedback about the AdWords API! Take our annual survey.

type CampaignCriterionError (v201802)

Base error class for Campaign Criterion Service.


Namespace
https://adwords.google.com/api/adwords/cm/v201802

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

ApiError.Type

xsd:string

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

CampaignCriterionError

reason

CampaignCriterionError.Reason

The error reason represented by an enum.


Enumerations
CONCRETE_TYPE_REQUIRED
Concrete type of criterion (keyword v.s. placement) is required for ADD and SET operations.
INVALID_PLACEMENT_URL
Invalid placement URL.
CANNOT_EXCLUDE_CRITERIA_TYPE
Criteria type can not be excluded for the campaign by the customer. like AOL account type cannot target site type criteria
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE
Cannot set the campaign criterion status for this criteria type.
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA
Cannot set the campaign criterion status for an excluded criteria.
CANNOT_TARGET_AND_EXCLUDE
Cannot target and exclude the same criterion.
TOO_MANY_OPERATIONS
The #mutate operation contained too many operations.
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE
This operator cannot be applied to a criterion of this type.
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL
The Shopping campaign sales country is not supported for ProductSalesChannel targeting.
UNKNOWN
CANNOT_ADD_EXISTING_FIELD
The existing field can't be updated with ADD operation. It can be updated with SET operation only.

Send feedback about...

AdWords API
AdWords API
Need help? Visit our support page.