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: 5c9bea8f.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |