All apps
Managing Meta Ads Campaigns Through Claude Code
Tool

Managing Meta Ads Campaigns Through Claude Code

I run Facebook and Instagram campaigns from Claude Code, not from Ads Manager. Creation, creatives, budgets and reporting. Public on GitHub.

Status
In production
Build time
3h
Category
Tool

This app is open on GitHub. Fork it, use it and build on it. I like giving it to the community.

About the project

A connection between Claude Code and the Meta Marketing API. I don't create and evaluate campaigns by clicking around Ads Manager, I do it in plain language. Claude Code knows my brand context and rules and works with campaigns accordingly.

It handles campaigns, ad sets, ads, budgets and targeting. It also builds FLEX creatives, which Meta remixes for every impression. It reads performance with custom conversions and attribution windows.

By default it writes nothing and creates everything new as paused. It won't blow your budget by accident.

On GitHub it has 35+ stars and 11 forks. Part of its features came from the community: FLEX creatives came out of feedback from Honza Kaše.

It's public on GitHub under the MIT license, together with a Claude Code skill.

What you get

  • I run Facebook and Instagram campaigns in plain language.
  • Creation, creatives, budgets and reporting in one place.
  • Nothing is written without confirmation, new things start paused.
  • Public on GitHub with the skill, fork it for yourself.

How it works (under the hood)

  • Python on top of the Meta Marketing API v25.0.
  • 47 commands, stable --json output for scripts.
  • FLEX creatives, lead ads, video uploads over 100 MB.
  • Dry-run by default, rate-limit guard, 78 tests.

Built with

PythonMeta Marketing APICLIClaude Code

Want to build like this too?

I teach building apps without programming in the AI First course.

AI First course