type DateTimeRangeTargeting (v202408)
- 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 2024-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["DateTimeRangeTargeting allows you to target specific date and time ranges for your ad campaigns."],["It utilizes the DateTimeRange object to define these periods."],["You can apply DateTimeRangeTargeting through various services like AdRuleService, AdjustmentService, and others listed."],["This targeting feature is a dependency of the broader Targeting functionality within YieldGroupService."],["The namespace for DateTimeRangeTargeting is `https://www.google.com/apis/ads/publisher/v202408`."]]],["The core content defines `DateTimeRangeTargeting` within the namespace `https://www.google.com/apis/ads/publisher/v202408`. It outlines its usage across multiple services including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It depends on `Targeting`, and contains the field `targetedDateTimeRanges` which is an array of `DateTimeRange`.\n"]]