type TimeOfDay (v202402)
Represents a specific time in a day.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["TimeOfDay object represents a specific time, specified by hour and minute, within a 24-hour period."],["It is used in various Google Ad Manager services like AdRuleService, AdjustmentService, and others to schedule or target ads."],["The 'hour' field (0-24) and 'minute' field (0, 15, 30, 45) are required to define a TimeOfDay instance."],["TimeOfDay objects help define day-parts for controlling when ads are served by services like LineItemService."]]],["The content defines `TimeOfDay`, representing a specific time, within the `v202402` API namespace. It's utilized across various services, including AdRule, Adjustment, Forecast, LineItem, and others. `TimeOfDay` requires two fields: `hour` (0-24, inclusive) and `minute` (0, 15, 30, or 45). The `minute` field utilizes the `MinuteOfHour` enumeration, with possible values `ZERO`, `FIFTEEN`, `THIRTY`, and `FORTY_FIVE`.\n"]]