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

# Google, Meta, TikTok and more Ads in Codex CLI | OpenAdManager

> Run codex mcp add, then codex mcp login. Your ad data in your terminal, with a no-browser option for servers. You choose what it can change.

Canonical: https://openadmanager.com/docs/ai/codex

**Docs menu**

## Get started

[Docs home](https://openadmanager.com/docs)[Quickstart](https://openadmanager.com/docs/quickstart)

## Add to your AI

[All AI apps](https://openadmanager.com/docs/ai)[Claude](https://openadmanager.com/docs/ai/claude)[ChatGPT](https://openadmanager.com/docs/ai/chatgpt)[Cursor](https://openadmanager.com/docs/ai/cursor)[Claude Code](https://openadmanager.com/docs/ai/claude-code)[Codex](https://openadmanager.com/docs/ai/codex)[GitHub Copilot](https://openadmanager.com/docs/ai/vs-code)[Gemini CLI](https://openadmanager.com/docs/ai/gemini-cli)[Devin Desktop](https://openadmanager.com/docs/ai/devin)[Antigravity](https://openadmanager.com/docs/ai/antigravity)[OpenClaw](https://openadmanager.com/docs/ai/openclaw)[Hermes Agent](https://openadmanager.com/docs/ai/hermes-agent)[More AI apps](https://openadmanager.com/docs/ai/other-clients)

## Control and safety

[AI permissions](https://openadmanager.com/docs/control)[Security](https://openadmanager.com/security)

## Tracking and team

[Tracking](https://openadmanager.com/docs/tracking)[Team and roles](https://openadmanager.com/docs/team)

## Google Ads

[Your own Google Cloud project](https://openadmanager.com/docs/google-ads/own-cloud-project)

## MCP reference

[Endpoint and tool catalog](https://openadmanager.com/docs/mcp)

Setup steps checked Nov 2026.

# Your ad accounts, inside Codex

**What you'll have at the end:** Codex CLI answering from your Google Ads, Meta ads, TikTok ads, Reddit ads and X ads.

## Install

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

```

Sign in to OpenAdManager in the browser window and click **Allow**. On a server with no browser, run `codex mcp login oam --no-browser` and follow the printed link.

## Manual

In `~/.codex/config.toml`:

```
[mcp_servers.oam]
url = "https://mcp.openadmanager.com/mcp"

```

A project `.codex/config.toml` is read only in projects you have marked as trusted.

## With a personal token

```
[mcp_servers.oam]
url = "https://mcp.openadmanager.com/mcp"
bearer_token_env_var = "OAM_TOKEN"

```

## Keep the tool list light

Use `enabled_tools` or `disabled_tools` in the same block to show Codex only the tools you need.

## If something goes wrong

- **Login does nothing on a server.** Use `--no-browser`, or a personal token.
- **"Not done. ... is turned off in AI permissions".** That is your switches working. Open the link in the message, or **Add to your AI** in the menu, and turn it on if you want it.

New sign-ups are closed right now.

[Get notified](https://app.openadmanager.com/accounts-open-soon)
