← All agent use cases · Meta ads use cases

Bulk-upload a folder of creatives as paused Meta ads with headline variants

Meta ads · X · · Shared by @codyschneider (Cody Schneider)

Claude Code reads every image in a creatives folder, writes 3 headline variants for each and uploads them to one ad set as paused ads through the Marketing API (about 50 ads in a couple of minutes, per the author). You then switch on the ones you like in Ads Manager. To keep the pipeline from breaking every 60 days, it uses a Meta system user token set to never expire (employee role, with only the page, ad account, app and Instagram assets it needs) kept in a .env file, not a Graph API Explorer token.

Claude CodeMeta Marketing API

Prompt

read every image in ./creatives, write 3 headline variants for each, upload them to ad set X as paused ads

AdShift lists real agent workflows people have shared publicly. We summarize them and link to the original; check the source before you copy a setup.

More Meta ads use cases All →

Latest Meta changes All →

Monday brief

One new agent use case every Monday, alongside the platform changes that matter.