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 serving line items."],["It's utilized by various services like AdjustmentService, ForecastService, LineItemService, and others."],["The targeting is determined by 'targetedDateTimeRanges' field, which uses DateTimeRange objects."],["It falls under the AdRuleService within the specified namespace."]]],["The core content describes `DateTimeRangeTargeting`, which specifies the date and time ranges for a line item's eligibility to serve. It's utilized by various services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It depends on the `Targeting` component. `DateTimeRangeTargeting` includes the field `targetedDateTimeRanges`, an array of `DateTimeRange` objects, indicating the specific time windows. The namespace is provided as well.\n"]]