analytics run report
analytics_run_reportRuns a GA4 Data API report to retrieve metrics and dimensions for a property over specified date ranges, with paging for up to 1,000 rows per call.
Instructions
Run a GA4 Data API report.
property_id: numeric ID or 'properties/'. metrics: e.g. ["activeUsers", "sessions"] (max 10). dimensions: e.g. ["date", "country"] (max 9). date_ranges: [{"start_date": "28daysAgo", "end_date": "today"}] (max 4). Returns headers and rows (at most 1000 per call; page with offset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| metrics | Yes | ||
| descending | No | ||
| dimensions | No | ||
| date_ranges | Yes | ||
| property_id | Yes | ||
| order_by_metric | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||