Google Ads search terms
google_search_termsReturns search terms that triggered Google Ads with cost and performance metrics for a date range, optionally filtered by campaign or ad group. Use it to identify queries driving spend.
Instructions
Search terms that triggered ads in one Google Ads account (optionally one campaign or ad group) with performance for a date range, sorted by cost.
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": {
"customer_id": "<customer_id>"
},
"name": "google_search_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start date, YYYY-MM-DD, inclusive. | |
| until | No | End date, YYYY-MM-DD, inclusive. | |
| preset | No | Date preset in the account time zone (default last_30d; last_N excludes today). Use either preset or since+until. | |
| max_rows | No | Maximum rows to return (default 50, max 500). | |
| ad_group_id | No | Optional ad group ID to filter by. | |
| campaign_id | No | Optional campaign ID to filter by. | |
| customer_id | Yes | Google Ads customer ID, e.g. 123-456-7890 (hyphens optional). | |
| login_customer_id | No | Manager (MCC) account ID to access the customer through. Defaults to GOOGLE_ADS_LOGIN_CUSTOMER_ID if set. |