GA

gomarble-ai/google-ads-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

147 stars 47 forks 质量 78 趋势 4MIT

gomarble-ai/google-ads-mcp-server 是从 https://github.com/gomarble-ai/google-ads-mcp-server. 导入的 MCP 服务器候选服务器。

概览

gomarble-ai/google-ads-mcp-server 是从 https://github.com/gomarble-ai/google-ads-mcp-server. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

** 一个由 FastMCP 驱动的模型上下文协议服务器,用于 Google Ads API 集成,支持自动 OAuth 2.0 认证**

将 Google Ads API 直接连接到 Claude Desktop 及其他 MCP 客户端,支持无缝的 OAuth 2.0 认证、自动令牌刷新、GAQL 查询和关键词研究功能。

你的浏览器不支持视频标签。

简单的一键设置

为了简化安装体验,我们提供现成安装工具:

👉 下载安装器 - https://gomarble.ai/mcp

加入我们的社区,获取帮助和更新

👉 Slack社区 - 广告中的人工智能

也可以试试Facebook广告的mcp服务器

👉 Facebook广告MCP - Facebook广告MCP

✨ 特色

  • 🔐 自动OAuth 2.0 - 带自动刷新的一次性浏览器认证
  • 🔄 智能令牌管理 - 自动处理过期令牌
  • 📊 GAQL 查询执行 - 运行任何 Google Ads 查询语言查询
  • 🏢 账户管理 - 列出和管理谷歌广告账户
  • 🔍 关键词研究 - 利用搜索量数据生成关键词创意
  • 🚀 FastMCP 框架 - 基于现代 MCP 标准构建
  • 🖥️ Claude Desktop Ready - 直接集成 Claude 桌面

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Google Ads MCP Server 🚀

A FastMCP-powered Model Context Protocol server for Google Ads API integration with automatic OAuth 2.0 authentication

Connect Google Ads API directly to Claude Desktop and other MCP clients with seamless OAuth 2.0 authentication, automatic token refresh, GAQL querying, and keyword research capabilities.

Your browser does not support the video tag.

Easy One-Click Setup

For a simpler setup experience, we offer ready-to-use installers:

👉 Download installer - https://gomarble.ai/mcp

Join our community for help and updates

👉 Slack Community - AI in Ads

Try Facebook ads mcp server also

👉 Facebook Ads MCP - Facebook Ads MCP

✨ Features

  • 🔐 Automatic OAuth 2.0 - One-time browser authentication with auto-refresh
  • 🔄 Smart Token Management - Handles expired tokens automatically
  • 📊 GAQL Query Execution - Run any Google Ads Query Language queries
  • 🏢 Account Management - List and manage Google Ads accounts
  • 🔍 Keyword Research - Generate keyword ideas with search volume data
  • 🚀 FastMCP Framework - Built on the modern MCP standard
  • 🖥️ Claude Desktop Ready - Direct integration with Claude Desktop
  • 🛡️ Secure Local Storage - Tokens stored locally, never exposed

📋 Available Tools

Tool Description Parameters Example Usage
list_accounts List all accessible Google Ads accounts None “List all my Google Ads accounts”
run_gaql Execute GAQL queries with custom formatting customer_id, query, manager_id (optional) “Show me campaign performance for account 1234567890”
run_keyword_planner Generate keyword ideas with metrics customer_id, keywords, manager_id, page_url, date range options “Generate keyword ideas for ‘digital marketing’”

Note: All tools automatically handle authentication - no token parameters required!

🚀 Quick Start

Prerequisites

Before setting up the MCP server, you’ll need:

  • Python 3.10+ installed
  • A Google Cloud Platform account
  • A Google Ads account with API access

🔧 Step 1: Google Cloud Platform Setup

1.1 Create Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project:
    • Click “Select a project” → “New Project”
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "google-ads": { "command": "/full/path/to/your/project/.venv/bin/python", "args": [ "/full/path/to/your/project/server.py" ] } } }