type DateTimeRangeTargeting (v202408)
The date time ranges that the line item is eligible to serve.
- 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."],[[["DateTimeRangeTargeting specifies the date and time ranges when a line item is eligible to serve ads."],["It is defined within the `https://www.google.com/apis/ads/publisher/v202408` namespace."],["This targeting utilizes an array of DateTimeRanges to set specific periods for ad serving eligibility."],["Several Google Ad Manager services such as AdRuleService, AdjustmentService, and others utilize DateTimeRangeTargeting."]]],["The provided content details the `DateTimeRangeTargeting` functionality within the Google Ad Manager API v202408. This feature, accessible via multiple services including `AdRuleService`, `AdjustmentService`, and `ForecastService`, defines the time periods when a line item can serve. `DateTimeRangeTargeting` relies on the `DateTimeRange` dependency. The `targetedDateTimeRanges` field within this service accepts an array of `DateTimeRange` objects, determining the eligibility periods for ad serving.\n"]]