连接器指南阅读约 3 分钟17 个 MCP 工具7 种语言

如何将 Google Ads 连接到 Cursor — 通过 MCP

面向 AI agent 的 Google Ads:广告系列、广告组、广告和关键字效果,搜索字词,质量得分,预算消耗进度和展示次数份额,转化操作,更改历史记录,建议,经理(MCC)账号,以及任意 GAQL 查询。17 个只读工具,OAuth2。

HC作者:HelpCode 团队更新于 3 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

cursor · Google Ads
How did our Google Ads account do in the last 30 days? Spend, conversions, cost per conversion and the main campaigns. Read only.
AI
正在调用gads_list_accessible_customersgads_campaign_performancegads_account_daily_metricsgads_conversion_actions
One Performance Max campaign carried all spend and conversions; the Search campaign is paused. The cost per conversion looks too good for B2B: two short bursts of clicks at about one cent produced most of the month's conversions, and almost all of them are one sign-up action tracked as a page visit. Compare those days with real sign-ups before trusting the campaign's optimization.
gads_playbookgads_campaign_performancegads_search_termsgads_keyword_performancegads_budget_pacinggads_run_gaql+ 更多
  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

4 分钟配置后即可使用的真实提示词。

安装连接器后,把这些提示词粘贴到 Cursor。每条提示词下方列出的工具会由智能体自动调用。

“List the search terms from the last 30 days that cost money and never converted, grouped into negative keyword ideas.”
gads_search_termsgads_run_gaql
“Which keywords have a Quality Score of 5 or lower, and which component is below average?”
gads_keyword_performance
“Are my Search campaigns losing impression share to budget or to rank?”
gads_budget_pacing
“Who changed bids or budgets in the account last week?”
gads_change_history

跳过安装。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 中,在该连接器上运行。

Google Ads · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Google Ads、粘贴凭证、生成 MCP API key — 完成。无 Docker、无 git clone、无本地服务器。

Google Ads + Cursor

面向 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 — 在 Cursor 中添加连接器

Cursor 从 ~/.cursor/mcp.json 读取 MCP 服务器。添加以下条目:

{
  "mcpServers": {
    "anythingmcp": {
      "url": "https://cloud.anythingmcp.com/mcp",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. 从 AnythingMCP 获取你的 MCP API key: MCP Servers → your server → API keys。
  2. 保存文件并重启 Cursor。
  3. 打开 Cursor → Settings → MCP 确认 Google Ads 已列出且为 "Connected" 状态。
  4. 开始对话 — 所有 Google Ads 工具均可调用。

可用工具

ToolWhat it does
gads_playbookSTART HERE for any Google Ads question: returns, with NO API call, a router from common questions (account health, wasted spend…
gads_list_accessible_customersList the Google Ads accounts the authorised Google user can access directly, as resource names ('customers/1234567890')
gads_get_customerRead 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_accountsList the accounts under a manager (MCC) account: id, name, depth in the hierarchy, whether each is itself a manager, currency, time zone…
gads_run_gaqlRun any read-only Google Ads Query Language (GAQL) query against one account: every resource, attribute, segment and metric of the Google…
gads_query_field_catalogLook up Google Ads API field metadata (names, category RESOURCE/ATTRIBUTE/SEGMENT/METRIC, data type, enum values, whether selectable…
gads_account_daily_metricsAccount-level totals per day for a date range: impressions, clicks, cost, conversions, conversion value
gads_list_campaignsList the account's campaigns (removed ones excluded) with status, serving status, primary status and its reasons (why a campaign is limited…
gads_campaign_performanceCampaign performance totals for a date range, one row per campaign, sorted by cost: impressions, clicks, CTR, average CPC, cost…
gads_ad_group_performanceAd group performance totals for a date range, one row per ad group with its campaign, sorted by cost
gads_ad_performanceAd performance for a date range with the ad itself: type, final URLs, responsive search ad headlines and descriptions, ad strength and…
gads_keyword_performanceKeyword performance for a date range with match type, status and Quality Score components (quality score 1-10, expected CTR, ad relevance…
gads_search_termsThe search terms report: what people actually typed before your Search ads showed, with campaign, ad group, whether the term is already…
gads_budget_pacingEnabled campaigns with their daily budget, spend in the date range and Search impression share lost to budget and to rank
gads_conversion_actionsList the account's conversion actions (removed ones excluded): name, type, source, category, status, whether each is a primary goal…
gads_change_historyWho changed what in the account and when: timestamp, user email, tool used (web UI, API, scripts, Editor), resource type and name…
gads_recommendationsGoogle's current optimisation recommendations for the account (budget, bidding, keywords, ads, assets...) with the campaign they apply to…

FAQ

Cursor 免费套餐支持自定义 MCP 服务器吗? 是的 — Hobby、Pro 和 Business 套餐均可用。

下一步

这份指南对你有帮助吗?

你的 Google Ads 智能体只差一次点击。

安装连接器,粘贴密钥,向 Cursor 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何将 Google Ads 连接到 ChatGPT:通过 MCP 读取广告系列数据

把 Google Ads 作为开发者模式应用添加到 ChatGPT:ChatGPT 从你的账号读取广告系列、搜索字词、质量得分和预算。只读,无需开发者令牌。

连接器

如何将 Google Ads 连接到 Claude:15 分钟配置自定义连接器

把 Google Ads 作为自定义连接器添加到 claude.ai 和 Claude 桌面端:Claude 读取广告系列、搜索字词、质量得分和预算。只读,无需开发者令牌。

连接器

如何将 Google Ads 连接到 Gemini — 通过 MCP

面向 AI agent 的 Google Ads:广告系列、广告组、广告和关键字效果,搜索字词,质量得分,预算消耗进度和展示次数份额,转化操作,更改历史记录,建议,经理(MCC)账号,以及任意 GAQL 查询。17 个只读工具,OAuth2。

连接器

无需开发者令牌的 Google Ads API:2026 年 9 月有哪些变化

Google 已于 2026 年 9 月 9 日停用 Google Ads API 开发者令牌。访问权限现在归属于你的 Google Cloud 项目:Test、Explorer、Basic 和 Standard 级别及其获取方式。

连接器

用 Claude 审核 Google Ads:在你自己的账号上经过测试的方法

几分钟内用 Claude 审核 Google Ads 账号:支出、转化质量、浪费的搜索字词、质量得分、预算和跟踪,数据直接来自 API。

连接器

Google Ads MCP 服务器:将 Google Ads 连接到 Claude、ChatGPT 和任意 agent

向 Claude 或 ChatGPT 询问你的 Google Ads:广告系列、搜索字词、质量得分、预算、转化。只读,无需开发者令牌,15 分钟完成设置。