GOOGLE ADS
Google Ads MCP Server GitHub — Complete Setup Guide for Claude AI Integration
The Google Ads MCP Server GitHub repository provides Model Context Protocol tools for connecting Claude AI to Google Ads API. Access 40+ automation tools, real-time campaign management, and GAQL query capabilities through standardized MCP implementation.
Contents
Autonomous Marketing
Grow your business faster with AI agents
- ✓Automates Google, Meta + 5 more platforms
- ✓Handles your SEO end to end
- ✓Upgrades your website to convert better




What is Google Ads MCP Server?
The Google Ads MCP Server GitHub repository is an open-source implementation of the Model Context Protocol (MCP) that enables Large Language Models like Claude AI to interact directly with the Google Ads API. Instead of manually exporting reports and pasting data into prompts, the google ads mcp server github provides real-time API access through a standardized protocol that AI assistants can understand and execute.
Model Context Protocol (MCP) was developed by Anthropic to create a universal standard for connecting AI models to external data sources and tools. The Google Ads MCP Server translates Google Ads API calls into MCP-compatible tools that Claude can invoke on demand. This means Claude can pull live campaign metrics, execute GAQL queries, manage keywords, adjust bids, and generate reports without you copying data between platforms.
The official Google Ads MCP Server GitHub repository has gained significant traction with 177+ stars and 57+ forks as of April 2026. Google Marketing Solutions maintains the primary repository, though several community versions offer enhanced functionality. The server supports Google Ads API v21, OAuth 2.0 authentication, and includes 40+ automation tools for campaign management. For context on broader Claude automation capabilities, see our guides on Claude Skills for Google Ads and How to Use Claude for Google Ads.
1,000+ Marketers Use Ryze





Automating hundreds of agencies




