Google Ads MCP
@cohnen
关于 Google Ads MCP
An MCP tool that connects Google Ads with Claude AI/Cursor and others, allowing you to analyze your advertising data through natural language conversations. This integration gives you access to campaign information, performance metrics, keyword analytics, and ad management—all th
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"googleAdsServer": {
"command": "/Users/cohnen/dev/mcp-google-ads/.venv/bin/python",
"args": [
"/Users/cohnen/dev/mcp-google-ads/google_ads_server.py"
],
"env": {
"GOOGLE_ADS_CREDENTIALS_PATH": "/Users/cohnen/dev/mcp-google-ads/google_ads_token.json",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<GOOGLE_ADS_DEVELOPER_TOKEN>",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "",
"GOOGLE_ADS_CLIENT_ID": "<GOOGLE_ADS_CLIENT_ID>",
"GOOGLE_ADS_CLIENT_SECRET": "<GOOGLE_ADS_CLIENT_SECRET>"
}
}
}
}工具
5Shows all your Google Ads accounts
Runs a Google Ads Query Language query
Shows campaign metrics with performance data
Detailed analysis of your ad creative performance
Runs any arbitrary GAQL query with formatting options
概览
What is Google Ads MCP?
A tool that connects Google Ads data with Claude AI, enabling analysis of advertising data through natural language conversations. It provides access to campaign information, performance metrics, keyword analytics, and ad management for advertising professionals.
How to use Google Ads MCP?
Set up Google Ads API access (OAuth 2.0 or Service Account), obtain a developer token, install Python 3.11+, Node.js, and Claude Desktop. Download the repository, create a virtual environment, install dependencies, and configure a .env file with your credentials. Then ask Claude to use tools like list_accounts, execute_gaql_query, get_campaign_performance, get_ad_performance, or run_gaql.
Key features of Google Ads MCP
- View all Google Ads accounts and campaign information.
- Track impressions, clicks, conversions, and cost metrics.
- Identify top and underperforming keywords.
- Analyze ad copy effectiveness and quality scores.
- Monitor campaign budgets and bid strategies.
- Run custom GAQL queries with flexible formatting options.
Use cases of Google Ads MCP
- An advertising manager asks Claude to show which campaigns are performing best this month.
- A marketer analyzes keyword quality scores to optimize ad copy.
- A budget owner monitors spending and gets recommendations for reallocation.
- An analyst runs a custom GAQL query to compare conversion trends across periods.
FAQ from Google Ads MCP
What authentication methods does Google Ads MCP support?
OAuth 2.0 Client ID for user-level access (desktop apps) and Service Account for server-to-server, automated workflows.
Is the Login Customer ID required?
It is optional. Use it when working with a Google Ads Manager Account (MCC) to access multiple client accounts. Skip if accessing a single account directly.
How do I get a Google Ads API Developer Token?
Sign in to your Google Ads account, go to Tools & Settings > Setup > API Center, accept terms, apply for a token, and wait for approval (usually 1–3 business days).
What are the runtime requirements?
Python 3.11 or newer, Node.js, and the Claude Desktop application. The mcp package and other dependencies listed in requirements.txt must be installed.
Can I run custom queries?
Yes, the run_gaql tool lets you execute any arbitrary Google Ads Query Language (GAQL) query with formatting options (table, JSON, or CSV).
数据与分析 分类下的更多 MCP 服务器
Healthcare MCP Server
CicatriizA Model Context Protocol (MCP) server providing AI assistants with access to healthcare data and medical information tools, including FDA drug info, PubMed, medRxiv, NCBI Bookshelf, clinical trials, ICD-10, DICOM metadata, and a medical calculator.
PubMed Analysis MCP Server
DarkroasterA PubMed MCP server.
Bright Data MCP
brightdataA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
PubMed Analysis MCP Server
DarkroasterA PubMed MCP server.
PubMed MCP Server
JackKuo666🔍 Enable AI assistants to search, access, and analyze PubMed articles through a simple MCP interface.
评论