AI Marketing
Claude Code vs Codex for marketing: which job goes where
How I split ad-account work between the two, how each one connects to your ad data, and what each $20 plan includes.

Short answer
- If you can only pay for one, pick by your week. In my agency work Codex has been the better pick for search terms and wasted spend, and Claude Code for RSAs and landing pages.
- Only trust either tool when it works from saved rows: scripts pull the data to files, one model writes findings that cite those rows, and the other model checks them.
- Use MCP for ad data in either tool, and make changes wait for you: ask rules per server in Claude Code, the writes approval mode in Codex.
- Claude Code and Codex in the CLI and IDE extension both start at $20 a month. Codex also has a Free plan and an $8 Go plan for the desktop app; Claude Code is not on Claude's Free plan.
- Both read an AGENTS.md file, so one set of instructions per client folder can serve both tools.
If you run paid media and can only pay for one, pick by the job that fills your week: Codex if it's mostly account data, Claude Code if it's mostly copy. In my agency work Codex has been stronger at search terms, wasted spend and CRM checks, Claude Code at RSAs and landing pages. That's my split, not a benchmark1.
I don't trust either one on its own. Both work from saved rows, and each checks the other's findings before anything touches an account. I also build AdCtrl, which connects Google Ads, Meta Ads, GA4, Tag Manager and Search Console to Claude or ChatGPT, so weigh what I say about it with that in mind. The AI for marketing guide covers the wider picture.
Checked 27 November 2026 against Anthropic's and OpenAI's own docs and pricing pages2, 3.
Which is better for marketing, Claude Code or Codex?
Neither Claude Code nor Codex is better at marketing as a whole, because each wins a different kind of job. Match the split below against what fills your own week1.
Start with Codex if
- Most of your week is search terms, wasted spend and conversion checks
- You already pay for ChatGPT Plus, which includes Codex in the CLI and IDE extension
- You want one MCP setup shared by the ChatGPT desktop app, CLI and IDE
Start with Claude Code if
- Most of your week is RSAs, landing pages and offer angles
- You already pay for Claude Pro and added connectors in claude.ai
Run both if
- Findings can change budgets, bids or negatives, and you want a second check
- Two entry plans, $40 a month at list price, fit your budget
- Your week is split between account data and copy
What are Claude Code and Codex, in marketing terms?
Claude Code and Codex are assistants that work in a folder of files. They read the files there, run small scripts and save what they find, which is how I use them on ad accounts.
Claude Code comes from Anthropic and runs in the terminal, IDE extensions, a desktop app and the web, with a Claude subscription or an Anthropic Console account. Codex comes from OpenAI and runs in the ChatGPT desktop app, the Codex CLI, an IDE extension, the web and on iOS4, 5. The table puts them side by side, with an evidence label on every row.
| Question | Claude Code | Codex | Evidence |
|---|---|---|---|
| Where you use it | Terminal, IDE extensions, desktop app and the web (also in the Claude app for iOS and Android), sharing a usage pool with Claude on web, desktop and mobile | ChatGPT desktop app, Codex CLI, IDE extension, web and iOS | Documented |
| Instruction file it reads | CLAUDE.md, or AGENTS.md when there is no CLAUDE.md in the folder or any folder above it | AGENTS.md, before doing any work | Documented |
| Adding a remote MCP server | claude mcp add --transport http <name> <url>; claude.ai connectors carry over when you sign in with a claude.ai account | One config.toml shared by the desktop app, CLI and IDE; codex mcp login for OAuth servers | Documented |
| Making a server's tools wait for you | Ask rules per server, written as mcp__<server>__* | default_tools_approval_mode, for example writes | Documented |
| Lowest price that includes it | Pro, $20 a month billed monthly, or pay-as-you-go Console credits | Plus, $20, for the CLI and IDE extension; Free ($0) and Go ($8) cover the desktop app only, with a lighter model, subject to rollout; or an OpenAI API key at API prices | Documented, 27 Nov 2026 |
| Marketing jobs I give it | RSAs, landing page copy, offer angles, ad group messaging | Search terms, wasted spend, conversion action checks, CRM comparison | My experience, not a test |
Both tools read your folder, connect to MCP servers and can make a server's tools ask before they run. They differ in where they run and which instruction file they read first.
Source: Anthropic and OpenAI docs and pricing pages, checked 27 November 2026; last row from my own practice2, 3, 6, 5, 7, 8, 4, 9, 1
Which marketing jobs should go to Codex, and which to Claude Code?
Codex gets the jobs that start from account data, and Claude Code gets the jobs that end in words a customer reads. That split comes from roughly the last year of running ad accounts in both tools.
Google Ads alone is not enough context for either tool. If the model only sees Google Ads, it can optimise the wrong thing very confidently, so the data jobs pull the CRM and the tracking setup in next to the ad data.
Honestly, many Google Ads problems turn out to be tracking or CRM problems once both are on the table. Tracking is where a lot of PPC work secretly lives.
| Job | Tool I give it | Why, in my work | What to check before acting |
|---|---|---|---|
| Search term pass | Codex | Many rows compared with CRM lead quality; a lot of wasted spend is painfully obvious this way, and nobody wants to do the dull pass every week | Every negative candidate names its row and reason |
| Overspending keywords and wasted spend | Codex | Spend patterns across campaigns and ad groups | Spend against CRM outcomes, not only Google conversions |
| Conversion action checks | Codex | Settings and counts, not prose | Which actions count toward the account's goals |
| CRM comparison | Codex | Joining two exports row by row | That both files cover the same dates |
| RSAs and ad group messaging | Claude Code | Closer to language and search intent | Each line matches what the landing page says |
| Landing page copy and offer angles | Claude Code | Structure and wording for one audience | Every promise in the ads appears on the page |
My own split of recurring ad-account work, with a check to run before anything from that job reaches an account.
Source: My own agency practice, owner-reported, not a measured test1
The search term pass has its own walkthrough in the negative keywords guide, and the writing side in AI landing page copy. For Google Ads in Claude chat, the Claude for Google Ads guide covers which tasks only read and which change the account.
How do Claude Code and Codex connect to your ad data?
Claude Code and Codex both connect to ad data through MCP, the Model Context Protocol, a standard way for an AI assistant to call an outside tool. The setup and the safety settings live in different places in each tool.
Claude Code
Add a remote server with claude mcp add --transport http <name> <url>. If you signed in to Claude Code with a claude.ai account, the connectors you added in claude.ai are already there. On Team and Enterprise plans, only admins add those claude.ai connectors. Permission rules decide whether a server's tools run, ask first or are blocked, and mcp__<server>__* covers every tool on one server. /mcp lists what is connected2, 9.
Codex
Add the server once in config.toml (~/.codex/config.toml, or .codex/config.toml in a trusted project) and the ChatGPT desktop app, CLI and IDE extension all use it. Sign in with codex mcp login <server-name> for servers that use OAuth. codex mcp list or /mcp shows them3. To get the config.toml block and the matching claude mcp add command for one server, use the MCP config generator.
Codex's per-server approval setting is default_tools_approval_mode, and it's the one to set before a server can touch budgets or negatives. OpenAI's page lists four values and describes writes: it prompts for tools that aren't marked read-only. Tools marked read-only skip that prompt and everything else waits for you, as long as the server labels its tools.

