type DateTimeRangeTargeting (v202411)
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/v202411
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 core content outlines `DateTimeRangeTargeting`, which specifies the time ranges a line item can serve. It's utilized by various services including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. `DateTimeRangeTargeting` depends on `Targeting`, and it uses the `targetedDateTimeRanges` field, containing an array of `DateTimeRange` objects, to define these time ranges. It is part of the namespace: `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,[]]