Documentation index: https://openadmanager.com/llms.txt

# Create & Manage Ads in Codex (MCP) | OpenAdManager

> One command adds OpenAdManager to Codex, then log in once. Codex can create, manage and optimize Google, Meta, TikTok, Reddit and X ads.

Canonical: https://openadmanager.com/codex-ads

OpenAdManager for Codex

# Run your ads from Codex

Add OpenAdManager to Codex with one command, then log in once. Codex can then create ads, write creatives, set targeting and budgets, and optimize what runs.

 [Connect Codex](https://app.openadmanager.com/connect?client=codex) Show the command [Get notified](https://app.openadmanager.com/accounts-open-soon)

`https://mcp.openadmanager.com/mcp`

Free plan, no time limitNo cardCreate and change ads within your plan

**Codex**OpenAdManager on

Create a Google campaign for my shoe store, $40 a day.

**Ready in your Google account.** Three ad versions, an audience and $40 a day. Review it and turn it on when you like it.

Ads3 versionsBudget$40 a dayNextTurn it on

## Add OpenAdManager to Codex

### One command

Run these two commands in your terminal.

`codex mcp add openadmanager --url https://mcp.openadmanager.com/mcp`

`codex mcp login openadmanager`

Using the Codex app? Settings, then MCP servers, then Add server, then Streamable HTTP, and paste the link.

One command

**The link, for any step that asks for it:**

`https://mcp.openadmanager.com/mcp`

[Full setup guide for Codex](https://openadmanager.com/docs/ai/codex) · [the vendor's own docs](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)

## What Codex is good for with your ad data

- Create campaigns and ads, with targeting and budgets, from a prompt
- Write the ad copy and creatives while Codex works on your site
- Optimize running ads and pull the numbers into a report it writes for you

## Limits you should know

- Adding it needs a computer.
- Free can make changes within its monthly limit.

## Try these questions

Plain words are fine. Copy one and paste it into Codex.

- Create a Google campaign for my shoe store, $40 a day.
- Which campaign is wasting money?
- How much did I spend this month?

## Questions

**Did you run the login command?**

Run codex mcp login openadmanager and finish the sign-in in the browser.

**Using the Codex app or IDE?**

The commands are for the CLI. In the app, open Settings, then MCP servers, then Add server, choose Streamable HTTP and paste the link.

**Not listed in Codex?**

Run the add command again, check the name is openadmanager, then run the login command.

**Do I have to log in?**

Yes. Run codex mcp login openadmanager once and sign in to OpenAdManager in the browser.

**I use the Codex app or IDE, not the CLI.**

The two commands are for the CLI. In the Codex app, go to Settings, then MCP servers, then Add server, choose Streamable HTTP and paste the link.

**Can I set it up in config.toml?**

Yes. Add a [mcp_servers.openadmanager] section with a url line that holds the link, then run the login command.

**Which kind of connection does it use?**

Streamable HTTP, a remote connection. Nothing runs on your machine.

**Can Codex change my ads?**

Yes, on every plan, within its monthly changes (25 on Free), and only the kinds of change AI permissions allow. All are on to start, and you can turn any off, such as raising budgets.

## Also works with

[Claude](https://openadmanager.com/claude-ads)[ChatGPT](https://openadmanager.com/chatgpt-ads)[Cursor](https://openadmanager.com/cursor-ads)[Claude Code](https://openadmanager.com/claude-code-ads)[GitHub Copilot in VS Code](https://openadmanager.com/copilot-ads)[Gemini CLI](https://openadmanager.com/gemini-cli-ads)[Devin Desktop (formerly Windsurf)](https://openadmanager.com/devin-ads)[AAntigravity](https://openadmanager.com/antigravity-ads)[OOpenClaw](https://openadmanager.com/openclaw-ads)[HHermes Agent](https://openadmanager.com/hermes-agent-ads)[All AI apps](https://openadmanager.com/ai-apps)

Guides: [Google Ads](https://openadmanager.com/google-ads) · [Meta Ads](https://openadmanager.com/meta-ads) · [TikTok Ads](https://openadmanager.com/tiktok-ads) · [Reddit Ads](https://openadmanager.com/reddit-ads) · [X Ads](https://openadmanager.com/x-ads) · [Find your pair](https://openadmanager.com/connect) · [What the Free plan includes](https://openadmanager.com/free-ai-ads-manager) · [Quickstart](https://openadmanager.com/docs/quickstart)

Your next campaign is one sentence away.

[Connect Codex](https://app.openadmanager.com/connect?client=codex)

Google Ads is a trademark of Google LLC. Facebook, Instagram and Meta are trademarks of Meta Platforms, Inc. TikTok is a trademark of TikTok Inc. Reddit is a trademark of Reddit, Inc. X is a trademark of X Corp. OpenAdManager is not affiliated with or endorsed by Google, Meta, TikTok, Reddit or X. Codex and its logo belong to their owners, and OpenAdManager is not affiliated with or endorsed by the maker of Codex.

[Connect Codex](https://app.openadmanager.com/connect?client=codex)
