ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Google Ads

โดย get-mcp-adsรุ่น 2.1.1i★ –iรันบนเครื่อง
ชื่อใน registrycom.getmcpads/google-ads

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Google Ads MCP server: 35 read tools, 13 opt-in preview-first writes.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: การตลาดและโซเชียล
  • ต้องใส่ค่าเหล่านี้: GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_LOGIN_CUSTOMER_ID, GOOGLE_ADS_ACCOUNT_IDS, GOOGLE_ADS_ENABLE_WRITES

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "google-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/google-ads-mcp-server"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_CLIENT_ID": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_ACCOUNT_IDS": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_ENABLE_WRITES": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add google-ads --env GOOGLE_ADS_DEVELOPER_TOKEN='ใส่ค่าของคุณ' --env GOOGLE_ADS_CLIENT_ID='ใส่ค่าของคุณ' --env GOOGLE_ADS_CLIENT_SECRET='ใส่ค่าของคุณ' --env GOOGLE_ADS_REFRESH_TOKEN='ใส่ค่าของคุณ' --env GOOGLE_ADS_LOGIN_CUSTOMER_ID='ใส่ค่าของคุณ' --env GOOGLE_ADS_ACCOUNT_IDS='ใส่ค่าของคุณ' --env GOOGLE_ADS_ENABLE_WRITES='ใส่ค่าของคุณ' -- npx -y @getmcpads/google-ads-mcp-server

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/google-ads-mcp-server"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_CLIENT_ID": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_ACCOUNT_IDS": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_ENABLE_WRITES": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "google-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/google-ads-mcp-server"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_CLIENT_ID": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_ACCOUNT_IDS": "ใส่ค่าของคุณ",
        "GOOGLE_ADS_ENABLE_WRITES": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • GOOGLE_ADS_DEVELOPER_TOKEN ความลับ จำเป็น env
    Google Ads API developer token, Basic Access or above.
  • GOOGLE_ADS_CLIENT_ID จำเป็น env
    OAuth client ID.
  • GOOGLE_ADS_CLIENT_SECRET ความลับ จำเป็น env
    OAuth client secret.
  • GOOGLE_ADS_REFRESH_TOKEN ความลับ จำเป็น env
    OAuth refresh token.
  • GOOGLE_ADS_LOGIN_CUSTOMER_ID env
    Manager (MCC) account ID, when the customer sits under one.
  • GOOGLE_ADS_ACCOUNT_IDS env
    Comma-separated customer IDs every tool is limited to. Optional in 2.x, required in 3.0.0.
  • GOOGLE_ADS_ENABLE_WRITES env
    Set to true to expose 13 write tools. Calls preview by default; confirm:true applies changes.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน getmcpads.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด การตลาดและโซเชียลi

  • ดาวมากกว่า 0% ของอีก 2965 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 75% ของอีก 2965 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2965 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Google Ads ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.1.1) เข้า registry 11 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

MCP YouTube Transcript

โดย jkawamoto

An MCP server retrieving transcripts of YouTube videos

รันบนเครื่อง★ 495MITอัปเดต 9 วันที่ผ่านมา
ติดตั้ง

Google Analytics MCP

โดย surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

รันบนเครื่อง★ 244MITอัปเดต 9 วันที่ผ่านมา
ติดตั้ง

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

รันบนคลาวด์★ 137MITอัปเดต 9 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Google Ads MCP server

Turn Google Ads questions into useful answers.

Explore performance, research keywords and prepare campaign changes from your MCP client.

Watch the film · What's new · Install · Tool reference · Try hosted getmcpads

