# Date ranges tab

The Google Analytics Data API allows up to [four date ranges](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/DateRange) 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.

![Google Analytics v4 Date ranges tab](/files/XWf7DknzSyhjo0Tssr6m)

| 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`.   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/google-analytics-v4/google-analytics-v4-options/google-analytics-v4-date-ranges-tab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
