google-ads-mcp
google-ads-mcp
Google Ads API 用の読み取り専用 MCP サーバーです。キャンペーン、広告グループ、キーワード、生のGAQLクエリなどのレポーティングツールを公開しているため、MCP クライアント(Claude Code、Claude Desktop など)から Google Ads アカウントをクエリできます。mutate/write ツールはありません — サーがキャンペーン、予算、入札を変更することはできません。
ツール
ツール | 説明 |
| 設定した認証情報でアクセスできる顧客 ID を一覧表示します。 |
| マネージャー(MCC)アカウント配下のアカウントを一覧表示します。 |
| キャンペーンとその設定(指標なし)を一覧表示します。において |
| キャンペーン単位の指標(インプレッション、ク リック、コスト、コンババージョン)を取得します。 |
| 広告グループ単位の指標を取得します。 |
| キーワード単位の指標を取得します。 |
| 読み取り専用の生の GAQL |
前提条件
Google Ads API の認証情報が必要です。
認証に使用するマネージャー(MCC)アカウントの Google Ads API Center(ツールと設定 → API Center)から取得した developer token。
Google Ads API を有効にした Google Cloud プロジェクトから取得した OAuth2 の client ID / client secret。
ターゲットのアカウントに対するアクセス権を持つユーザーの refresh token。Google の OAuth デスクトップフローガイ を参照するか、
google-adsPython ライブラリに同梱のヘルパースクリプトを実行してください。マネージャー(MCC)アカウントを介してクライアカルアントの代わりに認証する場合、その
login_customer_id。
設定
# from the repo root
pip install -e .認証情報は次のいずれの方法で設定します。
オプション A: YAML ファイル
cp google-ads.yaml.example google-ads.yaml
# edit google-ads.yaml with your valuesオプション B: 環境変数
cp .env.example .env
# edit .env, then export the variables into your shell environmentカレンとディレクトリの google-ads.yaml、ま たは GOOGLE_ADS_* 環境変数が自動的に読み込まれます。別の場場所の YAML ファイルを指定する場合は、GOOGLE_ADS_CONFIGURATION_FILE_PATH を設定してください。
単独実行
python -m google_ads_mcp
# or, after `pip install -e .`:
google-ads-mcpサーバーは MCP 仕様に従って、stdio で通信します。
MCP クライアントへの登録
Claude Code(プロジェクトレベルの .mcp.json、または claude mcp で追加):
{
"mcpServers": {
"google-ads": {
"command": "google-ads-mcp",
"env": {
"GOOGLE_ADS_CONFIGURATION_FILE_PATH": "/absolute/path/to/google-ads.yaml"
}
}
}
}Claude Desktop (claude_desktop_config.json) も同様です。
セキュリティ上の注意
このサーバーは
GoogleAdsService.SearchStreamを介して GAQLSELECTクエリのみを発行します。GAQL にはINSERT/UPDATE/DELETE構文がないため、 これらのツールを介して Google Ads のデータを変更することはできません。google-ads.yamlや.envをコミットしないでください。どちらも gitignore 対象です。developer token、OAuth client secret、refresh token は認証情報として扱ってください。customer_idおよび エンティティ ID は、GAQL クエリ文字列に埋め込まれる前に数値として検証されます。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Google Ads, Meta (Facebook) Ads, GA4 and Merchant Center analysis in plain language. Read-only.
Read-only access to your VortexIQ store data: audits, KPIs, alerts, Brand DNA, reports, Ask VIQ.
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samtactical/Google-ads-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server