Generate 100+ on-brand Facebook ads and upload them with Claude Code
A marketer had Claude Code build an ad generator that researches your customer's pain points and desired outcomes, writes and designs 100+ on-brand variations in minutes and uploads them to Facebook Ads through the API.
Source
@codyschneider on X · 2026-10-16
Written in our own words. Credit to the original author. Link checked 2026-10-22.
What they did
A marketer had Claude Code build an ad generator that researches your customer's pain points and desired outcomes, writes and designs 100+ on-brand variations in minutes and uploads them to Facebook Ads through the API.
Result (as claimed)
100+ ad variations per run, pushed straight into Ads Manager.
Tools they used
Cost: Claude Code: from $17/mo.
Set it up
Pick one goal and metric
For example replies to outreach, ad ideas per week or landing page conversion.
Set up the tools
Open Claude Code, Facebook Ads. Load your offer, audience and examples of what already works.
Generate, then review
Have the agent research and draft. You approve every message, post or ad before it goes out.
Measure and iterate
Track the metric for a week, keep what works and feed the results back into the prompt.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Generate 100+ on-brand Facebook ads and upload them with Claude Code What the original author did: A marketer had Claude Code build an ad generator that researches your customer's pain points and desired outcomes, writes and designs 100+ on-brand variations in minutes and uploads them to Facebook Ads through the API. Reported result (as claimed by the author): 100+ ad variations per run, pushed straight into Ads Manager. Source: https://x.com/codyschneider/status/2111155355740701078 Tools they used: Claude Code, Facebook Ads Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Generate 100+ on-brand Facebook ads and upload them with Claude Code What the original author did: A marketer had Claude Code build an ad generator that researches your customer's pain points and desired outcomes, writes and designs 100+ on-brand variations in minutes and uploads them to Facebook Ads through the API. Reported result (as claimed by the author): 100+ ad variations per run, pushed straight into Ads Manager. Source: https://x.com/codyschneider/status/2111155355740701078 Tools they used: Claude Code, Facebook Ads Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Generate 100+ on-brand Facebook ads and upload them with Claude Code What the original author did: A marketer had Claude Code build an ad generator that researches your customer's pain points and desired outcomes, writes and designs 100+ on-brand variations in minutes and uploads them to Facebook Ads through the API. Reported result (as claimed by the author): 100+ ad variations per run, pushed straight into Ads Manager. Source: https://x.com/codyschneider/status/2111155355740701078 Tools they used: Claude Code, Facebook Ads Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to make AI video ads and Reels with agents · How to vibe code an app with Claude Code · How to automate a small business with AI agents · How to build AI agents for SEO and ads
Related use cases
Build a plain-English Google Ads burn dashboard
Used Claude Code to build a Google Ads dashboard that explains in plain English what is wasting spend and why.
Check whether AI assistants cite your brand
Shipped a SaaS that scans a site and reports whether ChatGPT, Claude, Gemini, Perplexity and Grok mention and cite the brand.
Record user sessions and let Claude Code watch them to raise conversions
Instead of paying for Hotjar or PostHog and watching hours of replays, he built a tool that records visitors on his site and has Claude Code watch the recordings and suggest how to get more of them to convert.
Find local businesses with bad websites and draft the pitch automatically
He built a lead gen tool with Claude Code that finds businesses with no website or an outdated one, audits them, writes the pitch and drafts the email in his brand voice.