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 specific date and time ranges during which a line item is eligible for ad serving."],["It utilizes DateTimeRange objects to specify these periods, allowing for targeted delivery within those defined ranges."],["DateTimeRangeTargeting is a feature within the Google Ad Manager API, specifically under the LineItemService and related services."],["Advertisers can utilize DateTimeRangeTargeting to control when their ads are shown, ensuring alignment with campaign goals and scheduling needs."]]],["The core content describes `DateTimeRangeTargeting`, which specifies the time ranges a line item is eligible to serve. This targeting is a dependency of several services, including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. It utilizes `DateTimeRange` objects, accessible through the `targetedDateTimeRanges` field, to define these eligible timeframes within the specified namespace.\n"]]