type DayPart (v202411)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["DayPart objects specify a time period using a combination of day of the week and start and end times."],["DayPart objects are used within `DayPartTargeting` to specify when yield groups should be active."],["Valid `dayOfWeek` values range from `MONDAY` to `SUNDAY`."],["`startTime` and `endTime` fields utilize the `TimeOfDay` object to denote specific times within the selected day."],["DayPart objects belong to the `https://www.google.com/apis/ads/publisher/v202411` namespace."]]],["The core content outlines the `DayPart` dependency within various services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, and others. It specifies that `DayPart` belongs to the namespace `https://www.google.com/apis/ads/publisher/v202411` and is used within `DayPartTargeting`. Key fields of `DayPart` are `dayOfWeek` (enumerated from MONDAY to SUNDAY), `startTime`, and `endTime`, both using `TimeOfDay`. The relevant services and the targeting dependencies are listed.\n"]]