type DayPartTargeting (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."],[[["DayPartTargeting allows you to specify the days and times when ads should be eligible to serve, using the `dayParts` and `timeZone` fields."],["`dayParts` field utilizes the `DayPart` object to define specific time ranges for ad delivery."],["`timeZone` field specifies the time zone for day-part targeting using the `DeliveryTimeZone` enum, which can be set to `PUBLISHER` or `BROWSER`."],["DayPartTargeting is part of the YieldGroupService within the Google Ad Manager API."],["The namespace for DayPartTargeting is `https://www.google.com/apis/ads/publisher/v202411`."]]],["The content details `DayPartTargeting` within the `v202411` namespace at `https://www.google.com/apis/ads/publisher/v202411`. It specifies that `DayPartTargeting` relies on multiple services such as AdRuleService, AdjustmentService, and others, including YieldGroupService. Key fields within `DayPartTargeting` are `dayParts`, which uses an array of `DayPart` objects, and `timeZone`, which uses a `DeliveryTimeZone`. It offers targeting dependencies. The available time zones are `PUBLISHER` and `BROWSER`.\n"]]