What it does
OpenAI Ads MCP for ChatGPT Ads campaigns, creatives, audiences, insights, and conversions.
- Connects 电脑或云端
- Account or key Cloud: Works without a key · add X-OpenAI-Ads-API-Key if you have one (often raises limits) · Local: Needs OPENAI_ADS_API_KEY
- Category 营销与社交媒体
可搭配使用
教 AI 做这类工作的 Skill,可与本项一起使用
为什么排在这里
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 8/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 3/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 8/8 | 上次检查时云端端点有响应 |
| 使用分 | 19/100 |
质量: 基础检查通过 5/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
安装
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 OpenAI Ads MCP。按照 https://mcp.popnx.com/i/trakkr-aisearch-openai-ads-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 5/5 项检查 · 你的提问会经过开发者的服务器(openai-ads-mcp.trakkr.ai) · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“Add” → “Custom” → “Web”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称OpenAI Ads MCPRemote MCP server URL · 地址https://openai-ads-mcp.trakkr.ai/mcp在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add
在聊天中开启
+ConnectorsOpenAI Ads MCP
试一试
用 OpenAI Ads MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 OpenAI Ads MCP,或回答中出现 OpenAI Ads MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
能否连接 ChatGPT 取决于方案
完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称OpenAI Ads MCPConnection · 地址https://openai-ads-mcp.trakkr.ai/mcp在聊天中选择 OpenAI Ads MCP
开启新聊天,输入前先从插件列表中选择 OpenAI Ads MCP
试一试
用 OpenAI Ads MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 OpenAI Ads MCP,或回答中出现 OpenAI Ads MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http --scope user openai-ads https://openai-ads-mcp.trakkr.ai/mcp在 Claude Code 中输入 /mcp
应能看到 OpenAI Ads MCP 在列表中并显示已连接
试一试
用 OpenAI Ads MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 OpenAI Ads MCP,或回答中出现 OpenAI Ads MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 OpenAI Ads MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 OpenAI Ads MCP,或回答中出现 OpenAI Ads MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 OpenAI Ads MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 OpenAI Ads MCP,或回答中出现 OpenAI Ads MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://openai-ads-mcp.trakkr.ai/mcpJSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http --scope user openai-ads https://openai-ads-mcp.trakkr.ai/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"openai-ads": {
"url": "https://openai-ads-mcp.trakkr.ai/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"openai-ads": {
"type": "http",
"url": "https://openai-ads-mcp.trakkr.ai/mcp"
}
}
}安装在电脑上
Claude Code
claude mcp add --scope user openai-ads --env OPENAI_ADS_API_KEY=your-value -- npx -y openai-ads-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"openai-ads": {
"command": "npx",
"args": [
"-y",
"openai-ads-mcp"
],
"env": {
"OPENAI_ADS_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"openai-ads": {
"command": "npx",
"args": [
"-y",
"openai-ads-mcp"
],
"env": {
"OPENAI_ADS_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"openai-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"openai-ads-mcp"
],
"env": {
"OPENAI_ADS_API_KEY": "your-value"
}
}
}
}需要你填写的值
OPENAI_ADS_API_KEY机密 必填 env来自 Ads Manager 的 OpenAI Ads API 密钥。仅限于一个广告账户。查看英文原文
OpenAI Ads API key from Ads Manager. Scoped to one ad account.OPENAI_ADS_MCP_READONLYenv首次连接时设置为 1,以隐藏写入工具。查看英文原文
Set to 1 for first connection so write tools are hidden.OPENAI_ADS_BUDGET_CEILING_USDenv可选的预算保护,用于会产生费用的工具。默认值为100。查看英文原文
Optional budget guard for spend-changing tools. Defaults to 100.- 来自 Ads Manager 的 OpenAI Ads API 密钥。仅在调用 Ads API 工具时需要;discovery、initialize 和 tools/list 无需该密钥即可工作。
查看英文原文
OpenAI Ads API key from Ads Manager. Required only for Ads API tool calls; discovery, initialize, and tools/list work without it.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
工具名称和描述与服务器在 2026年11月19日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
get_accountGet the authenticated OpenAI Ads account. Use this first to verify that OPENAI_ADS_API_KEY works and to read account id, name, timezone, currency, and settings.
list_campaignsList campaigns in the authenticated ad account with cursor pagination.
get_campaignGet one campaign by id.
list_ad_groupsList ad groups for a campaign.
get_ad_groupGet one ad group by id.
list_adsList ads in an ad group.
get_adGet one ad by id, including review_status and creative metadata.
get_insightsGet performance insights for account, campaign, ad group, or ad scope. Supports fields, filters, sort, product/country/device segments, time ranges, and cursor pagination.
list_audiencesList custom audiences for the authenticated ad account.
get_audienceGet one custom audience by id.
search_geoSearch geo targets for targeting.locations.include and return ids usable in campaign targeting.
manage_conversionsManage conversion pixels, API keys, event settings, and conversion reporting.
draft_context_hintsDraft deterministic context_hints for an ad group from product, audience, intent, and keywords.
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 trakkr-aisearch 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于4个月前
- ✓ 通过
有许可证
使用 MIT
- ✓ 通过
端点有响应
在 115 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 13 个工具描述,未发现针对 AI 的隐藏指令
云端地址最近 5 次检查中有 5 次响应 · 最近一次 115 ms · 检查于 2026年11月19日
已公开的漏洞(OSV.dev)
OSV.dev 中没有 openai-ads-mcp@0.1.7 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/trakkr-aisearch-openai-ads-mcp)讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“营销与社交媒体”中的其他服务器比较i
- 星标数多于此分类中其他 4190 个服务器的 94%
- 发布到注册中心的时间比此分类中其他 4190 个服务器的 15% 更新
- 基础检查结果等于或优于此分类中其他 4190 个服务器的 99%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
OpenAI Ads MCP 安全吗?
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:OPENAI_ADS_API_KEY
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于4个月前,最新版本(0.1.7)于4个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
有什么可以替代它?
同一分类中有:Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer
功能相近的其他选择
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Relaticle
Open-source CRM your AI agents can write to: companies, people, opportunities, tasks and notes.
ChatbotX
Omnichannel customer messaging, CRM contacts, flows, sequences, broadcasts, and AI automation.
X (Twitter) MCP Server by Xquik
Xquik is the world's fastest and cheapest X (Twitter) data API with the most complete X data.
Betterlytics
Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
| 本项 OpenAI Ads MCP | Relaticle | ChatbotX | X (Twitter) MCP Server by Xquik | Betterlytics | BibiGPT YouTube Video Summarizer | |
|---|---|---|---|---|---|---|
| 运行位置 | 云端或安装在电脑上都可以 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 是 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | AGPL-3.0 | NOASSERTION | MIT | AGPL-3.0 | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
openai-ads-mcp
Trakkr tracks the full AI-visibility funnel, organic and paid. This is the open-source paid-side companion.
openai-ads-mcp is a typed Model Context Protocol server for OpenAI Ads, ChatGPT Ads, and OpenAI's Advertiser API. It lets Claude, Cursor, Codex, VS Code, and other MCP clients inspect Ads accounts, read performance insights, build paused campaigns, upload creatives, manage audiences, and send conversion events.
People often search for this as a ChatGPT Ads MCP because the ads appear in ChatGPT. The package keeps the OpenAI Ads MCP name because ChatGPT Ads are managed through OpenAI Ads, Ads Manager, and the OpenAI Advertiser API.
Current public release: 0.1.7.
It ships in two runtimes with the same tool names, arguments, defaults, safety model, and vendored OpenAPI reference:
| Runtime | Best install | Package path |
|---|---|---|
| Python | uvx openai-ads-mcp | python/ |
| Node | npx -y openai-ads-mcp | typescript/ |
The goal is simple: make OpenAI Ads workable from an AI assistant without making spend easy to trigger by accident.
Install
Python with uvx:
export OPENAI_ADS_API_KEY="..."
export OPENAI_ADS_MCP_READONLY=1 uvx openai-ads-mcp
Python with pip:
python -m pip install openai-ads-mcp
export OPENAI_ADS_API_KEY="..." export OPENAI_ADS_MCP_READONLY=1 openai-ads-mcp
Node with npx:
export OPENAI_ADS_API_KEY="..."
export OPENAI_ADS_MCP_READONLY=1 npx -y openai-ads-mcp
Node with npm:
npm install -g openai-ads-mcp
export OPENAI_ADS_API_KEY="..." export OPENAI_ADS_MCP_READONLY=1 openai-ads-mcp
For local development from this monorepo:
cd services/openai-ads-mcp/python
python -m pip install -e . python -m openai_ads_mcp
cd ../typescript npm install npm run build node dist/index.js
Configuration
Create an Ads API key in OpenAI Ads Manager, then pass it as an environment variable.
export OPENAI_ADS_API_KEY="..."
Recommended first connection:
export OPENAI_ADS_MCP_READONLY=1
uvx openai-ads-mcp
Or with Node:
export OPENAI_ADS_MCP_READONLY=1
npx -y openai-ads-mcp
Readonly mode hides every write tool. They are absent from tools/list and cannot be called. Once you have confirmed the account and inspected data, unset OPENAI_ADS_MCP_READONLY to enable writes.
Optional environment variables:
| Variable | Purpose |
|---|---|
OPENAI_ADS_API_KEY | Required bearer key for https://api.ads.openai.com/v1. |
OPENAI_ADS_API_BASE_URL | Optional HTTPS override for tests or proxies. |
OPENAI_ADS_MCP_READONLY | Set to 1 or true to register read tools only. |
OPENAI_ADS_BUDGET_CEILING_USD | Optional budget guard. Default 100. |
Discovery Metadata
This repo includes server.json for the official MCP Registry and downstream MCP directories. The canonical registry name is:
io.github.trakkr-aisearch/openai-ads-mcp
The Node package includes the matching mcpName, and the Python package README includes the matching mcp-name marker for PyPI ownership verification.
The registry metadata also advertises the hosted read-only Streamable HTTP endpoint:
https://openai-ads-mcp.trakkr.ai/mcp
That hosted endpoint is for discovery and read-only usage. It does not store or use a Trakkr-owned OpenAI Ads API key. The hosted endpoint allows anonymous initialize and tools/list; Ads API tool calls require the caller to send X-OpenAI-Ads-API-Key.
MCP client examples
Claude Code, Python runtime
claude mcp add openai-ads \
-e OPENAI_ADS_API_KEY=your_ads_key_here \ -e OPENAI_ADS_MCP_READONLY=1 \ -- uvx openai-ads-mcp
Claude Code, Node runtime
claude mcp add openai-ads \
-e OPENAI_ADS_API_KEY=your_ads_key_here \ -e OPENAI_ADS_MCP_READONLY=1 \ -- npx -y openai-ads-mcp
Cursor or Claude Desktop
{
"mcpServers": { "openai-ads": { "command": "uvx", "args": ["openai-ads-mcp"], "env": { "OPENAI_ADS_API_KEY": "your_ads_key_here", "OPENAI_ADS_MCP_READONLY": "1" } } } }
Use "command": "npx" and "args": ["-y", "openai-ads-mcp"] for the Node runtime.
Codex CLI
[mcp_servers.openai_ads]
command = "uvx" args = ["openai-ads-mcp"] env = { OPENAI_ADS_API_KEY = "your_ads_key_here", OPENAI_ADS_MCP_READONLY = "1" }
MCP Registry
Registry-compatible clients should discover this server by name:
io.github.trakkr-aisearch/openai-ads-mcp
The registry metadata lists npm, PyPI, and the hosted Streamable HTTP endpoint. The hosted endpoint does not require an API key for discovery, but it does require X-OpenAI-Ads-API-Key for Ads API tool calls.
Docker
The repository includes production Dockerfiles for hosted Streamable HTTP deployments:
docker build -t openai-ads-mcp .
docker run --rm -p 8080:8080 \ -e OPENAI_ADS_MCP_HOSTED_PUBLIC=1 \ -e OPENAI_ADS_MCP_TELEMETRY_SALT="local-test-salt" \ openai-ads-mcp
The narrower typescript/Dockerfile is used by the Cloud Run deploy script. For local stdio use, prefer uvx openai-ads-mcp or npx -y openai-ads-mcp.
Streamable HTTP
The Node runtime can also serve MCP over Streamable HTTP for hosted or team deployments:
export OPENAI_ADS_MCP_HTTP_TOKEN="choose_a_long_random_token"
export OPENAI_ADS_MCP_READONLY=1 npx -y openai-ads-mcp --http
Defaults:
- URL:
http://127.0.0.1:8080/mcplocally, orhttps://your-host/mcpbehind a proxy. - Health checks:
GET /healthz,GET /health, andGET /ready. - Remote mode forces
OPENAI_ADS_MCP_READONLY=1unlessOPENAI_ADS_MCP_HTTP_ALLOW_WRITES=1is set. OPENAI_ADS_MCP_HTTP_TOKENprotects the MCP endpoint withAuthorization: Bearer.- Clients may send
X-OpenAI-Ads-API-Keyper request, or the server can use a server-sideOPENAI_ADS_API_KEY.
Useful hosted env vars:
| Variable | Purpose |
|---|---|
PORT or OPENAI_ADS_MCP_HTTP_PORT | HTTP port. Default 8080. |
OPENAI_ADS_MCP_HTTP_PATH | MCP path. Default /mcp. |
OPENAI_ADS_MCP_HEALTH_PATH | Health path. Default /healthz. |
OPENAI_ADS_MCP_HTTP_TOKEN | Optional bearer token required by hosted clients. |
OPENAI_ADS_MCP_HTTP_ALLOW_WRITES | Set to 1 only when you want write tools exposed over HTTP. |
OPENAI_ADS_MCP_HTTP_CORS_ORIGIN | Optional CORS origin. Default *. |
For public hosted endpoints, keep writes disabled and require users to bring their own Ads API key per request. Do not put a shared Ads API key in browser-visible config.
Public hosted mode
For a public discovery endpoint, use:
export OPENAI_ADS_MCP_HOSTED_PUBLIC=1
export OPENAI_ADS_MCP_TELEMETRY_SALT="long_random_value" npx -y openai-ads-mcp --http
Hosted public mode:
- forces readonly mode
- refuses to start if
OPENAI_ADS_MCP_HTTP_ALLOW_WRITES=1 - refuses to start if
OPENAI_ADS_API_KEYis present - rejects
X-OpenAI-Ads-API-Base-Url - allows anonymous initialize and
tools/list - requires
X-OpenAI-Ads-API-Keyfor Ads API tool calls - rate-limits discovery and tool calls
- logs only redacted summaries, hashes, counts, status, latency, and client metadata
The production runbook is in HOSTED_DEPLOY.md.
Tool Surface
The Python and Node runtimes expose the same 27 tools.
| Group | Tools |
|---|---|
| Account | get_account |
| Campaigns | list_campaigns, get_campaign, create_campaign, update_campaign, set_campaign_state |
| AdGroups | list_ad_groups, get_ad_group, create_ad_group, update_ad_group, set_ad_group_state |
| Ads | list_ads, get_ad, upload_creative, create_ad, update_ad, set_ad_state |
| Insights | get_insights |
| Audiences | list_audiences, get_audience, search_geo, manage_audience |
| Conversions | manage_conversions, send_conversions |
| Helpers | build_campaign, draft_context_hints, bulk_ab_test_hints |
High-use tools
| Tool | What it does |
|---|---|
get_account | Gets the ad account and confirms the API key works. |
get_insights | Reads account, campaign, ad group, or ad insights with fields, filters, sort, segments, and cursor pagination. |
create_campaign | Creates a paused campaign with a guarded lifetime budget, including conversion-optimized campaigns with one event setting. |
upload_creative | Uploads an image URL or local image file and returns file_id. |
create_ad | Creates a paused ad. chat_card requires target_url and file_id. |
build_campaign | Creates one paused campaign, one paused ad group, and paused ads in a guarded workflow. |
draft_context_hints | Deterministically drafts API-shaped context_hints with no hidden LLM call. |
send_conversions | Sends conversion events to https://bzr.openai.com/v1/events?pid=... after local validation, with optional validate_only. Supports obref and mobile app lifecycle events. |
get_insights accepts the current tagged time-range shape, for example:
{"type":"unix_range","start":1764547200,"end":1765152000}
The older nested shape is normalized for backward compatibility.
For conversion optimization, pass bidding_type="conversions" and exactly one conversion_event_setting_ids value to create_campaign. The campaign cannot use product-feed mode, and child ad groups must bill by click. build_campaign offers the same path through its singular conversion_event_setting_id helper argument. The bid is a CPA input even though OpenAI bills the child ad group per click.
OpenAI's Bulk API remains a limited preview and is not exposed as a general MCP tool. Product-feed campaign objects are supported, but feed connection and catalog upload still happen in Ads Manager or through OpenAI's supported SFTP flow.
Safety Model
This server can affect real ad spend, so the defaults are deliberately cautious.
- Create tools default to paused.
build_campaigncreates every object paused. - Activations are separate tools:
set_campaign_state,set_ad_group_state, andset_ad_state. - Budget-setting paths enforce
OPENAI_ADS_BUDGET_CEILING_USD, default100. - To exceed the ceiling, pass
confirm_budget=True. OPENAI_ADS_MCP_READONLY=1hides every write tool entirely.- Conversion ingest validates at most 1000 events per call, timestamps no older than 7 days, and timestamps no more than 10 minutes in the future.
- Use
validate_only=trueto validate a conversion batch without ingesting it. - The server never logs API keys or conversion user data.
MCP annotations are set on every tool. Read tools use readOnlyHint. Write tools use readOnlyHint=false. Activation and budget-changing tools are marked destructive and open-world so hosts can prompt before running them.
Worked Example
First, connect safely:
export OPENAI_ADS_API_KEY="..."
export OPENAI_ADS_MCP_READONLY=1 uvx openai-ads-mcp
Ask your assistant:
Call get_account and list_campaigns. Confirm the Ads key works and show me what already exists.
Then restart without readonly mode and build a paused campaign:
Use draft_context_hints for "AI visibility monitoring software" aimed at growth teams with comparison intent.
Then call build_campaign with:
- name: "AI visibility category test"
- budget_usd: 50
- ad_group: name "Growth teams", billing_event "click", max_bid_usd 1.25, context_hints from the draft
- ads: two chat_card variants using my uploaded file_id
Do not activate anything.
Review the returned campaign, ad group, ads, budget, targeting, and review status. When you are ready to go live, activate each layer explicitly:
Call set_campaign_state with state="activate".
Call set_ad_group_state with state="activate". Call set_ad_state for the approved ad with state="activate".
The Organic Half
Paid placements answer: where did you buy attention?
Trakkr answers: where does your brand show up orga