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

CriterionError

Enum describing possible criterion errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

CONCRETE_TYPE_REQUIRED

Concrete type of criterion is required for CREATE and UPDATE operations.

INVALID_EXCLUDED_CATEGORY

The category requested for exclusion is invalid.

INVALID_KEYWORD_TEXT

Invalid keyword criteria text.

KEYWORD_TEXT_TOO_LONG

Keyword text should be less than 80 chars.

KEYWORD_HAS_TOO_MANY_WORDS

Keyword text has too many words.

KEYWORD_HAS_INVALID_CHARS

Keyword text has invalid characters or symbols.

INVALID_PLACEMENT_URL

Invalid placement URL.

INVALID_USER_LIST

Invalid user list criterion.

INVALID_USER_INTEREST

Invalid user interest criterion.

INVALID_FORMAT_FOR_PLACEMENT_URL

Placement URL has wrong format.

PLACEMENT_URL_IS_TOO_LONG

Placement URL is too long.

PLACEMENT_URL_HAS_ILLEGAL_CHAR

Indicates the URL contains an illegal char