type DateTimeRangeTargeting (v202402)
- 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 allows for specifying targeted date and time ranges."],["It is utilized by various services, including AdRuleService, AdjustmentService, ForecastService, and others, to define when specific actions or rules should apply."],["The `targetedDateTimeRanges` field within DateTimeRangeTargeting holds an array of DateTimeRange objects, enabling detailed scheduling."],["It is a component of the Targeting structure in Google Ad Manager's YieldGroupService, used for refined ad delivery control."],["The namespace for DateTimeRangeTargeting is `https://www.google.com/apis/ads/publisher/v202402`, providing a consistent identifier for integration."]]],["The content details the `DateTimeRangeTargeting` feature, which is applicable across multiple services including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It specifies a namespace and indicates that it depends on `Targeting`. The core field is `targetedDateTimeRanges`, which contains an array of `DateTimeRange` objects. This defines the targeted time periods.\n"]]