type DateTimeRangeTargeting (v202402)
The date time ranges that the line item is eligible to serve.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["DateTimeRangeTargeting defines the eligible date and time ranges for a line item to serve ads."],["It utilizes DateTimeRange objects to specify these targeted time periods."],["This feature is used by various services like AdRuleService, ForecastService, LineItemService, and more."],["It falls under the Targeting dependency and uses the `targetedDateTimeRanges` field to store DateTimeRange values."],["DateTimeRangeTargeting belongs to the `https://www.google.com/apis/ads/publisher/v202402` namespace."]]],["The content defines `DateTimeRangeTargeting`, specifying date and time ranges for line item eligibility across multiple services. This includes `AdRuleService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It depends on `Targeting` and features the `targetedDateTimeRanges` field, which is an array of `DateTimeRange` objects. The namespace for this is `https://www.google.com/apis/ads/publisher/v202402`.\n"]]