google-ads-mcp
Provides tools for Google Ads campaign reporting and management, including querying, performance metrics, budget updates, and status management.
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., "@google-ads-mcp Show me last week's campaign performance"
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 Server
MCP server for Google Ads campaign reporting and management via Claude.
Setup
1. Google Cloud Console
Go to Google Cloud Console
Create a new project (or select existing)
Enable the Google Ads API
Go to APIs & Services > Credentials
Create an OAuth 2.0 Client ID (type: Desktop app)
Note your Client ID and Client Secret
2. Developer Token
Sign in to your Google Ads account
Go to Tools & Settings > API Center (
ads.google.com/aw/apicenter)Apply for a developer token (test accounts get one immediately)
Note your Developer Token
3. OAuth Refresh Token
# Set your credentials first
export GOOGLE_ADS_CLIENT_ID=your_client_id
export GOOGLE_ADS_CLIENT_SECRET=your_client_secret
# Run the auth setup
npm run authThis opens a browser for Google sign-in. After authorizing, you'll get a refresh token.
4. Find Your Customer ID
Your Google Ads Customer ID is the 10-digit number shown in the top-right of the Google Ads UI (e.g., 123-456-7890). Enter it without dashes: 1234567890.
5. Configure in Claude Code
Add to your Claude Code settings (~/.claude/settings.local.json or project-level):
{
"mcpServers": {
"google-ads": {
"command": "node",
"args": ["/path/to/google-ads-mcp/dist/index.js"],
"env": {
"GOOGLE_ADS_DEVELOPER_TOKEN": "your_developer_token",
"GOOGLE_ADS_CLIENT_ID": "your_client_id",
"GOOGLE_ADS_CLIENT_SECRET": "your_client_secret",
"GOOGLE_ADS_REFRESH_TOKEN": "your_refresh_token",
"GOOGLE_ADS_CUSTOMER_ID": "1234567890"
}
}
}
}Manager Account (MCC)
If your refresh token is from a Manager Account that manages the target account, add:
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "your_manager_account_id"Related MCP server: Google Ads MCP Server
Tools (14 total)
Reporting (8 tools)
gads_query - Execute custom GAQL queries
gads_campaign_performance - Campaign metrics with date range and status filters
gads_adgroup_performance - Ad group metrics, filterable by campaign
gads_keyword_performance - Keyword metrics with quality score
gads_ad_performance - Ad-level metrics with headlines/descriptions
gads_search_terms - Search terms that triggered ads
gads_account_summary - High-level account overview
gads_budget_report - Budget utilization per campaign
Accounts (1 tool)
gads_list_accounts - List accessible customer accounts
Management (5 tools)
gads_list_campaigns - List campaigns with configuration
gads_set_campaign_status - Enable or pause a campaign
gads_update_campaign_budget - Update daily budget
gads_set_adgroup_status - Enable or pause an ad group
gads_set_keyword_status - Enable, pause, or remove a keyword
Build
npm install
npm run buildEnvironment Variables
Variable | Required | Description |
| Yes | From Google Ads API Center |
| Yes | OAuth2 client ID |
| Yes | OAuth2 client secret |
| Yes | From |
| Yes | 10-digit account ID (no dashes) |
| No | Required if using Manager Account |
Available Tools
14 toolsgads_account_summaryA
Get a high-level account overview with total spend, clicks, impressions, and top campaigns by spend.
Inputs: endDate, startDate, customer_id, response_format.
gads_adgroup_performanceC
Get ad group performance metrics. Filterable by campaign ID and date range.
Inputs: limit, endDate, order_by, startDate, +3 more.
gads_ad_performanceC
Get ad-level performance metrics including headlines and descriptions.
Inputs: limit, endDate, order_by, startDate, +3 more.
gads_budget_reportB
Get budget utilization report showing daily budget vs actual spend per campaign.
Inputs: endDate, startDate, customer_id, campaign_status, +1 more.
gads_campaign_performanceB
Get campaign performance metrics including clicks, impressions, cost, conversions, CTR, and CPC.
Filterable by date range and campaign status. Results sorted by chosen metric.
Inputs: limit, endDate, order_by, startDate, +3 more.
gads_keyword_performanceC
Get keyword performance metrics with quality score. Filterable by campaign and ad group.
Inputs: limit, endDate, order_by, startDate, +4 more.
gads_list_accountsA
List accessible Google Ads customer accounts.
Returns account names, IDs, and whether they are manager accounts. Use this to verify API connection and discover available accounts.
Inputs: customer_id, response_format.
gads_list_campaignsC
List campaigns with their configuration including status, type, budget, and bidding strategy.
Inputs: customer_id, campaign_status, response_format.
gads_queryA
Execute a custom GAQL (Google Ads Query Language) query.
This is the power-user tool for any query not covered by other tools. Note: When segments.date is in WHERE, it MUST also be in SELECT.
Example: SELECT campaign.name, metrics.clicks FROM campaign WHERE campaign.status = 'ENABLED'
Inputs: query (required), customer_id, response_format.
gads_search_termsB
Get search terms that triggered your ads and their performance metrics. Useful for finding new keywords or negative keywords.
Inputs: limit, endDate, startDate, ad_group_id, +3 more.
gads_set_adgroup_statusB
Enable or pause an ad group. Requires ad group ID and new status (ENABLED or PAUSED).
Inputs: status (required), ad_group_id (required), customer_id.
gads_set_campaign_statusC
Enable or pause a campaign. Requires campaign ID and new status (ENABLED or PAUSED).
Inputs: status (required), campaign_id (required), customer_id.
gads_set_keyword_statusA
Enable, pause, or remove a keyword. Requires both ad_group_id and criterion_id.
Use gads_keyword_performance to find keyword criterion IDs.
Inputs: status (required), ad_group_id (required), criterion_id (required), customer_id.
gads_update_campaign_budgetA
Update a campaign's daily budget. Specify the amount in account currency (e.g. 50.00 for $50/day), not micros.
First use gads_list_campaigns to find the campaign ID.
Inputs: campaign_id (required), budget_amount (required), customer_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
The performance tools are cleanly separated by reporting level (campaign, adgroup, keyword, ad, search term), so cross-selection is mostly avoided. However, gads_query is an explicit catch-all that overlaps every other read tool, and gads_account_summary partially overlaps gads_campaign_performance's top-campaigns-by-spend output.
All tools share the gads_ prefix and snake_case, which makes the set predictable. There is a minor mix of verb-led names (gads_list_campaigns, gads_set_campaign_status) and noun-only report names (gads_campaign_performance, gads_budget_report), but the pattern stays readable.
14 tools sits comfortably in the well-scoped range for an ads reporting and lightweight management surface. Each tool maps to a distinct reporting level or a specific mutation, so no tool feels redundant.
Read coverage across account, campaign, ad group, ad, keyword, search term, and budget is solid, and status/budget mutations exist for campaigns, ad groups, and keywords. But the surface is write-light: no creation of campaigns/ad groups/keywords, no negative-keyword addition (a dead end after gads_search_terms), and no bidding-strategy or ad-copy updates.
Related MCP Connectors
Google Ads MCP server: run Search, Display, Demand Gen and PMax campaigns from AI.
Google Ads MCP server — manage campaigns, keywords, and metrics.
Hosted Google Ads MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
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.
Related MCP Servers
- 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
- FlicenseNot gradedqualityDmaintenanceRead-only MCP server that connects Google Ads to Claude via Cloudflare Workers, supporting account/campaign/ad reports, keywords, search terms, and GAQL queries with OAuth 2.1 authentication.-