Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
DateTimeRangeTargeting defines the specific date and time ranges during which a line item is eligible to serve ads.
It utilizes DateTimeRange objects to specify these targeted time periods.
This feature is part of the AdRuleService and is associated with various other services like AdjustmentService, ForecastService, and more.
DateTimeRangeTargeting can be accessed and managed through the Google Ad Manager API under the namespace https://www.google.com/apis/ads/publisher/v202411.
The targetedDateTimeRanges field within DateTimeRangeTargeting allows you to define an array of DateTimeRange objects for scheduling ad delivery.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The `DateTimeRangeTargeting` specifies the time periods when a line item can serve. It's a dependency for the `AdRuleService`, with links to multiple other services including `AdjustmentService`, `ForecastService`, and `LineItemService`. The core element is the `targetedDateTimeRanges` field, which is an array of `DateTimeRange` objects. The namespace for this information is `https://www.google.com/apis/ads/publisher/v202411`.\n"]]