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

QueryError

Enum describing possible query errors.

Enums

UNSPECIFIED

Name unspecified.

UNKNOWN

The received error code is not known in this version.

QUERY_ERROR

Returned if all other query error reasons are not applicable.

BAD_ENUM_CONSTANT

A condition used in the query references an invalid enum constant.

BAD_ESCAPE_SEQUENCE

Query contains an invalid escape sequence.

BAD_FIELD_NAME

Field name is invalid.

BAD_LIMIT_VALUE

Limit value is invalid (i.e. not a number)

BAD_NUMBER

Encountered number can not be parsed.

BAD_OPERATOR

Invalid operator encountered.

BAD_PARAMETER_NAME

Parameter unknown or not supported.

BAD_PARAMETER_VALUE

Parameter have invalid value.

BAD_RESOURCE_TYPE_IN_FROM_CLAUSE

Invalid resource type was specified in the FROM clause.

BAD_SYMBOL

Non-ASCII symbol encountered outside of strings.

BAD_VALUE

Value is invalid.

DATE_RANGE_TOO_WIDE

Date filters fail to restrict date to a range smaller than 31 days. Applicable if the query is segmented by date.

DATE_RANGE_TOO_NARROW

Filters on date/week/month/quarter have a start date after end date.

EXPECTED_AND

Expected AND between values with BETWEEN operator.

EXPECTED_BY

Expecting ORDER BY to have BY.

EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE

There was no dimension field selected.