Run Meta ad campaigns for a newsletter
A Claude Code agent made ad images, ran Meta campaigns through the API, and built landing-page variants.
What they did
The agent generated creative, launched and adjusted campaigns via the Meta API, built landing page variants, and pulled analytics each day.
How it went
About 50 variants were tested over 31 days. The write-up shares the process more than the final cost per subscriber.
Our read
Our analysis · Oct 28, 2026Not from the source. Our own assessment of the approach, which may date as the tools change.
Where it falls down
- It spends real money and posts publicly with no approval step, which is the riskiest combination on this site.
- Cost per subscriber is not reported, so there is no way to know whether 50 variants beat one good ad.
- Automated creative can breach ad policy, and that risks the whole account rather than one campaign.
Worth trying next
- Set the hard spend cap at the ad account level, not inside the agent.
- Hold creative for review before it goes live; the cost is a short delay.
Try it by SolvedWith.ai
A starting prompt we built from this case. Not the original poster's wording.
I work in media & publishing and want to run Meta ad campaigns for a newsletter. Walk me through setting this up with Claude Code, step by step. Before anything that spends money or posts publicly, stop and ask me first.