type DateRange (v202505)

  • A DateRange represents a range of dates with optional upper and lower bounds.

  • An open-ended date range can be defined by setting only the start date or the end date.

  • The startDate field represents the beginning of the range and is optional, having no lower bound if not set, but requiring endDate to be specified in this case.

  • The endDate field represents the end of the range and is optional, having no upper bound if not set, but requiring startDate to be specified in this case.

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/v202505

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.