get_field_metadata
Retrieve selectable, filterable, and sortable fields for any Google Ads GAQL resource to build valid queries.
Instructions
Get selectable, filterable, and sortable fields for a GAQL resource.
Args: resource_type: Resource name (e.g., 'campaign', 'ad_group', 'ad_group_ad'). customer_id: Customer ID (uses default if not provided).
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": {
"resource_type": "<resource_type>"
},
"name": "get_field_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | ||
| resource_type | Yes |