ga4_check_compatibility
Avoid GA4 Data API errors by testing which dimensions and metrics can be combined. Use this check before running a report to identify compatible pairs and adjust your query.
Instructions
Check which of the given GA4 dimensions/metrics can be combined in ONE report on this property (the Data API rejects incompatible pairs). Call this BEFORE ga4_run_report when combining unusual dimensions/metrics; drop or replace anything reported incompatible instead of retrying blind. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | Metric API names to test. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| dimensions | No | Dimension API names to test. |