type DateRange (v202402)
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/v202402
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["DateRange in the AdjustmentService of the ForecastService represents a range of dates with a lower and upper bound."],["An open-ended date range can be created by setting either the start date (startDate) or the end date (endDate)."],["If startDate is not specified, there's no lower bound; if endDate is not specified, there's no upper bound, but one of them must be specified."],["Both startDate and endDate fields utilize the Date object within the AdjustmentService and are optional."],["The DateRange object's namespace is `https://www.google.com/apis/ads/publisher/v202402`."]]],["The `DateRange` defines a period with optional start (`startDate`) and end (`endDate`). If `startDate` is absent, there's no lower bound, requiring `endDate`; conversely, an absent `endDate` signifies no upper bound, necessitating `startDate`. It is related to `AdjustmentService` and `ForecastService` and depends on `ForecastAdjustment` and `HistoricalBasisVolumeSettings`. This service represents dates using the `Date` format, in the namespace :`https://www.google.com/apis/ads/publisher/v202402`.\n"]]