Date ranges tab
The Google Analytics Data API allows up to four date ranges to be specified per report request. A minimum of one date range is always required. If more than one date range is used, a special dimension called DateRange
must be added as an output field in order to separate stacked output rows.

Field
Description
Range name
Specifies the optional name of the date range. This name displays in the DateRange dimension of an output report.
Start spec
Specifies the starting day of the date range. Value formats can be provided in YYYY-MM-DD
, NdaysAgo
, or values of today
and yesterday
.
End spec
Specifies the ending day of the date range. Value formats can be provided in YYYY-MM-DD
, NdaysAgo
, or values of today
and yesterday
.
Last updated
Was this helpful?