Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type SharedCriterionError (v201809)

Represents error codes for the SharedCriterionService.


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

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.

SharedCriterionError

reason

SharedCriterionError.Reason


Enumerations
EXCEEDS_CRITERIA_LIMIT
INCORRECT_CRITERION_TYPE
CANNOT_TARGET_AND_EXCLUDE
Cannot add the same crietrion as positive and negative in the same shared set.
NEGATIVE_CRITERION_REQUIRED
Negative shared set type requires a negative shared set criterion.
CONCRETE_TYPE_REQUIRED
Concrete type of criterion (e.g., keyword and placement) is required for ADD operations.
UNKNOWN