ga4_run_pivot_report
Create a GA4 pivot report with rows, columns, and values for cross-dimensional metric analysis.
Instructions
Run a GA4 pivot report.
pivots: list of pivot specs, each with:
field_names: list of dimension names to pivot on
limit: max rows per pivot
offset: pagination offset
order_bys: list of OrderBy dicts (same shape as run_report's order_bys)
metric_aggregations: list of TOTAL|MINIMUM|MAXIMUM|COUNT
Use when you want a 2D view: e.g. rows=date, columns=device, values=sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivots | No | ||
| metrics | No | ||
| dimensions | No | ||
| date_ranges | No | ||
| property_id | Yes | ||
| currency_code | No | ||
| metric_filter | No | ||
| keep_empty_rows | No | ||
| dimension_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |