The start date of this range. This field is optional and if it is not set then there is no
lower bound on the date range. If this field is not set then endDate must be specified.
The end date of this range. This field is optional and if it is not set then there is no upper
bound on the date range. If this field is not set then startDate must be specified.
[[["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."],[[["\u003cp\u003eDateRange objects represent a range of dates with a lower and upper bound.\u003c/p\u003e\n"],["\u003cp\u003eDate ranges can be open-ended by specifying only a \u003ccode\u003estartDate\u003c/code\u003e or an \u003ccode\u003eendDate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf either \u003ccode\u003estartDate\u003c/code\u003e or \u003ccode\u003eendDate\u003c/code\u003e is not provided, the other must be specified to define the range.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estartDate\u003c/code\u003e and \u003ccode\u003eendDate\u003c/code\u003e fields use the \u003ccode\u003eDate\u003c/code\u003e object for their values.\u003c/p\u003e\n"],["\u003cp\u003eThis object is part of the Google Ad Manager API and resides within the specified namespace.\u003c/p\u003e\n"]]],["The content describes the `DateRange` object within the `AdjustmentService` for the `ForecastService`. A `DateRange` represents a period defined by `startDate` and `endDate`. Both fields are optional; specifying only one creates an open-ended range. If `startDate` is omitted, `endDate` must be set, and vice-versa. The service namespace is `https://www.google.com/apis/ads/publisher/v202411`, and the dependent components are `ForecastAdjustment` and `HistoricalBasisVolumeSettings`.\n"],null,["# type DateRange (v202411)\n\n**Service** \n**AdjustmentService** [ForecastService](/ad-manager/api/reference/v202411/ForecastService.DateRange) **Dependencies** \n[ForecastAdjustment](/ad-manager/api/reference/v202411/AdjustmentService.ForecastAdjustment) [HistoricalBasisVolumeSettings](/ad-manager/api/reference/v202411/AdjustmentService.HistoricalBasisVolumeSettings) \n▼\n**DateRange**\n\n\nRepresents a range of dates that has an upper and a lower bound.\n\nAn open ended date range can be described by only setting either\none of the bounds, the upper bound or the lower bound.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `startDate` | ` `[Date](/ad-manager/api/reference/v202411/AdjustmentService.Date)` ` The start date of this range. This field is optional and if it is not set then there is no lower bound on the date range. If this field is not set then `endDate` must be specified. |\n| ### `endDate` | ` `[Date](/ad-manager/api/reference/v202411/AdjustmentService.Date)` ` The end date of this range. This field is optional and if it is not set then there is no upper bound on the date range. If this field is not set then `startDate` must be specified. |"]]