Google Ads MCP Server
Provides tools for interacting with Google Ads, enabling account management, GAQL queries, campaign and ad group operations, keyword management, budget and bid adjustments, and change history tracking.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Ads MCP ServerWhat are the top 10 campaigns by clicks in the last 30 days?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
google-ads-mcp
Собствен MCP сървър към Google Ads API. Дава ти Google Ads директно в терминала през Claude Code: питаш на човешки език, а сървърът превежда въпроса в GAQL заявка или в mutate операция срещу реалния акаунт.
Заменя платените wrapper-и, които таксуват на „connected account". Тук цената е нула - Google Ads API е безплатен, а един MCC покрива всичките си дъщерни акаунти.
Node, нула зависимости освен MCP SDK-то. Използва вградения fetch и REST-а на Google Ads
API, без protobuf библиотеката.
Инсталация: виж SETUP.md. Там е целият процес от нула - Node, developer token, Google Cloud, OAuth, вързване към Claude Code и проверка, че работи.
Инструменти (18)
Четене
Инструмент | За какво |
| Цялото дърво под MCC-то. Оттук вадиш |
| Произволна GAQL заявка. Основният read инструмент. |
| До 20 заявки паралелно, може срещу различни акаунти. |
| Метаданни за GAQL полета - вместо да гадаеш имена. |
| Готов одит на акаунт с едно извикване. |
| Историята от Google, включително ръчните промени в UI-я. |
Писане
Инструмент | За какво |
| Сурови операции, всякакъв ресурс. По подразбиране |
| Bulk pause/enable/remove на кампании, ad groups, реклами, думи. |
| Дневен бюджет, с проверка за споделен бюджет. |
| CPC бидове, bulk. |
| Позитивни думи в ad group. |
| Негативни думи на ниво кампания или ad group. |
| RSA, по подразбиране PAUSED. |
Контрол
Инструмент | За какво |
| Локалният change log, с ID за връщане назад. |
| Връща промяна назад от снимката ѝ. |
| Предпазните правила. |
| Диагностика. |
Related MCP server: google-ads-mcp
Безопасност
Всяко писане минава през src/apply.js: guardrails → снимка на старите стойности →
mutate → запис в change log.
Guardrails (~/.google-ads-mcp/guardrails.json):
{
"readOnlyAccounts": [],
"blockedAccounts": [],
"writeAllowlist": [],
"maxBudgetIncreasePct": 50,
"maxDailyBudget": null,
"requireConfirmForRemove": true,
"maxOperationsPerCall": 500
}writeAllowlist е най-силният предпазител: ако не е празен, писане е позволено само в
изброените акаунти. Сложи един тестов акаунт, докато свикнеш, и всички останали са защитени.
Undo (~/.google-ads-mcp/changes.jsonl) - преди всеки update се снима старата стойност
на полетата от updateMask, за да може undo_change да я върне.
Две честни ограничения:
REMOVE е необратим. Google Ads API няма un-remove. Затова
set_statusсREMOVEDискаconfirm: true, а по подразбиране се препоръчваPAUSED.Полета, които не са четими през GAQL, не могат да се снимат. Тогава промяната се записва в лога, но
list_changesя маркираundoable: false.
Поддръжка
Версия на API-то. По подразбиране v24. Google мина на месечен цикъл през 2026.
Всяка версия живее около година. Смяната е един ред в ~/.google-ads.env:
GOOGLE_ADS_API_VERSION=v25Тест след промени:
npm test # MCP handshake, схеми, guardrails - не пипа мрежата
npm run doctor # реална връзка към GoogleФайлове
google-ads-mcp/
SETUP.md инсталация от нула
src/index.js MCP сървър, регистрация на инструментите
src/config.js зареждане на ~/.google-ads.env
src/auth.js OAuth refresh + кеш на access token
src/client.js REST слой (searchStream, mutate, грешки)
src/apply.js guardrails → снимка → mutate → лог
src/guardrails.js предпазни правила
src/changelog.js change log и undo
src/tools/ read.js · write.js · ops.js
bin/oauth.js еднократен OAuth flow
bin/doctor.js диагностика от терминала
test/smoke.mjs offline тест
~/.google-ads.env креденшъли (chmod 600)
~/.google-ads-mcp/ guardrails.json · changes.jsonlThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceAn MCP server implementation that enables generation of Google Ads content through Claude Code, Claude Desktop, and other MCP-compatible clients.
- Alicense-qualityDmaintenanceMCP server for Google Ads campaign reporting and management via Claude, enabling GAQL queries, performance metrics, and campaign modifications.24MIT
- AlicenseCqualityDmaintenanceA comprehensive Google Ads API integration for AI assistants through the Model Context Protocol. This server enables Claude AI and other MCP-compatible clients to manage Google Ads campaigns, analyze performance, and execute GAQL queries with natural language commands.76MIT
- Flicense-qualityBmaintenanceA hosted MCP server that enables managing Google Ads, Microsoft Advertising, TikTok Ads, LinkedIn Ads, and other Google services from ChatGPT, Claude, or any MCP client using natural language, with no code or API keys required.
Related MCP Connectors
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanivanovcreatex-bit/google-ads-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server