Let Claude Code run Meta ads tests end to end
One writer let Claude Code handle ad creation, campaign changes, and reporting for a newsletter experiment across 31 days.
- What they did
- The writer handed Claude Code a $1,500 budget and access to the newsletter’s Meta Ads account. Once a day, they ran a single command, and the agent checked its own logs, pulled numbers from Meta and PostHog, chose whether to start, stop, or expand campaigns, carried out the changes, and saved its reasoning in git. The writer only stepped in once, to add email validation to the lead form.
- How it went
- During the month, it explored about 50 versions, used $1,493, and produced 243 leads. That worked out to $6.14 per lead, short of the $2.50 target. The best ads used a whiteboard-style design, and the one manual change pushed cost per lead past $50; performance never fully bounced back.
- Tips
- If you test this approach, make the objective open-ended instead of time-boxed, or the agent may become overly cautious. Spell out lead quality from the start so it does not wait until late in the run to account for it.
Try it yourself with Claude Code
Manage a Meta ads test for [newsletter or product] with as little hands-on work from me as possible. Draft [number] ad image and copy variations for [audience], prepare matching landing page versions, and create campaign drafts in Meta Ads through the API. Before anything is turned on, money is spent, or a form is changed in a way that could affect real users, pause and ask me to approve it. Each day, review prior run logs plus performance data from Meta and PostHog, then decide whether to launch, pause, or increase spend, and write a brief explanation of the choice in the log. Report the results by [primary metric].
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Claude to sort recruiting leads and write outreach
A recruiting owner used Claude Code to gather, verify, and brief leads; another recruiter used it to clean lists and draft messages.
Use one strong Reddit answer to reach a karma target
A small-company developer used Claude Code to draft Reddit replies, and one well-grounded answer did most of the work toward a 200-karma goal.
Use Claude Code to coordinate event posts across channels
They used Claude Code to help publish event promotion across Twitter, Reddit, and LinkedIn for a San Francisco summit.
Audit ad accounts across multiple platforms
Use one command to have Claude Code review ad accounts on six platforms and return a ranked fix list.
Rewrite low-CTR titles and audit site SEO files
An SEO team used Claude Code to batch-rewrite weak meta tags, sync changes through a CMS API, and check core SEO files before publishing.
Build helpdesk tools that search docs and draft replies
A support admin used Claude Code to connect ticketing and knowledge tools, while another used a custom GPT to draft replies for manual paste-in.