enum AdRuleDateError.Reason (v202411)

  • AdRuleDateError outlines potential issues with start and end dates when managing ad rules within Google Ad Manager.

  • Specific reasons for errors include start dates in the past, end dates preceding start dates, and dates exceeding the supported range.

  • This information helps to ensure ad rules are set up correctly with valid date and time parameters, avoiding potential conflicts or delivery issues.

Describes reasons for AdRuleDateErrors.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.