type DateTimeRangeTargeting (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The document outlines the `DateTimeRangeTargeting` feature, specifying date and time ranges for line item eligibility. It is a dependency of the `AdRuleService`'s `Targeting`. Several services, including `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`, utilize this targeting. The `targetedDateTimeRanges` field, a collection of `DateTimeRange` objects, defines the specific time ranges. The namespace for this is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,[]]