google_ads_generate_keyword_historical_metrics
Retrieve up to 48 months of historical search volume, CPC, and competition metrics for keywords to inform Google Ads planning.
Instructions
Get Keyword Planner search-volume history for supplied keywords. Returns average monthly searches, monthly volumes (up to 48 months), latest volume, computed 3-month and YoY changes, competition, CPC/bid ranges, close variants, and optional device totals. This is a read-only planless RPC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | GOOGLE_SEARCH | |
| keywords | Yes | Keywords to analyze; Google may combine near-exact close variants | |
| customerId | Yes | Google Ads serving customer ID; use the client account, not its MCC manager | |
| languageId | No | Optional language criterion ID, e.g. 1002 for French; omit for all languages | |
| endYearMonth | No | Optional inclusive historical range end YYYY-MM | |
| geoTargetIds | No | Geo target criterion IDs, e.g. 2250 for France; empty means all geographies | |
| historyMonths | No | History length when no explicit YYYY-MM range is supplied; 24 enables YoY calculation | |
| startYearMonth | No | Optional inclusive historical range start YYYY-MM | |
| includeAverageCpc | No | Request legacy average CPC in addition to top-of-page bid ranges | |
| includeAdultKeywords | No | ||
| includeDeviceBreakdown | No | Return aggregate searches by device across all requested keywords | |
| includeMonthlySearchVolumes | No | Include every monthly point in the MCP output. Set false to trim an allowed response; Google's upstream series and the 50,000-point guard are unchanged |