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 objects represent a specific time of day, specified by hour and minute."],["The `hour` field uses a 24-hour format (0-24) and is required."],["The `minute` field accepts only 0, 15, 30, and 45 as valid values, and is also required."],["TimeOfDay is part of the Google Ad Manager API and is used by various services like AdRuleService and ForecastService."],["It's utilized within the namespace `https://www.google.com/apis/ads/publisher/v202405`."]]],["The document outlines the `TimeOfDay` data structure used across multiple services: `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. `TimeOfDay` specifies a time using `hour` (0-24) and `minute`, where `minute` is limited to `ZERO`, `FIFTEEN`, `THIRTY`, or `FORTY_FIVE`. This is located in the `https://www.google.com/apis/ads/publisher/v202405` namespace and depends on the `DayPart` component.\n"]]