dateRanges property

List<DateRange>? dateRanges
getter/setter pair

Date ranges in the request.

The request can have a maximum of 2 date ranges. The response will contain a set of metric values for each combination of the dimensions for each date range in the request. So, if there are two date ranges, there will be two set of metric values, one for the original date range and one for the second date range. The reportRequest.dateRanges field should not be specified for cohorts or Lifetime value requests. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day). Every [ReportRequest](#ReportRequest) within a batchGet method must contain the same dateRanges definition.

Implementation

core.List<DateRange>? dateRanges;