enum AdRuleDateError.Reason (v202505)

  • AdRuleDateError.Reason describes potential issues related to ad rule dates within the AdRuleService.

  • Common reasons for AdRuleDateErrors include start or end dates being in the past, the end date not being after the start date, and dates being too far in the future.

  • The UNKNOWN reason is used when the specific error value is not available in the requested API version.

Describes reasons for AdRuleDateErrors.


Namespace
https://www.google.com/apis/ads/publisher/v202505
Enumeration Description
START_DATE_TIME_IS_IN_PAST Cannot create a new ad rule with a start date in the past.
END_DATE_TIME_IS_IN_PAST Cannot update an existing ad rule that has already completely passed with a new end date that is still in the past.
END_DATE_TIME_NOT_AFTER_START_TIME End date must be after the start date.
END_DATE_TIME_TOO_LATE DateTimes after 1 January 2037 are not supported.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.