ga4_check_compatibility
Check whether selected dimensions and metrics can be queried together before running a report, preventing costly errors.
Instructions
Validate whether a dim/metric combo can be queried together. Cheap pre-flight.
compatibility_filter: 'COMPATIBLE' (default, returns only fields that work with the provided selection) or 'INCOMPATIBLE' (returns only fields that would conflict).
Use before run_report when composing exploratory queries, cheaper than catching a GoogleAdsException after a big failed report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | ||
| dimensions | No | ||
| property_id | Yes | ||
| metric_filter | No | ||
| dimension_filter | No | ||
| compatibility_filter | No | COMPATIBLE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |