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

enum DateRangeError.Reason (v201809)

The reasons for the date range error.

Enumeration Description
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.