type DayPartTargeting (v202408)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["DayPartTargeting allows you to specify the days and times when ads should be displayed, enhancing ad delivery control."],["It utilizes DayPart objects to define specific time ranges and DeliveryTimeZone to indicate the desired time zone for targeting."],["You can access and manage DayPartTargeting through various services like AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService."],["DayPartTargeting relies on the Targeting dependency for its functionality."],["This feature is part of the Google Ad Manager API and uses the namespace `https://www.google.com/apis/ads/publisher/v202408`."]]],["The core content details the `DayPartTargeting` functionality within the ad management API, specifically under the `YieldGroupService`. It outlines the `dayParts` field, which accepts an array of `DayPart` objects. Additionally, it specifies the `timeZone` field, accepting `DeliveryTimeZone` values, with `PUBLISHER` or `BROWSER` as possible options. Several other services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, and more, are also mentioned in connection to `DayPartTargeting`, the namespace for this service is `https://www.google.com/apis/ads/publisher/v202408`.\n"]]