type TimeOfDay (v202411)

  • TimeOfDay object represents a specific time in a day, within the Ad Manager API.

  • It is defined by the hour (0-24) and minute (0, 15, 30, 45) fields, both of which are required.

  • TimeOfDay is utilized by various Ad Manager services like AdRuleService, ForecastService, LineItemService, and others for scheduling and targeting purposes.

  • Developers can use this object to specify precise times for ad delivery or other operations within their applications.

Represents a specific time in a day.


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

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.