[Play the 45-second film](https://www.getmcpads.com/home/film/get-mcp-ads-brand-film-1080p.mp4)

The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.

35 read tools · 13 write tools, disabled by default.

Run locally with your own platform credentials and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the platform. For managed connections, including supported ChatGPT setups, use the hosted option.

What's new

[v2.1.1: Zod 4 security update](https://github.com/get-mcp-ads/google-ads-mcp-server/releases/tag/v2.1.1) · October 26, 2026

  • Update zod to 4.6.7. Every Zod release before 4.6.6 is covered by the high-severity advisory GHSA-mrhx-c7xc-m3w5: validating an oversized constrained collection can exhaust memory, and no Zod 3 release carries the fix. npm audit --omit=dev reports no vulnerability again.
  • Keep the Zod 3 validation behaviour. A parameter default is still validated and completed before use, so an omitted object must still supply its required fields.
  • Keep each parameter's own description when the parameter is optional or has a default. Zod 4 stores a description on the wrapped schema only, so the shared fallback description could otherwise replace it.
  • Tool names, parameters and descriptions published over MCP are unchanged. server-card.json is regenerated with Zod 4's JSON Schema output, which spells some constraints differently.

Earlier releases

VersionDateHighlights
2.1.0October 23, 2026Renames, Google Ads API v26 and Search Lift
2.0.1September 23, 2026Public repository restored
2.0.0September 20, 2026Gateway sync and security fixes
1.1.0September 13, 2026Platform capability sync and quality contracts
1.0.2August 30, 2026Announce the package version over MCP.
1.0.1August 30, 2026Add server.json and mcpName for the official MCP Registry, under com.getmcpads/google-ads.
1.0.0August 29, 2026First open-source release

Full changelog · All releases

Source synchronization: SOURCE_SYNC.md.

Upgrade notes

Requires Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of one of these lines. Older releases lack the October 2026 security fixes, and the server prints a warning on stderr when it starts on one. CI covers Node 22, 24 and 26.

This release makes no breaking change to the configuration. Two changes are announced for 3.0.0:

  • GOOGLE_ADS_ACCOUNT_IDS is optional in 2.x. When set, every tool is limited to the listed customers. When unset, the server starts as before and prints one line on stderr recommending it. It becomes required in 3.0.0.
  • GOOGLE_ADS_ENABLE_WRITES still accepts 1, yes and on, and prints one deprecation line on stderr. Use true, the only value 3.0.0 will accept.

The server pins Google Ads API v26. Raw queries sent through google_ads_run_gaql and google_ads_run_readonly_rpc follow v26 as well. A query that reads customer.conversion_tracking_setting.enhanced_conversions_for_leads_enabled or a hotel field of ad_group_bid_modifier must use the v26 names listed in Google's v26 release notes. Writes remain optional and require explicit confirmation.

Install this release

This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.

git clone --branch v2.1.1 --depth 1 https://github.com/get-mcp-ads/google-ads-mcp-server.git

cd google-ads-mcp-server npm ci npm run build

Configure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below.

Prefer a managed connection? Use Google Ads with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.

What you get

35 read toolsCampaigns, ad groups, budgets, bidding strategies, search terms, landing pages, Performance Max assets and placements, Shopping, recommendations, change history
13 write toolsOff by default. Status, budgets, bids, schedules, renames, campaign creation. Each one previews before it applies
Full Keyword PlannerKeyword ideas, historical metrics, forecasts, ad group themes, geo target suggestions
145 metrics, 88 dimensionsWith a compatibility matrix that catches invalid combinations before they hit the API
Google Ads API v26The version this release pins, including the Search Lift metrics read from lift_measurement_config
5 resourcesLive catalogues the model can read: metrics, dimensions, compatibility rules, 11 workflow recipes
GAQL and beyondgoogle_ads_run_gaql for raw queries, and google_ads_run_readonly_rpc for the services GAQL cannot reach
You do not need to know GAQL

The Google Ads API is queried with GAQL, its own query language, and most of its surface is only reachable that way. This server carries the metric and dimension catalogues, so the model asks for cost and conversions by name and the server writes the query.

google_ads_validate_query lets it check a combination before spending a call on it, and google_ads_run_gaql is still there when you want to write GAQL yourself.

Keyword Planner is not in GAQL

Keyword ideas, historical volumes and forecasts live in a separate RPC service that GAQL cannot reach at all. Same for Reach Planner, audience insights and benchmarks. This server covers them through google_ads_run_readonly_rpc and dedicated tools.


Getting credentials

This is the heaviest setup of any advertising platform. Four values are needed, and one of them requires a review by Google. Budget an hour the first time.

1. Developer token

From a manager (MCC) account, open Tools → API Center and apply for a token. It starts at *Test Account* level, which only reaches test accounts. Apply for Basic Access to reach live accounts. Google reviews the application, which can take a few days.

📖 Developer token documentation

2. OAuth client

In a Google Cloud project, enable the Google Ads API, then create an OAuth client under APIs & Services → Credentials. Choose Desktop app for local use. Note the client ID and client secret.

3. Refresh token

Run the OAuth consent flow once, signed in as the Google account that can see your ad accounts, and keep the refresh token it returns. Google's own helper script does this in one command.

📖 OAuth desktop flow

The refresh token does not expire. It is the sensitive value here: anyone holding it can mint access tokens indefinitely. Treat it like a password, and use an OAuth client dedicated to this server so you can revoke it on its own.

4. Login customer ID, if you use a manager account

If the accounts you query sit under an MCC, set GOOGLE_ADS_LOGIN_CUSTOMER_ID to the manager account ID. Dashes are accepted and stripped. Skip it for a standalone account.

You can also leave it unset. Google refuses any request against a managed account unless the call names its manager, with a USER_PERMISSION_DENIED that mentions neither the account nor the manager, so it reads as missing access rather than as a missing header. When the variable is unset and the account you query is not directly accessible, the server asks the managers it can reach which accounts they hold, and announces the one that holds yours. The answer is resolved once and kept for the life of the process.

Setting the variable is still faster: it skips that discovery entirely, and it is the right choice when every account you query sits under the same MCC.

Run `google_ads_health_check` as your first call. It verifies all four credentials, lists the accounts you can actually reach, and reports what is missing, without printing any secret.


Setup

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "google-ads": { "command": "npx", "args": ["-y", "@getmcpads/google-ads-mcp-server"], "env": { "GOOGLE_ADS_DEVELOPER_TOKEN": "your-developer-token", "GOOGLE_ADS_CLIENT_ID": "your-client-id", "GOOGLE_ADS_CLIENT_SECRET": "your-client-secret", "GOOGLE_ADS_REFRESH_TOKEN": "your-refresh-token", "GOOGLE_ADS_ACCOUNT_IDS": "123-456-7890" } } } }

