Sign in

Batch run pivot reports

documented

Execute multiple pivot reports in a single API call.

POST /v1beta/{property=properties/*}:batchRunPivotReportsAnalytics Data APIno implementation yet0 runs

Input

property*
GA property resource name
properties/1234
dimensions*
Pivot report dimensions (JSON)
[{"name": "city"}]
metrics*
Pivot report metrics (JSON)
[{"name": "sessions"}]
dateRanges*
Date ranges (JSON)
[{"startDate": "2025-01-01", "endDate": "2025-01-31"}]
pivots
Pivot definitions (JSON)
[{"fieldNames": ["city"], "limit": 5}]
Calls Google Analytics as you (your API key is your account); keychains.dev holds the credentials.