Google Ads
MCP server by get-mcp-ads Verified · getmcpads.com
Google Ads MCP server that lets AI assistants query campaign performance, research keywords and prepare campaign changes. It is for advertisers and agencies who run it locally with their own platform credentials.
Install Google Ads
Built from the published package, never by AI.
claude mcp add google-ads -e GOOGLE_ADS_DEVELOPER_TOKEN=YOUR_GOOGLE_ADS_DEVELOPER_TOKEN -e GOOGLE_ADS_CLIENT_ID=YOUR_GOOGLE_ADS_CLIENT_ID -e GOOGLE_ADS_CLIENT_SECRET=YOUR_GOOGLE_ADS_CLIENT_SECRET -e GOOGLE_ADS_REFRESH_TOKEN=YOUR_GOOGLE_ADS_REFRESH_TOKEN -- npx -y @getmcpads/google-ads-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-ads": {
"env": {
"GOOGLE_ADS_CLIENT_ID": "YOUR_GOOGLE_ADS_CLIENT_ID",
"GOOGLE_ADS_CLIENT_SECRET": "YOUR_GOOGLE_ADS_CLIENT_SECRET",
"GOOGLE_ADS_REFRESH_TOKEN": "YOUR_GOOGLE_ADS_REFRESH_TOKEN",
"GOOGLE_ADS_DEVELOPER_TOKEN": "YOUR_GOOGLE_ADS_DEVELOPER_TOKEN"
},
"args": [
"-y",
"@getmcpads/google-ads-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-ads": {
"env": {
"GOOGLE_ADS_CLIENT_ID": "YOUR_GOOGLE_ADS_CLIENT_ID",
"GOOGLE_ADS_CLIENT_SECRET": "YOUR_GOOGLE_ADS_CLIENT_SECRET",
"GOOGLE_ADS_REFRESH_TOKEN": "YOUR_GOOGLE_ADS_REFRESH_TOKEN",
"GOOGLE_ADS_DEVELOPER_TOKEN": "YOUR_GOOGLE_ADS_DEVELOPER_TOKEN"
},
"args": [
"-y",
"@getmcpads/google-ads-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-ads": {
"env": {
"GOOGLE_ADS_CLIENT_ID": "YOUR_GOOGLE_ADS_CLIENT_ID",
"GOOGLE_ADS_CLIENT_SECRET": "YOUR_GOOGLE_ADS_CLIENT_SECRET",
"GOOGLE_ADS_REFRESH_TOKEN": "YOUR_GOOGLE_ADS_REFRESH_TOKEN",
"GOOGLE_ADS_DEVELOPER_TOKEN": "YOUR_GOOGLE_ADS_DEVELOPER_TOKEN"
},
"args": [
"-y",
"@getmcpads/google-ads-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-ads --env GOOGLE_ADS_DEVELOPER_TOKEN=YOUR_GOOGLE_ADS_DEVELOPER_TOKEN --env GOOGLE_ADS_CLIENT_ID=YOUR_GOOGLE_ADS_CLIENT_ID --env GOOGLE_ADS_CLIENT_SECRET=YOUR_GOOGLE_ADS_CLIENT_SECRET --env GOOGLE_ADS_REFRESH_TOKEN=YOUR_GOOGLE_ADS_REFRESH_TOKEN -- npx -y @getmcpads/google-ads-mcp-server{
"mcpServers": {
"google-ads": {
"env": {
"GOOGLE_ADS_CLIENT_ID": "YOUR_GOOGLE_ADS_CLIENT_ID",
"GOOGLE_ADS_CLIENT_SECRET": "YOUR_GOOGLE_ADS_CLIENT_SECRET",
"GOOGLE_ADS_REFRESH_TOKEN": "YOUR_GOOGLE_ADS_REFRESH_TOKEN",
"GOOGLE_ADS_DEVELOPER_TOKEN": "YOUR_GOOGLE_ADS_DEVELOPER_TOKEN"
},
"args": [
"-y",
"@getmcpads/google-ads-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-ads npx -y @getmcpads/google-ads-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-ads block.
About
This MCP server connects an AI assistant to the Google Ads API. It provides 35 read tools covering campaigns, ad groups, budgets, bidding strategies, search terms, landing pages, Performance Max assets, Shopping, recommendations and change history. It also includes Keyword Planner tools for keyword ideas, historical metrics and forecasts.
The server runs locally over stdio with your own developer token, OAuth client and refresh token, and requests go directly to the platform. It uses Google Ads API v26 and a compatibility matrix to catch invalid metric and dimension combinations before they reach the API. Its 13 write tools are disabled by default, and each one previews a change before it applies. The project is aimed at users of MCP clients such as Claude Desktop, Claude Code and Cursor who work with Google Ads data.
Written from the project's README and checked against it.
Tools it gives your assistant
google_ads_health_checkVerifies the four credentials, lists reachable accounts and reports missing settings without printing secrets.google_ads_validate_queryChecks a metric and dimension combination before a query is sent to the API.google_ads_run_gaqlRuns a raw GAQL query for users who want to write Google Ads Query Language themselves.google_ads_run_readonly_rpcReaches Google Ads services that GAQL cannot query, such as Keyword Planner.
What you need
- Google Ads developer token with Basic Access for live accounts
- OAuth client ID and client secret from a Google Cloud project
- Refresh token from the OAuth consent flow
- Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of these lines
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_Environment variable, secret | Required | Google Ads API developer token, Basic Access or above. |
GOOGLE_Environment variable | Required | OAuth client ID. |
GOOGLE_Environment variable, secret | Required | OAuth client secret. |
GOOGLE_Environment variable, secret | Required | OAuth refresh token. |
GOOGLE_Environment variable | Optional | Manager (MCC) account ID, when the customer sits under one. |
GOOGLE_Environment variable | Optional | Comma-separated customer IDs every tool is limited to. Optional in 2.x, required in 3.0.0. |
GOOGLE_Environment variable | Optional | Set to true to expose 13 write tools. Calls preview by default; confirm:true applies changes. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List my Google Ads accounts
- Run the Google Ads health check and show what is missing
- Show keyword ideas and historical volumes for running shoes
Good to know
- Write tools are disabled by default and must be enabled with GOOGLE_ADS_ENABLE_WRITES=true.
- Google Ads developer token review by Google can take a few days.
- GOOGLE_ADS_ACCOUNT_IDS is optional in 2.x and becomes required in 3.0.0.
- Hosted getmcpads features such as MCP Apps are not part of this repository.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Google Ads
All alternatives →Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.
Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.
NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.
Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.
Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.
Reports new AI model, product, tool and repo names as they start to surge, with the generic search terms people use for them. Built for people who make SEO pages, newsletters or directories around new AI terms.
Google Ads: common questions
Does this Google Ads MCP server change my campaigns?
Write tools are off by default. When enabled, each write tool previews a change and requires explicit confirmation before it applies.
Do I need to know GAQL to use it?
No. The server carries the metric and dimension catalogues, so the assistant can request metrics like cost and conversions by name. Raw GAQL is still available through google_ads_run_gaql.
Is my data sent to a third party?
The source says requests go directly from your machine to the Google Ads platform when you run the server locally.
How do I install Google Ads?
In Claude Code run claude mcp add google-ads -e GOOGLE_ADS_DEVELOPER_TOKEN=YOUR_GOOGLE_ADS_DEVELOPER_TOKEN -e GOOGLE_ADS_CLIENT_ID=YOUR_GOOGLE_ADS_CLIENT_ID -e GOOGLE_ADS_CLIENT_SECRET=YOUR_GOOGLE_ADS_CLIENT_SECRET -e GOOGLE_ADS_REFRESH_TOKEN=YOUR_GOOGLE_ADS_REFRESH_TOKEN -- npx -y @getmcpads/google-ads-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Ads the official server?
Google Ads is published by getmcpads.com from its verified domain in the official MCP Registry.
Is Google Ads free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Google Ads safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
Does Google Ads work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
