enum DayPartTargetingError.Reason (v202502)

  • DayPartTargetingError.Reason describes the reasons for targeting errors related to day parts.

  • Possible reasons for targeting errors include invalid hour or minute values, end time not being after start time, and overlapping time periods.

  • The UNKNOWN reason is returned when the actual value is not exposed by the API version.

  • This enumeration is used in various Ad Manager services such as AdjustmentService, ForecastService, and LineItemService.

The reasons for the target error.


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