Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This page provides documentation for the DateTimeRange object used in Google Ad Manager's API.
DateTimeRange specifies a start and end time using the startDateTime and endDateTime fields respectively.
These fields utilize the DateTime object for their values, defining the temporal boundaries of the range within Ad Manager services like AdRuleService, AdjustmentService, etc.
The DateTimeRange object is a crucial component of DateTimeRangeTargeting within the YieldGroupService, enabling the scheduling and targeting of 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 document outlines several services related to ad management, including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. These services utilize a `DateTimeRange` dependency, which defines a time period. `DateTimeRange` has two fields: `startDateTime` and `endDateTime`, both referencing the `DateTime` type. The namespace for these definitions is `https://www.google.com/apis/ads/publisher/v202411`.\n"]]