type DateTimeRangeTargeting (v202405)
The date time ranges that the line item is eligible to serve.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["DateTimeRangeTargeting defines the specific date and time ranges during which a line item is eligible for ad serving."],["It utilizes DateTimeRange objects to specify these targeted time windows."],["This feature is applicable to various services like AdRuleService, ForecastService, LineItemService, and more."],["DateTimeRangeTargeting is part of the broader Targeting structure within Google Ad Manager's API."],["The namespace for DateTimeRangeTargeting is `https://www.google.com/apis/ads/publisher/v202405`."]]],["The content details the `DateTimeRangeTargeting` feature within various services, including `AdRuleService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It specifies that this feature allows setting the date and time ranges during which a line item can serve. The `targetedDateTimeRanges` field, an array of `DateTimeRange` objects, defines these ranges. The namespace for these services is `https://www.google.com/apis/ads/publisher/v202405`.\n"]]