type DateRange (v202411)
Represents a range of dates that has an upper and a lower bound.
An open ended date range can be described by only setting either
one of the bounds, the upper bound or the lower bound.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
startDate
|
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.
|
endDate
|
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.
|
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-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["DateRange objects represent a range of dates with a lower and upper bound."],["Date ranges can be open-ended by specifying only a `startDate` or an `endDate`."],["If either `startDate` or `endDate` is not provided, the other must be specified to define the range."],["The `startDate` and `endDate` fields use the `Date` object for their values."],["This object is part of the Google Ad Manager API and resides within the specified namespace."]]],["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"]]