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