GAQL field metadata
gaql_fieldsDiscover GAQL field definitions including data types, selectability, and compatible resources. Use wildcards to filter fields, segments, and metrics for precise query building.
Instructions
Look up GAQL fields, resources, segments and metrics: data type, whether selectable/filterable/sortable, enum values, and which resources they can be selected with. Use name_like with SQL wildcards (e.g. 'campaign.%' for every campaign field, 'metrics.%conversion%').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name_like": "<name_like>"
},
"name": "gaql_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| category | No | ||
| name_like | Yes | LIKE pattern on the field name, e.g. 'ad_group_criterion.keyword.%' | |
| selectable_only | No |