★★★★★4.9/5
What are the main Google Ads MCP Server GitHub repositories?
There are four primary Google Ads MCP Server implementations on GitHub, each targeting different use cases and technical requirements. The ecosystem has evolved rapidly since January 2026 when MCP was first introduced, with Google migrating their official repository twice to improve functionality and developer experience.
| Repository | Maintainer | Stars | Status | Best For |
|---|---|---|---|---|
| googleads/google-ads-mcp | Google Ads Team | 85+ | Active (Current Official) | Production deployment |
| google-marketing-solutions/google_ads_mcp | Marketing Solutions | 177+ | Active (Legacy) | Quick setup |
| grantweston/google-ads-mcp-complete | Grant Weston | 42+ | Active (Community) | Advanced features |
| gomarble-ai/google-ads-mcp-server | Gomarble AI | 23+ | Active (FastMCP) | OAuth 2.0 integration |
googleads/google-ads-mcp is the current official repository maintained directly by the Google Ads API team. It offers the most stable foundation with pipx installation, OAuth proxy support, and cloud deployment options. The repository includes comprehensive documentation for production environments and supports both service account and OAuth 2.0 authentication flows.
google-marketing-solutions/google_ads_mcp was the original official implementation but has been archived in favor of the current repository. Despite being archived, it still receives community contributions and remains popular for developers who need the legacy MCP v0.6.3 implementation or prefer the original file structure.
grantweston/google-ads-mcp-complete is the most feature-rich community implementation with 40+ fully working tools, enterprise-grade error handling, and complete Google Ads API v21 compatibility. It includes advanced automation capabilities like bid strategy optimization, audience intelligence, and automated campaign creation that the official repositories don't provide.
gomarble-ai/google-ads-mcp-server focuses on simplified OAuth 2.0 setup and FastMCP implementation. It provides one-click installers and includes keyword research tools specifically designed for PPC agencies managing multiple client accounts.
How to set up Google Ads MCP Server from GitHub? (Step-by-step)
This walkthrough uses the official googleads/google-ads-mcp repository for maximum stability. Total setup time: 15-20 minutes for first-time users, 5 minutes for experienced developers. You'll need a Google Cloud account, Google Ads account with API access, and Claude Pro subscription.
Step 01
Clone the Repository and Install Dependencies
Clone the official Google Ads MCP Server GitHub repository and install dependencies using pipx for isolated package management:
If you don't have pipx installed, run: python -m pip install --user pipx && pipx ensurepath
Step 02
Configure Google Cloud Project and API Access
Set up Google Cloud Platform project and enable Google Ads API access. This requires creating OAuth 2.0 credentials and obtaining a developer token:
For the OAuth redirect URI, use: http://localhost:8080/oauth2callback
Step 03
Obtain Google Ads Developer Token
Apply for a Google Ads API developer token through your Google Ads account. This step is crucial as the MCP server cannot access Google Ads API without proper authentication:
Initial approval gives test access. Production access requires Google review (7-14 days).
Step 04
Create Configuration Files
Set up the google-ads.yaml configuration file and environment variables. The google ads mcp server github requires specific configuration format:
Place this file in your home directory or set GOOGLE_ADS_CONFIGURATION_FILE_PATH environment variable.
Step 05
Configure Claude Desktop MCP Settings
Add the Google Ads MCP Server to Claude Desktop's configuration file. This enables Claude to invoke Google Ads API tools through MCP protocol:
Restart Claude Desktop after updating settings. The MCP server will show as connected in the status bar.
Step 06
Test the Connection
Verify that Claude can access your Google Ads data by running a simple query. This confirms the MCP server is properly configured:
If successful, Claude returns a table with live account data. If errors occur, verify your configuration files and API access.
Ryze AI — Autonomous Marketing
Skip the GitHub setup — get Google Ads automation in 2 minutes
- ✓Automates Google, Meta + 5 more platforms
- ✓Handles your SEO end to end
- ✓Upgrades your website to convert better
2,000+
Marketers
$500M+
Ad spend
23
Countries
What tools and features are available in Google Ads MCP Server?
The Google Ads MCP Server GitHub implementations provide varying levels of functionality. The official repository includes essential API tools, while community versions extend capabilities to include advanced automation features. Here's a comprehensive breakdown of available tools across different implementations:
Core API Tools (All Repositories)
search
Execute GAQL queries against Google Ads API. Supports all standard Google Ads Query Language syntax for campaigns, ad groups, keywords, and performance metrics.
list_accessible_customers
Retrieve all Google Ads accounts accessible through your authentication credentials, including client accounts in manager hierarchies.
get_resource_metadata
Fetch resource schemas and field descriptions for Google Ads API entities like campaigns, ads, keywords, and extensions.
discovery-document
Access Google Ads API discovery document with resource definitions, field types, and relationship mappings for complex queries.
Advanced Tools (Community Implementations)
| Tool Category | Available Tools | Repository |
|---|---|---|
| Campaign Management | create_campaign, update_campaign, pause_campaign, campaign_overview | grantweston/complete |
| Keyword Tools | keyword_research, add_keywords, negative_keyword_intelligence | gomarble-ai, grantweston/complete |
| Bid Management | portfolio_strategies, bid_adjustments, device_targeting | grantweston/complete |
| Ad Creation | create_ads, ad_optimization_analysis, roas_calculation | grantweston/complete |
| Audience Management | audience_targeting, smart_id_detection, lookalike_creation | grantweston/complete |
GAQL Query Examples
The search tool accepts Google Ads Query Language (GAQL) for complex data retrieval. Here are the most commonly used queries for Claude automation:
How to configure authentication for Google Ads MCP Server?
The Google Ads MCP Server GitHub supports three authentication methods, each with different security profiles and use case requirements. OAuth 2.0 is recommended for individual developers, while service accounts work better for production deployments and automated systems. Understanding the tradeoffs is crucial for successful implementation.
Method 1: OAuth 2.0 Flow
OAuth 2.0 provides user-based authentication where you log in with your Google account and grant specific permissions. This method is ideal for individual marketers and small teams who want to access their own Google Ads accounts through Claude.
Save the refresh token to your google-ads.yaml file. Tokens expire after 6 months of inactivity but auto-refresh during regular use.
Method 2: Service Account Authentication
Service accounts provide application-level authentication without user interaction. This method works best for production deployments, scheduled automation, and multi-client agency environments where you need consistent access across multiple accounts.
Service accounts require domain-wide delegation for Google Workspace organizations and explicit sharing for individual Google Ads accounts.
Method 3: OAuth Proxy (Cloud Deployment)
The OAuth proxy method enables cloud deployment by handling authentication server-side. This approach works well for team environments where multiple users need access to the same MCP server instance without individual credential setup.
OAuth proxy requires additional security considerations including HTTPS endpoints and secure credential storage.
| Method | Setup Complexity | Security Level | Best Use Case |
|---|---|---|---|
| OAuth 2.0 | Medium | High | Individual developers |
| Service Account | High | Highest | Production automation |
| OAuth Proxy | Low | Medium | Team deployments |
What are common issues and solutions for Google Ads MCP Server?
Most Google Ads MCP Server issues stem from authentication problems, incorrect configuration files, or API access limitations. The community has documented solutions for the 8 most frequent problems encountered during setup and operation. Based on GitHub issues and community feedback, here are the proven solutions:
Issue 1: "Authentication failed" or "Invalid credentials"
Symptoms: Claude returns authentication errors when trying to access Google Ads data. MCP server fails to connect to Google Ads API.
Root causes: Expired refresh tokens, incorrect OAuth client configuration, or missing developer token permissions.
Issue 2: "Developer token not approved for production"
Symptoms: API calls work in test mode but fail when accessing real campaign data. Limited to test account functionality.
Solution: Apply for production access through Google Ads API Center. This typically requires demonstrating compliance with Google's API policies and can take 7-14 days for approval. Test accounts have synthetic data and limited functionality.
Issue 3: "Customer not found" or "Permission denied"
Symptoms: Authentication succeeds but queries return empty results or permission errors.
Root cause: Incorrect login_customer_id or missing account access permissions. Manager accounts require specific customer ID formatting.
Issue 4: Claude MCP connection timeout
Symptoms: Claude shows "MCP server not responding" or times out when making requests. Server starts but doesn't respond to queries.
Solution: Increase timeout values in Claude settings and verify MCP server is running properly. Large queries may require extended timeout periods.
Issue 5: GAQL syntax errors
Symptoms: Queries return "Invalid query" or "Syntax error" messages even when the GAQL appears correct.
Solution: Use the Google Ads Query Builder to validate queries before running them through Claude. Common issues include incorrect field names, missing WHERE clauses, or incompatible SELECT combinations.