Screenshot of OpenAI's Codex MCP docs, 27 November 2026: the four approval values and the writes rule, in OpenAI's own words.
For a server that can change budgets, bids or negatives, use an ask rule in Claude Code and the writes mode in Codex. In Claude Code, put the whole server under the ask rule until you know which tools write, then name those by their full mcp__<server>__<tool> name. Anthropic's permissions page says the rules "are enforced by Claude Code, not by the model".
How do you get Google Ads and Meta data into Claude Code or Codex?
Google and Meta each publish their own route to ad data, and both document a setup for Claude Code. Use the platforms' MCP servers for live reads, and exports or your own scripts when you want every pull saved as a file.
The Google Ads MCP, Meta Ads MCP and Google Analytics MCP guides compare the routes per platform. The agency setup walkthrough has the click-by-click steps for both tools, and MCP vs API covers how a connector differs from your own scripts against the API.
How do you use both without the model inventing numbers?
To stop Claude Code and Codex inventing numbers, make both work from saved rows: scripts pull the data into files, and every finding has to point at a row in those files.
If you just ask "what happened in this account?", the model will make the answer up. I only trust the output when it runs scripts and saves the outputs, and when a second model has gone through the findings. I treat it less like a smart chatbot and more like an operator that has to work from files.
Pull with scripts. One script per pull, such as search terms or CRM outcomes, and one more for conversion actions. Each saves a dated file in the client's folder. The agent can write the scripts if someone has set up API access; otherwise save the exports by hand.
Model A writes findings. Each finding names the file and row it rests on, the number, the action it proposes and why.
Model B checks them. The other tool opens the same files, confirms each number and marks every finding keep, change or drop.
Iterate. Send model B's notes back to model A until the list holds up, or until a person decides.
Stage the changes. Every change sits in a staged list with its reason and a change-log entry. Negatives and budgets wait for your approval, and so do bids and conversion settings.
Apply and read back. After you approve the batch, take a before snapshot, apply it, read the account back and log what changed and how to roll it back.
Illustration: a script saves the rows, model A cites them in its findings, model B checks those findings against the same files, and only a staged change with a reason and a log entry reaches a person for approval.
What does a worked example look like? (illustrative)
Example data for a made-up bookkeeping firm, not taken from any account. Codex, as model A, read 30 days of search terms. Claude Code, as model B, checked its flags against the CRM export.
| Row | Search term | Cost | Google Ads conversions | CRM outcome | Model A | Model B |
|---|---|---|---|---|---|---|
| 4 | free bookkeeping template | $84 | 0 | No lead | Negative | Keep |
| 9 | bookkeeping jobs | $61 | 0 | No lead | Negative | Keep |
| 14 | bookkeeper near me | $142 | 0 | 2 clients, both by phone | Negative | Drop: the CRM shows clients |
| 21 | what is bookkeeping | $37 | 0 | No lead | Negative | Keep |
| 27 | cheap bookkeeping software | $55 | 1 | 1 lead, marked unqualified | Not flagged | Add: the lead was unqualified |
Example data. The second model dropped one negative that the CRM contradicts and added one that Google counted as a conversion.
Source: Example data built for this article; the loop is my own practice1
Model A flagged rows 4, 9, 14 and 21. Model B kept 4, 9 and 21, dropped 14 and added 27, so rows 4, 9, 21 and 27 go to the staged list, each with its reason.
Row 14 spent $142 with no conversions in Google Ads, but the CRM shows two clients who called after that search. That is a tracking gap, not waste, so it goes to a conversion check instead; the conversion discrepancy guide covers where to look.
For form leads, that check can start from GA4 and Tag Manager with AdCtrl in a Claude or ChatGPT chat, but the CRM export still comes from the client folder, because AdCtrl doesn't connect to a CRM. In AdCtrl, write: "Our form fills don't match the conversions in Google Ads. Check Analytics and Tag Manager."
Model B can only check findings that point at rows, so give the findings file a fixed layout. An illustrative findings.csv uses this header, one finding per row:
id,claim,file,row,metric,value,action,reason
F3,bookkeeper near me spent with no conversions,search_terms_2026-10.csv,14,cost,142,add exact negative,no conversions in 30 days
Example review prompt when Codex wrote the findings. In Claude Code, type: "Read findings.csv and every file it cites in data/. For each finding, open the cited row and check that the number matches. Then check it against crm_outcomes.csv. Mark each finding keep, change or drop, with one line of reason and the row you used. Don't add a finding without a row. Don't edit any file except review.csv."
You can run the same loop the other way for copy. In Codex, type: "Read rsa_drafts.csv and landing_page.md. Flag every headline that promises something the page doesn't say, and quote the page line you checked. Don't rewrite anything."
How do you set up one workspace both tools read?
Set up one workspace for Claude Code and Codex around an AGENTS.md file per client folder. Codex reads AGENTS.md before doing any work. Claude Code reads it on its own only when there is no CLAUDE.md in the folder or any folder above it; if there is one, put the line @AGENTS.md in it7, 8, 14.
In my agency, each client has its own folder that both tools read, so neither starts from a blank chat. What to write in each client's AGENTS.md, with a template for one ad account, is in CLAUDE.md and AGENTS.md for marketing.
A skill packages the instructions and optional scripts for one repeated job, like a weekly search term pass; writing them is covered in Claude skills for marketing. Our own repository runs this way: the main instruction file at the root, one-line CLAUDE.md files in two subfolders, and five of seven skills mirrored in both skills folders15.
How much do Claude Code and Codex cost, and what are the limits?
Claude Code starts at $20 a month with Claude Pro, and Codex in the CLI and IDE extension also starts at $20 with ChatGPT Plus6, 5. Below that, Codex has a Free plan and an $8 Go plan, both for the desktop app and subject to rollout. Claude Code is not on Claude's Free plan.
Claude Code draws from the same usage pool as your Claude chats on web, desktop and mobile, so heavy chat days and terminal work spend the same allowance. Codex draws on your ChatGPT plan's usage allowance, which it shares with ChatGPT Work, and sessions on an OpenAI API key are billed separately at API prices5.
| Claude plan | Price a month | Claude Code | Usage |
|---|---|---|---|
| Free | $0 | Not included | Not applicable |
| Pro | $20 billed monthly, $17 with annual billing ($200 up front) | Included | One pool with your Claude chats |
| Max | $100 | Included | 5x Pro, every 5 hours and every week |
| Ultra | $200 | Included | 10x Pro weekly usage, no 5-hour limit for verified accounts |
| Console account | Pay-as-you-go API credits | Available | An option for heavy coding sessions |
Claude Code needs a paid Claude plan or Console credits. Max and Ultra raise the usage, and Ultra lifts the 5-hour limit for verified accounts.
Source: Anthropic pricing page, checked 27 November 2026; prices exclude tax6
| ChatGPT plan | Price a month | Codex |
|---|---|---|
| Free | $0 | A lighter model in the desktop app, subject to rollout |
| Go | $8 | A lighter model in the desktop app, subject to rollout |
| Plus | $20 | Codex on the web, in the CLI, in the IDE extension and on iOS |
| Pro | $100, $200 or $500 | No five-hour limit, currently |
| API key | API pricing | Codex in the CLI, SDK or IDE extension, without cloud features |
Codex in the CLI and IDE extension starts with Plus at $20. Free and Go cover the desktop app only, and Pro plans currently have no five-hour limit.
Source: OpenAI's Codex pricing page, checked 27 November 20265
For one person, that's one $20 plan for either tool, or $40 a month for both at list price, billed monthly. Anthropic's page says prices and plans are subject to change, so check both pages on the day you buy. Move up a tier, or add the second tool, when you keep hitting the limit halfway through an account pass.
Frequently asked questions
Can I use Claude Code with a ChatGPT or Codex subscription?
No. Claude Code signs in with a Claude plan or an Anthropic Console account, and Codex with a ChatGPT plan or an OpenAI API key, so running both means paying each vendor.
Is Claude Code or Codex free?
Codex has a Free plan at $0, with a lighter model in the desktop app, subject to rollout. It can also run on an OpenAI API key in the CLI, SDK or IDE extension at API prices, without cloud features. Claude Code isn't on Claude's Free plan; it starts with Pro at $20 a month, or with pay-as-you-go API credits through an Anthropic Console account6, 5.
Is Claude Code or Codex better for landing pages and website design?
For landing page copy I use Claude Code, the same as for RSAs and offer angles. Check every promise in the ads against the page before it ships. How the page looks is a separate call, and a person should make it.
Does every MCP server I add use more of my plan?
On Codex, yes. OpenAI's pricing page advises limiting the number of MCP servers, because each one adds context to your messages and uses more of your limit. Claude Code's MCP docs say tool search loads only tool names and server instructions at the start, so adding servers has minimal impact on the context window. In either tool, switch on only the servers a given job needs.
Can my whole team add servers to Claude Code?
Partly. On Team and Enterprise plans, only admins add the claude.ai connectors that carry over to Claude Code. Servers added with claude mcp add are set per user or per project, and admins can also deploy servers for everyone through managed configuration2. Ask your admin which route your organisation uses before the first account pass.
Does AdCtrl work in Claude Code or Codex?
Its docs cover Claude and ChatGPT, not Claude Code or Codex, so in the two coding tools use exports, your own API scripts or Google's and Meta's servers from the routes above. AdCtrl is for the same account pass in a Claude or ChatGPT chat, across Google Ads, Meta Ads, GA4, Tag Manager and Search Console.
What to do next
This week, have Codex pull one account's search terms for last month into a file and write findings that cite rows. Then give those findings to Claude Code to check before you stage a single negative.
For the setup steps in both tools, follow the Claude and Codex agency walkthrough. If you'd rather run the account-data pass in a Claude or ChatGPT chat, AdCtrl has a free trial that doesn't ask for a card.
Sources
- Own data: Kaan's recorded first-hand account of how he splits ad-account work between Codex (search terms, overspending keywords, campaign and ad group patterns, wasted spend, conversion action checks, CRM comparison) and Claude Code (RSAs, landing page copy, offer angles, ad group messaging), and how he works: scripts that save outputs, analysis that cites saved rows, a second model reviewing the findings and iterating, staged writes with a change log and a reason per change.. Sample: His own agency's account work; no client named, no client count. Period: About the last year to November 2026 (posts drafted in the Social Acquisition Engine project; current as of 2026-11-27 pending Kaan's confirmation, see RECORD.md open questions). Measure: owner-reported practice (qualitative); not a measured test. No client, client count or revenue; source files: Social Acquisition Engine/reddit-post-claude-code-codex-google-ads-ppc.md, reddit-post-ai-operating-layer-full-stack.md, Reddit/loriderrr/reddit-post-claude-code-google-ads-audit.md (only the general practice lines, never the account details).
- Connect Claude Code to tools via MCP, Anthropic. Accessed 27 November 2026.
- Model Context Protocol, OpenAI. Accessed 27 November 2026.
- Claude Code overview, Anthropic. Accessed 27 November 2026.
- Pricing (Codex), OpenAI. Accessed 27 November 2026.
- Plans & pricing, Anthropic. Accessed 27 November 2026.
- How Claude remembers your project, Anthropic. Accessed 27 November 2026.
- Custom instructions with AGENTS.md, OpenAI. Accessed 27 November 2026.
- Configure permissions, Anthropic. Accessed 27 November 2026.
- Google Ads MCP server: Developer integration guide, Google, 19 November 2026. Accessed 27 November 2026.
- Ads MCP server, Meta. Accessed 27 November 2026.
- Get started (ads MCP server), Meta, 4 September 2026. Accessed 27 November 2026.
- Ads MCP Server (developer documentation), Meta, 14 July 2026. Accessed 27 November 2026.
- Build skills, OpenAI. Accessed 27 November 2026.
- Own data: Observed in the AdCtrl repository on 2026-11-27: the root instruction file is AGENTS.md; socials/blog/CLAUDE.md and ads/CLAUDE.md contain the single line @AGENTS.md; five skills (blog-article, blog-topics, socials-publish, socials-topics, socials-video) exist in both .claude/skills and .agents/skills with identical contents (diff -rq), and two (socials-carousel, tool-page) exist only in .claude/skills.. Sample: One repository (AdCtrl's own), 7 skill folders. Period: 2026-11-27. Measure: count (file listing and diff). Own product repository; no client data.
- AdCtrl docs: Google Ads and Meta Ads in Claude or ChatGPT, AdCtrl, 26 November 2026. Accessed 27 November 2026.







