Take our developer survey. We want your feedback so we can learn how to improve Google Analytics, and make it an even better tool for you.

DateRange

A contiguous set of days: startDate, startDate + 1 day, ..., endDate. The start and end dates are specified in ISO8601 date format YYYY-MM-DD.

JSON representation
{
  "startDate": string,
  "endDate": string
}
Fields
startDate

string

The start date for the query in the format YYYY-MM-DD.

endDate

string

The end date for the query in the format YYYY-MM-DD.