type TimeOfDay (v202502)

  • TimeOfDay represents a specific time in a day and is used across various services like AdRuleService, ForecastService, and LineItemService.

  • The TimeOfDay object has two required fields: hour, which must be between 0 and 24 inclusive, and minute, which supports only 0, 15, 30, and 45.

  • TimeOfDay depends on the DayPart object.

Represents a specific time in a day.


Namespace
https://www.google.com/apis/ads/publisher/v202502

Field

hour

xsd:int

Hour in 24 hour time (0..24). This field must be between 0 and 24, inclusive. This field is required.

minute

MinuteOfHour

Minutes in an hour. Currently, only 0, 15, 30, and 45 are supported. This field is required.


Enumerations
ZERO
Zero minutes past hour.
FIFTEEN
Fifteen minutes past hour.
THIRTY
Thirty minutes past hour.
FORTY_FIVE
Forty-five minutes past hour.