Connector guide4-minute read17 MCP tools7 languages

How to Connect Google Ads to Gemini — via MCP

Google Ads for AI agents: campaign, ad group, ad and keyword performance, search terms, Quality Score, budget pacing and impression share, conversion actions, change history, recommendations, manager (MCC) accounts and any GAQL query. 17 read-only tools, OAuth2.

HCBy HelpCode teamUpdated 4 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

gemini · Google Ads
How did our Google Ads account do in the last 30 days? Spend, conversions, cost per conversion and the main campaigns. Read only.
AI
Callinggads_list_accessible_customersgads_campaign_performancegads_account_daily_metricsgads_conversion_actions
One Performance Max campaign carried all spend and conversions; the Search campaign is paused. The cost per conversion looks too good for B2B: two short bursts of clicks at about one cent produced most of the month's conversions, and almost all of them are one sign-up action tracked as a page visit. Compare those days with real sign-ups before trusting the campaign's optimization.
gads_playbookgads_campaign_performancegads_search_termsgads_keyword_performancegads_budget_pacinggads_run_gaql+ more
  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Real prompts that work after a 4-minute setup.

Drop these into Gemini once the connector is installed. Tools listed below each prompt are auto-called by the agent.

“List the search terms from the last 30 days that cost money and never converted, grouped into negative keyword ideas.”
gads_search_termsgads_run_gaql
“Which keywords have a Quality Score of 5 or lower, and which component is below average?”
gads_keyword_performance
“Are my Search campaigns losing impression share to budget or to rank?”
gads_budget_pacing
“Who changed bids or budgets in the account last week?”
gads_change_history

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Google Ads in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Google Ads for AI agents: campaign, ad group, ad and keyword performance, search terms, Quality Score, budget pacing and impression share, conversion actions, change history, recommendations, manager (MCC) accounts and any GAQL query. 17 read-only tools, OAuth2.

Try asking

Example prompts for Google Ads

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Google Ads · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Google Ads, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Google Ads + Gemini

Google Ads for AI agents: campaign, ad group, ad and keyword performance, search terms, Quality Score, budget pacing and impression share, conversion actions, change history, recommendations, manager (MCC) accounts and any GAQL query. 17 read-only tools, OAuth2.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

Step 1 — Get credentials

This connector reads the Google Ads API (googleads.googleapis.com, v25) with Google Ads Query Language (GAQL): accounts and manager (MCC) hierarchies, campaigns, ad groups, ads, keywords, search terms, budgets and impression share, conversion actions, change history and recommendations. 17 tools, all read-only.

Start with gads_playbook. It costs no API call and maps common questions (account health, wasted spend, negative keywords, Quality Score, budget pacing, period comparison, tracking audit, Performance Max, MCC roll-ups) to the right tools and tested GAQL queries.

…(continued in the in-app connector instructions)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Gemini CLI reads MCP servers from ~/.gemini/settings.json (or %APPDATA%\gemini\settings.json on Windows). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → MCP Servers → your server → API keys.
  2. Save the file and restart gemini.
  3. Run /mcp inside the Gemini CLI — Google Ads should be listed as available.
  4. Vertex AI Studio: pass https://cloud.anythingmcp.com/mcp to the tools array of your request with the same X-API-Key header.

Available tools

ToolWhat it does
gads_playbookSTART HERE for any Google Ads question: returns, with NO API call, a router from common questions (account health, wasted spend…
gads_list_accessible_customersList the Google Ads accounts the authorised Google user can access directly, as resource names ('customers/1234567890')
gads_get_customerRead one Google Ads account's settings: name, currency, time zone (all dates in reports are in this zone), whether it is a manager (MCC) or…
gads_list_client_accountsList the accounts under a manager (MCC) account: id, name, depth in the hierarchy, whether each is itself a manager, currency, time zone…
gads_run_gaqlRun any read-only Google Ads Query Language (GAQL) query against one account: every resource, attribute, segment and metric of the Google…
gads_query_field_catalogLook up Google Ads API field metadata (names, category RESOURCE/ATTRIBUTE/SEGMENT/METRIC, data type, enum values, whether selectable…
gads_account_daily_metricsAccount-level totals per day for a date range: impressions, clicks, cost, conversions, conversion value
gads_list_campaignsList the account's campaigns (removed ones excluded) with status, serving status, primary status and its reasons (why a campaign is limited…
gads_campaign_performanceCampaign performance totals for a date range, one row per campaign, sorted by cost: impressions, clicks, CTR, average CPC, cost…
gads_ad_group_performanceAd group performance totals for a date range, one row per ad group with its campaign, sorted by cost
gads_ad_performanceAd performance for a date range with the ad itself: type, final URLs, responsive search ad headlines and descriptions, ad strength and…
gads_keyword_performanceKeyword performance for a date range with match type, status and Quality Score components (quality score 1-10, expected CTR, ad relevance…
gads_search_termsThe search terms report: what people actually typed before your Search ads showed, with campaign, ad group, whether the term is already…
gads_budget_pacingEnabled campaigns with their daily budget, spend in the date range and Search impression share lost to budget and to rank
gads_conversion_actionsList the account's conversion actions (removed ones excluded): name, type, source, category, status, whether each is a primary goal…
gads_change_historyWho changed what in the account and when: timestamp, user email, tool used (web UI, API, scripts, Editor), resource type and name…
gads_recommendationsGoogle's current optimisation recommendations for the account (budget, bidding, keywords, ads, assets...) with the campaign they apply to…

FAQ

Does Gemini 1.5 Pro or 2.x support MCP? Yes — Gemini CLI ≥ 0.4 and Vertex AI tools API both accept MCP httpUrl connectors with custom headers.

Next steps

Was this guide helpful?

Your Google Ads agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect Google Ads to ChatGPT: Campaign Data via MCP

Add Google Ads to ChatGPT as a developer-mode app: ChatGPT reads campaigns, search terms, Quality Score and budgets from your account. Read-only, no developer token.

Connectors

How to Connect Google Ads to Claude: Custom Connector in 15 Minutes

Add Google Ads to claude.ai and Claude Desktop as a custom connector: Claude reads campaigns, search terms, Quality Score and budgets. Read-only, no developer token.

Connectors

How to Connect Google Ads to Cursor — via MCP

Google Ads for AI agents: campaign, ad group, ad and keyword performance, search terms, Quality Score, budget pacing and impression share, conversion actions, change history, recommendations, manager (MCC) accounts and any GAQL query. 17 read-only tools, OAuth2.

Connectors

Google Ads API Without a Developer Token: What Changed in September 2026

Google retired Google Ads API developer tokens on 9 September 2026. Access now belongs to your Google Cloud project: Test, Explorer, Basic and Standard, and how to get each.

Connectors

Google Ads Audit with Claude: A Tested Recipe for Your Own Account

Audit a Google Ads account with Claude in minutes: spend, conversion quality, wasted search terms, Quality Score, budgets and tracking, straight from the API.

Connectors

Google Ads MCP Server: Connect Google Ads to Claude, ChatGPT and Any Agent

Ask Claude or ChatGPT about your Google Ads: campaigns, search terms, Quality Score, budgets, conversions. Read-only, no developer token, set up in 15 minutes.