type TimeOfDay (v202405)
Represents a specific time in a day.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["TimeOfDay object in Google Ad Manager represents a specific time in a day, defined by hour and minute."],["It uses a 24-hour format for the `hour` field (ranging from 0 to 24) and allows minutes to be specified in increments of 15 (0, 15, 30, 45) using the `minute` field and `MinuteOfHour` enum."],["This object is utilized within various Google Ad Manager services, such as AdRuleService, AdjustmentService, and others, for scheduling or targeting purposes."]]],["The core content defines the `TimeOfDay` object, representing a specific time. It's used across multiple services, including AdRule, Adjustment, Forecast, LineItem, NativeStyle, ProposalLineItem, Proposal, TargetingPreset, and YieldGroup Services. `TimeOfDay` comprises two required fields: `hour` (0-24, in 24-hour format) and `minute`, supporting only 0, 15, 30, or 45, represented by `ZERO`, `FIFTEEN`, `THIRTY`, and `FORTY_FIVE` enumerations. These `TimeOfDay` objects are also dependencies of other services.\n"]]