Start now

Codex · X Ads

Use X Ads in Codex with the NotFair Ads plugin

Install NotFair Ads from the shared ChatGPT and Codex plugin directory, then connect X Ads in your NotFair workspace. Codex can read live data and prepare supported changes for your review. 40 X Ads tools. Prefer the terminal? Connect the same hosted MCP with Codex CLI.

40 X Ads tools

Preview, explicit approval, and operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on X.

Turn Codex Into Your Marketing Engine

Bring ads, search, analytics, CRM, and WordPress into your AI client. Explore each integration to see its supported actions.

Choose a platform

Choose your AI client

1

Install NotFair Ads

Open the NotFair Ads plugin page and select Install plugin. Follow the connection prompts in ChatGPT or Codex.Open NotFair Ads
Use Codex CLI instead
codex mcp add NotFair-XAds --url https://notfair.co/api/mcp/notfair codex mcp login NotFair-XAds
2

Connect your workspace and verify

Sign in to NotFair, choose your workspace, and connect the integrations you want to use. Start a new chat and ask NotFair Ads to list your connected platforms and accounts. Then try: Audit my X Ads account and rank fixes by impact.

How it works

From plugin install to an approved X Ads change

01

Install NotFair Ads

Open Plugins in Codex, find NotFair Ads, and install it. Follow the connection prompts to sign in to your NotFair workspace.

02

Connect X Ads

NotFair hosts the X Ads API credentials. You authorize an existing ads account; you do not stand up an X developer app for the MCP client. For manual Codex CLI setup, run `codex mcp add NotFair-XAds --url https://notfair.co/api/mcp/notfair`, then `codex mcp login NotFair-XAds` to complete OAuth.

03

Verify, then review changes

Start a new Codex chat and ask NotFair Ads to list your connected platforms and accounts. Inspect X Ads data, then review the target and proposed edit before approving a supported write. uploadMedia fetches a public URL and returns a media_key. Local filesystem paths are not upload handles.

What you get

Campaigns, line items, and promoted Tweets

X does not publish a first-party Ads MCP in the public sources used here. NotFair hosts X Ads credentials and does not expose Google Ads-style impact snapshots or undo on X.

Live diagnosis

Ask what is wrong. The client reads Campaigns, line items, targeting, audiences, and promoted Tweets.

Platform-true writes

Preview, explicit approval, and operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on X.

Hosted OAuth

NotFair hosts the X Ads API credentials. You authorize an existing ads account; you do not stand up an X developer app for the MCP client.

Honest limits

uploadMedia fetches a public URL and returns a media_key. Local filesystem paths are not upload handles. X does not publish a first-party Ads MCP in the public sources used here.

X Ads tools

40 X Ads tools the client can call

The advertised count is measured from the production registrar and guarded by a drift test. The table below is a representative subset from the existing X Ads Claude landing.

ToolType
runScriptread
getAnalyticsread
listCampaignsread
listLineItemsread
pauseCampaignwrite
pauseLineItemwrite
updateCampaignBudgetwrite
createCampaignwrite

Full tool surface: /x-ads-mcp.

Example prompts

Prompts that lead to real account work

Wasted-spend triage

“Audit my X Ads account for the last 30 days. Rank the three highest-cost problems with evidence. Do not change anything until I approve.”

A ranked diagnosis from live tools, with staged writes that wait for approval.

Creative or delivery review

“Show frequency, spend, and delivery for the active X Ads entities. Flag creative fatigue or stalled learning. Preview any pause.”

Platform-true delivery review. Preview, explicit approval, and operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on X.

Budget shift preview

“Propose moving budget from the worst entity to the best, showing current versus proposed values. Do not execute.”

An exact proposal you can approve or reject. NotFair does not claim Google Ads impact snapshots on this platform.

X Ads + Codex FAQ

Using the NotFair Ads plugin or hosted MCP with X Ads in Codex.

Install NotFair Ads from Plugins in Codex, sign in to NotFair, and connect X Ads. Start a new chat and verify your connected accounts. For manual CLI setup, run `codex mcp add NotFair-XAds --url https://notfair.co/api/mcp/notfair`, then `codex mcp login NotFair-XAds`.

ChatGPT and Codex share a plugin directory. NotFair Ads connects to the same NotFair workspace and supported tools. Complete the connection prompts in the client you use, then verify the selected accounts in a new chat.

Preview, explicit approval, and operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on X. uploadMedia fetches a public URL and returns a media_key. Local filesystem paths are not upload handles. Review the exact change before approving a supported action.

X does not publish a first-party Ads MCP in the public sources used here.

Connect X Ads to Codex

Preview, explicit approval, and operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on X.

Preview, explicit approval, and operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on X.