Restart Claude Desktop. Ask it: *"list my Google Ads accounts"*.

Claude Code
claude mcp add google-ads --env GOOGLE_ADS_DEVELOPER_TOKEN=... --env GOOGLE_ADS_CLIENT_ID=... --env GOOGLE_ADS_CLIENT_SECRET=... --env GOOGLE_ADS_REFRESH_TOKEN=... -- npx -y @getmcpads/google-ads-mcp-server
Cursor

.cursor/mcp.json in your project, same shape as the Claude Desktop config above.

From source
git clone https://github.com/get-mcp-ads/google-ads-mcp-server.git

cd google-ads-mcp-server npm install && npm run build cp .env.example .env # then fill in your credentials npm start

Configuration
VariableDefaultMeaning
GOOGLE_ADS_DEVELOPER_TOKENnoneRequired. From the API Center, Basic Access or above
GOOGLE_ADS_CLIENT_IDnoneRequired. OAuth client ID
GOOGLE_ADS_CLIENT_SECRETnoneRequired. OAuth client secret
GOOGLE_ADS_REFRESH_TOKENnoneRequired. From the consent flow
GOOGLE_ADS_LOGIN_CUSTOMER_IDnoneOptional. Manager (MCC) account ID. Resolved automatically when unset

| GOOGLE_ADS_ACCOUNT_IDS | *unset* | Recommended. Comma-separated customer

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx