enum DayPartTargetingError.Reason (v202411)

  • DayPartTargetingError.Reason outlines the potential errors encountered when setting day-part targeting in Google Ad Manager.

  • These errors primarily involve incorrect hour or minute values, overlapping time periods, and end times preceding start times in day-part configurations.

  • The errors are categorized by specific reasons, including INVALID_HOUR, INVALID_MINUTE, END_TIME_NOT_AFTER_START_TIME, and TIME_PERIODS_OVERLAP.

  • Developers using the Google Ad Manager API can refer to these error reasons to troubleshoot and resolve issues with day-part targeting settings.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
INVALID_HOUR Hour of day must be between 0 and 24, inclusive.
INVALID_MINUTE Minute of hour must be one of 0, 15,30, 45.
END_TIME_NOT_AFTER_START_TIME The DayPart.endTime cannot be after DayPart.startTime.
TIME_PERIODS_OVERLAP Cannot create day-parts that overlap.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.