PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversmarketinggoogle-ads-mcp-server
返回「marketing」

google-ads-mcp-server

modelscope·@gomarble-ai/google-ads-mcp-server

marketing0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Google Ads MCP Server

License: MIT Python 3.10+ FastMCP

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.

<video controls width="1920" height="512" src="https://github.com/user-attachments/assets/1dc62f47-ace4-4dcf-8009-593ef7194b43">Your browser does not support the video tag.</video>

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

ToolDescriptionParametersExample Usage
list_accountsList all accessible Google Ads accountsNone"List all my Google Ads accounts"
run_gaqlExecute GAQL queries with custom formattingcustomer_id, query, manager_id (optional)"Show me campaign performance for account 1234567890"
run_keyword_plannerGenerate keyword ideas with metricscustomer_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"
    • Enter project name (e.g., "Google Ads MCP")
    • Click "Create"

1.2 Enable Google Ads API

  1. In your Google Cloud Console:
    • Go to "APIs & Services" "Library"
    • Search for "Google Ads API"
    • Click on it and press "Enable"

1.3 Create OAuth 2.0 Credentials

  1. Go to "APIs & Services" "Credentials"
  2. Click "+ CREATE CREDENTIALS" "OAuth 2.0 Client ID"
  3. Configure consent screen (if first time):
    • Click "Configure Consent Screen"
    • Choose "External" (unless you have Google Workspace)
    • Fill required fields:
      • App name: "Google Ads MCP"
      • User support email: Your email
      • Developer contact: Your email
    • Click "Save and Continue" through all steps
  4. Create OAuth Client:
    • Application type: "Desktop application"
    • Name: "Google Ads MCP Client"
    • Click "Create"
  5. Download credentials:
    • Click "Download JSON" button
    • Save file as client_secret_[long-string].json in your project directory

Step 2: Google Ads API Setup

2.1 Get Developer Token

  1. Sign in to Google Ads
  2. Go to Tools & Settings (wrench icon in top navigation)
  3. Under "Setup", click "API Center"
  4. Accept Terms of Service if prompted
  5. Click "Apply for token"
  6. Fill out application form:
    • Describe your use case (e.g., "MCP integration for campaign analysis")
    • Provide technical details about your implementation
  7. Submit and wait for approval (usually 1-3 business days)

Note: You'll initially get a test token with limited functionality. After testing, you can apply for production access.

2.2 Find Your Developer Token

Once approved:

  1. Return to API Center in Google Ads
  2. Copy your Developer Token (format: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)

Step 3: Installation & Setup

3.1 Clone and Install

# Clone the repository
git clone https://github.com/yourusername/google-ads-mcp-server.git
cd google-ads-mcp-server

# Create virtual environment (recommended)
python3 -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

3.2 Environment Configuration

Create a .env file in your project directory:

# Copy the example file
cp .env.example .env

Edit .env with your credentials:

# Required: Google Ads API Developer Token
GOOGLE_ADS_DEVELOPER_TOKEN=your_developer_token_here

# Required: Path to OAuth credentials JSON file (downloaded from Google Cloud)
GOOGLE_ADS_OAUTH_CONFIG_PATH=/full/path/to/your/client_secret_file.json

Example .env file:

GOOGLE_ADS_DEVELOPER_TOKEN=ABCDEFG1234567890
GOOGLE_ADS_OAUTH_CONFIG_PATH=/Users/john/google-ads-mcp/client_secret_138737274875-abc123.apps.googleusercontent.com.json

Step 4: Claude Desktop Integration

4.1 Locate Claude Configuration

Find your Claude Desktop configuration file:

macOS:

~/Library/Application Support/Claude/claude_desktop_config.…

相关 MCP Servers(来自「marketing」)

Google Search Console 数据服务

# 翻译 一个通过模型上下文协议提供访问Google Search Console数据的服务器,允许用户检索和分析具有自定义维度和报告周期的搜索分析数据。

@ahonn/mcp-server-gsc

Dub.co MCP 服务器

一种模型上下文协议服务器,允许AI助手通过Dub.co API创建、更新和删除Dub.co短链接。

@Gitmaxd/dubco-mcp-server-npm

Buttondown上下文协议

启用人工智能和大语言模型系统与Buttondown通讯服务的交互,支持通过模型上下文协议接口进行电子邮件草拟、安排、分析检索和列表管理。

@The-Focus-AI/buttondown-mcp

Instantly邮件营销平台

为电子邮件活动和潜在客户管理功能提供对Instantly API v2的访问。

@bcharleson/Instantly-MCP

Sendgrid邮件管理工具

提供了一个通过SendGrid的API管理电子邮件营销、联系人列表、动态模板和电子邮件分析的接口。

@Garoth/sendgrid-mcp

Smartlead-MCP 服务器(多通道代理服务器)

一个多通道代理服务器,为与Smartlead的API交互提供结构化的接口,将功能组织成逻辑工具,用于活动管理、潜在客户管理和其它营销自动化功能。

@jean-technologies/smartlead-mcp-server-local

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/gomarble-ai-google-ads-mcp-server/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

# Clone the repository git clone https://github.com/yourusername/google-ads-mcp-server.git cd google-ads-mcp-server # Create virtual environment (recommended) python3 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install dependencies pip install -r requirements.txt

基本信息

分类
marketing / cloud-platforms
运行方式
No
许可证
MIT License
详情文件
gomarble-ai-google-ads-mcp-server.md