# Generate Google Ads keyword historical metrics

Get Keyword Planner search-volume history for supplied keywords. Works on your own Google Ads account, connected through Get MCP Ads. Needs customer id and keywords.

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. Agentik price: $0.005 per call.

- Tool ID: `google-ads/generate-keyword-historical-metrics`
- Name in the catalog: Google Ads: Generate keyword historical metrics
- Provider: [Google Ads](/providers/google-ads.md)
- Capability: [Google Keyword Planner](/tools/google-ads/keyword-planner.md)
- Price: $0.005 per call
- Workspace access is automatic. Connect a platform using the link and notice returned to your AI assistant; an owner or admin completes platform consent and returns to the conversation; see the [guide](/docs/getmcpads.md).
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.005
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "pattern": "^\\d[\\d-]*\\d$|^\\d$",
      "description": "Google Ads serving customer ID; use the client account, not its MCC manager"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "minItems": 1,
      "maxItems": 10000,
      "description": "Keywords to analyze; Google may combine near-exact close variants"
    },
    "geoTargetIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d+$"
      },
      "maxItems": 10,
      "default": [],
      "description": "Geo target criterion IDs, e.g. 2250 for France; empty means all geographies"
    },
    "languageId": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Optional language criterion ID, e.g. 1002 for French; omit for all languages"
    },
    "network": {
      "type": "string",
      "enum": [
        "GOOGLE_SEARCH",
        "GOOGLE_SEARCH_AND_PARTNERS"
      ],
      "default": "GOOGLE_SEARCH",
      "description": "Google Ads search network selector used for planning."
    },
    "includeAdultKeywords": {
      "type": "boolean",
      "default": false,
      "description": "Allow adult keyword ideas where supported by the provider and the selected market."
    },
    "includeAverageCpc": {
      "type": "boolean",
      "default": true,
      "description": "Request legacy average CPC in addition to top-of-page bid ranges"
    },
    "includeDeviceBreakdown": {
      "type": "boolean",
      "default": false,
      "description": "Return aggregate searches by device across all requested keywords"
    },
    "includeMonthlySearchVolumes": {
      "type": "boolean",
      "default": true,
      "description": "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"
    },
    "historyMonths": {
      "type": "integer",
      "minimum": 3,
      "maximum": 48,
      "default": 24,
      "description": "History length when no explicit YYYY-MM range is supplied; 24 enables YoY calculation"
    },
    "startYearMonth": {
      "type": "string",
      "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
      "description": "Optional inclusive historical range start YYYY-MM"
    },
    "endYearMonth": {
      "type": "string",
      "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
      "description": "Optional inclusive historical range end YYYY-MM"
    },
    "workspace_id": {
      "type": "string",
      "description": "Authorized workspace ID from list_accounts/list_workspaces. Use the user's chosen workspace; never guess between clients. Optional when a unique account identifies it."
    }
  },
  "required": [
    "customerId",
    "keywords"
  ]
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[REST inspection](https://api.agentik.cc/v1/tools/google-ads/generate-keyword-historical-metrics) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/google-ads/generate-keyword-historical-metrics) · [Agent index](/llms.txt)
