Google Ads: look up report fields
get_resource_metadataRetrieves the selectable, filterable, and sortable fields for a specific Google Ads resource.
Use this tool to find out which fields you can select, filter by, or sort by
when querying a specific resource (e.g., 'campaign', 'ad_group').
Do not guess fields, you MUST use this tool to discover them.
The responses of this tool should be cached, as they don't change frequently.
A name that is not a resource has no fields; the answer then carries a
note and valid_resources, the resource names the search tool accepts.
Args:
resource_name: The name of the Google Ads resource (e.g., 'campaign', 'ad_group').Tools revision: d80f65c0.
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_name": "<resource_name>"
},
"name": "get_resource_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |