MG

matiouscorp/google-ad-manager-mcp

开发工具

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

20 stars 11 forks 质量 80 趋势 4MIT

Google 广告管理器的MCP服务器。通过Claude、ChatGPT、Gemini、Cursor和VS Code等AI助手管理广告活动、订单、行项和创意。

概览

一个MCP服务器,允许Claude、ChatGPT、Gemini、Cursor和VS Code等AI助手通过自然语言管理您的广告活动、广告项目、创意等内容。 由Matious打造——我们为企业打造定制的AI工具和MCP服务器。 管理谷歌广告管理器非常繁琐。创建广告活动、上传创意和配置行项都需要通过复杂的界面无数次点击。 将其连接到Claude,通过对话管理您的整个广告运营: - “为耐克创建新广告活动,截止日期为12月31日” - “从该文件夹上传所有创意,并将其关联到展示条项” - “检查当前正在送达的订单” 别再点击了。告诉克劳德你需要什么。

概述(AI 翻译)

用AI自动化谷歌广告管理器。 一个MCP服务器,允许Claude、ChatGPT、Gemini、Cursor和VS Code等AI助手通过自然语言管理你的广告活动、行列、创意内容等。

由Matious打造——我们为企业打造定制的AI工具和MCP服务器。


为什么会有这样的存在

管理谷歌广告管理器非常繁琐。创建广告活动、上传创意和配置行项都需要通过复杂的界面无数次点击。

这个MCP服务器会改变这一点。 连接到Claude,通过对话管理你的全部广告运营:

  • “为耐克创建新广告活动,截止日期为12月31日”
  • “从该文件夹上传所有创意,并将其关联到展示行项”
  • “检查当前正在送达的订单”

别再点击了。告诉克劳德你需要什么。

特色

  • 订单管理:列出、创建和管理订单
  • 行项管理:创建、复制和配置行项
  • 创意管理:上传图片,关联行项,批量上传
  • 广告主管理:查找、创建和列出广告主

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

README

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

Google Ad Manager MCP Server

Automate Google Ad Manager with AI. An MCP server that lets AI assistants like Claude, ChatGPT, Gemini, Cursor, and VS Code manage your ad campaigns, line items, creatives, and more through natural language.

Built by Matious — We build custom AI tools and MCP servers for businesses.


Why This Exists

Managing Google Ad Manager is tedious. Creating campaigns, uploading creatives, and configuring line items involves countless clicks through a complex UI.

This MCP server changes that. Connect it to Claude and manage your entire ad operations through conversation:

  • “Create a new campaign for Nike ending December 31st”
  • “Upload all creatives from this folder and associate them with the Display line item”
  • “Check which orders are currently delivering”

No more clicking. Just tell Claude what you need.

Features

  • Order Management: List, create, and manage orders
  • Line Item Management: Create, duplicate, and configure line items
  • Creative Management: Upload images, associate with line items, bulk upload
  • Advertiser Management: Find, create, and list advertisers
  • Verification Tools: Verify line item setup, check delivery status
  • Campaign Workflow: Complete campaign creation in one operation

Installation

pip install google-ad-manager-mcp

Or with uv:

uv pip install google-ad-manager-mcp

From Source

git clone https://github.com/MatiousCorp/google-ad-manager-mcp.git
cd google-ad-manager-mcp
pip install -e .

Dependencies

  • FastMCP: MCP server framework with native middleware support
  • googleads: Google Ad Manager SOAP API client

Configuration

The server uses environment variables for configuration:

Variable Description Required
GAM_CREDENTIALS_PATH Path to service account JSON Yes
GAM_NETWORK_CODES Comma-separated list of GAM network codes (first is the default) Yes
GAM_MCP_TRANSPORT Transport mode: stdio or http No (default: stdio)
GAM_MCP_HOST Server host (HTTP mode only) No (default: 0.0.0.0)
GAM_MCP_PORT Server port (HTTP mode only) No (default: 8000)
GAM_MCP_AUTH_TOKEN Authentication token (HTTP mode only) No (auto-generated if not set)
在 GitHub 查看完整 README

安装

uvx google-ad-manager-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "google-ad-manager": { "command": "uvx", "args": ["google-ad-manager-mcp"], "env": { "GAM_CREDENTIALS_PATH": "/path/to/your/credentials.json", "GAM_NETWORK_CODE": "YOUR_NETWORK_CODE" } } } }