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 DateRangeError (v201809)

A list of all the error codes being used for date range error.


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.

DateRangeError

reason

DateRangeError.Reason

The error reason represented by an enum.


Enumerations
DATE_RANGE_ERROR
INVALID_DATE
Invalid date.
START_DATE_AFTER_END_DATE
The start date was after the end date.
CANNOT_SET_DATE_TO_PAST
Cannot set date to past time
AFTER_MAXIMUM_ALLOWABLE_DATE
A date was used that is past the system "last" date.
CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED
Trying to change start date on a campaign that has started.