Ga4 Report
ga4_reportRun a Google Analytics 4 report (Data API runReport) on a property from ga4_properties. Metrics and dimensions use GA4 API names, e.g. metrics sessions, totalUsers, conversions, purchaseRevenue, ecommercePurchases; dimensions date, sessionDefaultChannelGroup, sessionSourceMedium, landingPagePlusQueryString, itemName, deviceCategory, country. Dates: YYYY-MM-DD, today, yesterday or NdaysAgo. Returns rows plus totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return, 1–1000; default 100. | |
| filter | No | Keep only rows whose dimension matches. | |
| account | No | Google account e-mail to read as, when you have several; an agent reads as the account connected to it. | |
| metrics | Yes | GA4 metric API names, e.g. ["sessions", "purchaseRevenue"]. | |
| end_date | No | YYYY-MM-DD, today, yesterday or NdaysAgo; default yesterday. | |
| order_by | No | A metric or dimension to sort by, descending; prefix + for ascending. | |
| property | Yes | GA4 property id, e.g. 312345678 (from ga4_properties). | |
| dimensions | No | GA4 dimension API names, e.g. ["date", "sessionDefaultChannelGroup"]. | |
| start_date | No | YYYY-MM-DD, today, yesterday or NdaysAgo; default 28daysAgo. |