type DateTimeRangeTargeting (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
DateTimeRangeTargeting specifies the date and time ranges when a line item is eligible to serve.
This targeting type is used across various services including AdRule, Adjustment, Forecast, LineItem, NativeStyle, ProposalLineItem, Proposal, PublisherQueryLanguage, TargetingPreset, and YieldGroup Services.
It depends on the Targeting entity within the LineItemService.
The key field for DateTimeRangeTargeting is targetedDateTimeRanges, which is an array of DateTimeRange objects.
The namespace for this service is https://www.google.com/apis/ads/publisher/v202502.
[[["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 content details `DateTimeRangeTargeting`, which specifies the date and time ranges for line item eligibility. This feature is associated with multiple services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. `DateTimeRangeTargeting` uses `DateTimeRange` in a list structure, and it depends on the `Targeting` dependency. The namespace is defined as `https://www.google.com/apis/ads/publisher/v202502`.\n"]]