跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Google Ads,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
面向 AI agent 的 Google Ads:广告系列、广告组、广告和关键字效果,搜索字词,质量得分,预算消耗进度和展示次数份额,转化操作,更改历史记录,建议,经理(MCC)账号,以及任意 GAQL 查询。17 个只读工具,OAuth2。
试试这样问
Google Ads 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Google Ads、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Google Ads + Gemini
面向 AI agent 的 Google Ads:广告系列、广告组、广告和关键字效果,搜索字词,质量得分,预算消耗进度和展示次数份额,转化操作,更改历史记录,建议,经理(MCC)账号,以及任意 GAQL 查询。17 个只读工具,OAuth2。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
步骤 1 — 获取凭证
This connector reads the Google Ads API (googleads.googleapis.com, v25) with Google Ads Query Language (GAQL): accounts and manager (MCC) hierarchies, campaigns, ad groups, ads, keywords, search terms, budgets and impression share, conversion actions, change history and recommendations. 17 tools, all read-only.
Start with gads_playbook. It costs no API call and maps common questions (account health, wasted spend, negative keywords, Quality Score, budget pacing, period comparison, tracking audit, Performance Max, MCC roll-ups) to the right tools and tested GAQL queries.
…(continued in the in-app connector instructions)
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Gemini 中添加连接器
Gemini CLI 从 ~/.gemini/settings.json (Windows: %APPDATA%\gemini\settings.json) 读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 从 AnythingMCP 获取你的 MCP API key。
- 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp—Google Ads应显示为可用。 - Vertex AI Studio: 将
https://cloud.anythingmcp.com/mcp传入请求的tools数组,使用相同的 Bearer 头。
可用工具
| Tool | What it does |
|---|---|
gads_playbook | START HERE for any Google Ads question: returns, with NO API call, a router from common questions (account health, wasted spend… |
gads_list_accessible_customers | List the Google Ads accounts the authorised Google user can access directly, as resource names ('customers/1234567890') |
gads_get_customer | Read one Google Ads account's settings: name, currency, time zone (all dates in reports are in this zone), whether it is a manager (MCC) or… |
gads_list_client_accounts | List the accounts under a manager (MCC) account: id, name, depth in the hierarchy, whether each is itself a manager, currency, time zone… |
gads_run_gaql | Run any read-only Google Ads Query Language (GAQL) query against one account: every resource, attribute, segment and metric of the Google… |
gads_query_field_catalog | Look up Google Ads API field metadata (names, category RESOURCE/ATTRIBUTE/SEGMENT/METRIC, data type, enum values, whether selectable… |
gads_account_daily_metrics | Account-level totals per day for a date range: impressions, clicks, cost, conversions, conversion value |
gads_list_campaigns | List the account's campaigns (removed ones excluded) with status, serving status, primary status and its reasons (why a campaign is limited… |
gads_campaign_performance | Campaign performance totals for a date range, one row per campaign, sorted by cost: impressions, clicks, CTR, average CPC, cost… |
gads_ad_group_performance | Ad group performance totals for a date range, one row per ad group with its campaign, sorted by cost |
gads_ad_performance | Ad performance for a date range with the ad itself: type, final URLs, responsive search ad headlines and descriptions, ad strength and… |
gads_keyword_performance | Keyword performance for a date range with match type, status and Quality Score components (quality score 1-10, expected CTR, ad relevance… |
gads_search_terms | The search terms report: what people actually typed before your Search ads showed, with campaign, ad group, whether the term is already… |
gads_budget_pacing | Enabled campaigns with their daily budget, spend in the date range and Search impression share lost to budget and to rank |
gads_conversion_actions | List the account's conversion actions (removed ones excluded): name, type, source, category, status, whether each is a primary goal… |
gads_change_history | Who changed what in the account and when: timestamp, user email, tool used (web UI, API, scripts, Editor), resource type and name… |
gads_recommendations | Google's current optimisation recommendations for the account (budget, bidding, keywords, ads, assets...) with the campaign they apply to… |
FAQ
Gemini 1.5 Pro 或 2.x 支持 MCP 吗? 支持 — Gemini CLI ≥ 0.4 与 Vertex AI tools API 均接受带 Bearer 头的 MCP httpUrl 连接器。
下一步
这份指南对你有帮助吗?