AI-generated Key Takeaways
-
DayPartTargetingError.Reason
identifies potential errors encountered during day-part targeting setup in Google Ad Manager. -
Errors can arise due to invalid hour or minute values, incorrect start and end time configurations, or overlapping time periods.
-
The
DayPartTargetingError.Reason
enumeration provides specific error codes likeINVALID_HOUR
,INVALID_MINUTE
,END_TIME_NOT_AFTER_START_TIME
, andTIME_PERIODS_OVERLAP
for troubleshooting. -
Developers can use these error codes to identify and resolve day-part targeting issues, ensuring accurate ad delivery scheduling.
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. |