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 specifies the eligible date and time ranges for a line item to serve."],["It utilizes DateTimeRange objects to define these periods."],["This feature is part of the TargetingPresetService within the Google Ad Manager API."],["The namespace for this feature is `https://www.google.com/apis/ads/publisher/v202405`."]]],["The core content details the `DateTimeRangeTargeting` functionality within an ad management system. It lists services utilizing this targeting, including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, and `YieldGroupService`, along with `TargetingPresetService`. The primary function is defining the time ranges for ad eligibility. This uses a field, `targetedDateTimeRanges`, which is an array of `DateTimeRange` objects. The namespace for the described functionality is provided.\n"]]