GadsChain
Provides tools for managing Google Ads campaigns, including listing campaigns, reviewing search terms, adjusting budgets, pausing/enabling campaigns, and adding negative keywords.
Click on "Deploy 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., "@GadsChain show me campaigns overspending this month"
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.
GadsChain
The AI layer between your Google Ads account and your marketing decisions.
Battle-tested. Six tools cover the daily-ops loop — campaign listing, search-term review, budget tuning, pause/enable, and negative-keyword grooming. All responses are strict Pydantic models. No raw protobuf reaches the agent.

☁️ Moving to production?
The open-source server runs locally with your own API keys. For hosted infrastructure with multi-account failover, SLA guarantees, and webhook alerts — join the managed cloud waitlist.
Related MCP server: Google Ads MCP Server
The Problem
Raw Google Ads API returns thousands of rows. One bad campaign structure bleeds budget silently. GadsChain reads, sanitizes, and acts on your ad data before waste compounds.
Installation
git clone https://github.com/SnipMCP/gadschain.git
cd gadschain
pip install -e ".[dev]"
cp .env.example .envOr with Docker:
docker-compose up --buildConfiguration
GOOGLE_ADS_DEVELOPER_TOKEN=your_developer_token_here
GOOGLE_ADS_CLIENT_ID=your_oauth_client_id_here
GOOGLE_ADS_CLIENT_SECRET=your_oauth_client_secret_here
GOOGLE_ADS_REFRESH_TOKEN=your_refresh_token_here
GOOGLE_ADS_LOGIN_CUSTOMER_ID=1234567890 # MCC (manager), digits only
GOOGLE_ADS_CUSTOMER_ID=1234567890 # default operating account
GOOGLE_ADS_API_VERSION=v24
LOG_LEVEL=INFOUsage
Three example prompts to send to Claude (or any MCP-compatible agent):
Use get_campaigns to show me which campaigns are bleeding budget this monthRun get_search_terms for the last 30 days and tell me which queries are wasting spendAdd "free", "cheap", "jobs" as negative keywords to campaign 12345
Run it in two terminals
# Tab 1 — start the MCP server
python -m gadschain.server# Tab 2 — call a tool from a Python shell or your MCP client
# Tool signatures:
# get_campaigns(customer_id=None)
# get_search_terms(customer_id=None, days=30, campaign_id=None)
# update_budget(campaign_id, new_budget_dollars, customer_id=None)
# pause_campaign(campaign_id, customer_id=None)
# enable_campaign(campaign_id, customer_id=None)
# add_negative_keywords(campaign_id, keywords, match_type="BROAD", customer_id=None)How it works
Three layers between raw Google Ads output and your model:
Google Ads API → [Fetch] → [Transform] → [Act] → MCP Tool → AI Agent
GAQL micros→$ safe
queries enum→str mutations
CTR→% shared-budget guardFetch: Targeted GAQL queries — only the columns the daily-ops loop actually needs. No
SELECT *, no protobuf pagination footguns.Transform: Currency micros divided to dollars, CTR scaled to percent, enums to human strings, every nested attribute lookup tolerates missing fields without crashing.
Act: Mutations route through guard rails —
REMOVEDblocked on status changes, shared budgets refused (shared_budget_refused), match types validated before any mutate call. The agent never gets an exception; it gets a structured{"error": ..., "message": ...}it can reason about.
Real numbers from a live Franka Pizzeria account (28-day window)
RAW GOOGLE ADS PAYLOAD GADSCHAIN OUTPUT
─────────────────────────────────────────────────
Impressions: 3,389 Spend (28d): $51.41
Clicks: 163 Conversions: 3 ($17.14 each)
CTR: 4.81% Conv. rate: 1.84%
Cost/click: $0.32 avg Surface: Display Network waste
identified on Fridays
($0.11 CPC vs $0.44 avg)In one read of a real account, GadsChain surfaced $51.41 spent over 28 days for 3 conversions at $17.14 each — a 1.84% conversion rate hidden inside a 4.81% CTR that looks healthy on paper. The Display Network was the silent culprit, with Friday clicks averaging $0.11 CPC vs the $0.44 search-side average — cheap junk traffic inflating CTR while contributing nothing to conversions. The agent saw it because the transformed payload made channel attribution legible instead of buried in protobuf.
Roadmap
Managed cloud tier (hosted, multi-tenant, webhook alerts)
Phase 2: ChatGPT REST shim (FastAPI surface over the same six tools)
Bid-strategy tuning tools (target CPA, target ROAS)
Anomaly alerts on cost-per-conversion drift
Contributing
PRs welcome. Run pytest before submitting.
Available Tools
6 toolsadd_negative_keywordsC
Attach campaign-level negative keywords. match_type: EXACT | PHRASE | BROAD.
Inputs: keywords (required), campaign_id (required), match_type, customer_id. Returns: object
enable_campaignA
Enable a paused campaign (sets status=ENABLED).
Inputs: campaign_id (required), customer_id. Returns: object
get_campaignsA
List campaigns for a Google Ads customer with status, budget, and core metrics.
Inputs: customer_id. Returns: object
get_search_termsB
Return search-term performance for the given lookback window (default 30 days).
Inputs: days, campaign_id, customer_id. Returns: object
pause_campaignB
Pause a campaign (sets status=PAUSED).
Inputs: campaign_id (required), customer_id. Returns: object
update_budgetC
Set a campaign's daily budget. Amount is in dollars; converted to micros internally.
Inputs: campaign_id (required), new_budget_dollars (required), customer_id. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct aspect of campaign management: pause/enable, budget, negative keywords, listing campaigns, and search terms. No overlapping purposes.
All tool names follow a consistent verb_noun snake_case pattern (e.g., pause_campaign, get_campaigns, update_budget) with clear verbs and nouns.
With 6 tools, the server is well-scoped for campaign management tasks, focusing on essential operations without unnecessary bloat.
The set covers status management, budget, negative keywords, and performance data, but lacks campaign creation, deletion, and positive keyword management, which are notable gaps.
Maintenance
Related MCP Connectors
Google Ads MCP server: run Search, Display, Demand Gen and PMax campaigns from AI.
1Google Ads MCP server — manage campaigns, keywords, and metrics.
Hosted MCP server for marketing agencies: connect Google Ads, GA4, Search Console, Meta, LinkedIn and more to Claude or ChatGPT. Pull reports and make changes via OAuth login, no setup.
Hosted Google Ads MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for managing ad campaigns across Google Ads, Meta, and more. Enables deploying campaigns, checking performance, and managing budgets from terminal or AI assistants.MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that lets any LLM manage Google Ads campaigns from the terminal. Supports read and write operations.-
- 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
- AlicenseNot gradedqualityFmaintenanceMCP server for Google Ads API that enables LLMs to search and query Google Ads accounts, retrieve resource metadata, and generate keyword ideas.Apache 2.0