Sarah K.
Paid Media Manager
E-commerce Agency
The Google Ads MCP Server saved us 15+ hours per week. Claude pulls live data, identifies optimization opportunities, and generates client reports automatically. Our team ROAS improved 2.3x in 8 weeks.”
15+
Hours saved
8 weeks
To results
2.3x
ROAS increase
Frequently asked questions
Q: Is Google Ads MCP Server free to use?
Yes, all Google Ads MCP Server GitHub repositories are open source and free. You only pay for Google Ads API usage (no additional fees) and Claude Pro subscription ($20/month) to use MCP features.
Q: Which repository should I use for production?
Use googleads/google-ads-mcp for stability and official support. For advanced features, try grantweston/google-ads-mcp-complete. For OAuth simplicity, consider gomarble-ai/google-ads-mcp-server.
Q: Can Claude make changes to my Google Ads campaigns?
It depends on the repository. Official versions are read-only. Community versions like grantweston/complete include campaign creation and modification tools. Always test in a sandbox account first.
Q: Do I need a Google Ads developer token?
Yes, all Google Ads MCP Server implementations require a developer token. Apply through ads.google.com > Tools > API Center. Test tokens are approved immediately, production access takes 7-14 days.
Q: Can I use this with multiple Google Ads accounts?
Yes, if you have manager account access or individual account permissions. Set login_customer_id to your manager account ID and Claude can access all linked accounts through the list_accessible_customers tool.
Q: How does this compare to other AI tools?
MCP provides direct API access vs. pre-built dashboards. It's more flexible but requires technical setup. For fully autonomous management without setup, platforms like Ryze AI handle everything end-to-end.
Ryze AI — Autonomous Marketing
Skip the GitHub complexity — get Google Ads automation instantly
- ✓Automates Google, Meta + 5 more platforms
- ✓Handles your SEO end to end
- ✓Upgrades your website to convert better
2,000+
Marketers
$500M+
Ad spend
23
Countries

