AI-generated Key Takeaways
-
DayPartTargetingError.Reason
defines the possible reasons for errors related to day part targeting. -
Errors can occur due to invalid hours or minutes in a day part.
-
An error is triggered if the end time of a day part is not after the start time.
-
Overlapping time periods for day parts will also cause an error.
-
An
UNKNOWN
reason is used if the actual value is not exposed by the requested API version.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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. |