Google Ads MCP Server
A tool that connects Google Ads with Claude AI, allowing you to analyze your advertising data through natural language conversations.
What Can This Tool Do For Advertising Professionals?
Account Management
- See all your Google Ads accounts in one place
- Get account details and basic campaign information
Campaign Analytics & Reporting
- Discover which campaigns are performing best
- Track impressions, clicks, conversions, and cost metrics
- Analyze performance trends over time
- Compare different time periods to spot changes
- Visualize your data with charts and graphs created by Claude
Keyword & Ad Performance
- Identify top and underperforming keywords
- Analyze ad copy effectiveness
- Check quality scores and competitive metrics
- Get actionable insights on how to improve your campaigns
Budget & Bid Management
- Monitor campaign budgets and spending
- Analyze bid strategies and performance
- Identify opportunities for optimization
- Get recommendations for budget allocation
Available Tools
| Tool Name | Description | What You'll Need |
|---|---|---|
list_accounts | Shows all your Google Ads accounts | Nothing - just ask! |
execute_gaql_query | Runs a Google Ads Query Language query | Your account ID and a GAQL query |
get_campaign_performance | Shows campaign metrics with performance data | Your account ID and time period |
get_ad_performance | Detailed analysis of your ad creative performance | Your account ID and time period |
run_gaql | Runs any arbitrary GAQL query with formatting options | Your account ID, query, and format (table, JSON, or CSV) |
Getting Started
1. Set Up Google Ads API Access
Before using this tool, you'll need to create API credentials. You can choose between two authentication methods:
2. Get a Developer Token
- Sign in to your Google Ads account at ads.google.com
- Click on Tools & Settings (wrench icon) in the top navigation
- Under "Setup", click "API Center"
- Accept the Terms of Service if you haven't already
- Click "Apply for token" and fill out the application form
- Submit the application and wait for approval (usually 1-3 business days)
3. Connect to Claude or Cursor
Add the server configuration to your Claude Desktop or Cursor MCP settings:
{
"mcpServers": {
"googleAdsServer": {
"command": "/FULL/PATH/TO/.venv/bin/python",
"args": ["/FULL/PATH/TO/google_ads_server.py"],
"env": {
"GOOGLE_ADS_AUTH_TYPE": "oauth",
"GOOGLE_ADS_CREDENTIALS_PATH": "/path/to/credentials.json",
"GOOGLE_ADS_DEVELOPER_TOKEN": "YOUR_DEVELOPER_TOKEN",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "YOUR_MANAGER_ACCOUNT_ID"
}
}
}
}Example Queries
Here are some powerful prompts you can use:
- List accounts: "List all my Google Ads accounts and tell me which ones have the highest spend this month."
- Campaign performance: "Show me the top 10 campaigns for account 123-456-7890 in the last 30 days."
- Ad analysis: "Do a comprehensive analysis of which ad copy elements are driving the best CTR."
- GAQL queries: "Run this query: SELECT campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7DAYS"
Connection Details
Connection URL:
https://mcp.leonhoulier.com/google-ads/mcp