Koskamo

Launch Meta Ads Campaigns via CLI

The agent creates and configures Meta ad campaigns, ad sets, and ads using structured commands, enabling bulk ad launches without manual UI interaction.

How it works

Changes data in your accountsSales and marketing

The agent uses the Ads Uploader MCP to execute Meta Ads CLI commands. It first ensures the environment is set up with a system user access token. Then, it constructs and runs commands like 'meta campaign create' or 'meta ad create' with specific parameters (e.g., budget, targeting, creative IDs). The agent parses JSON output to verify successful creation and handles errors using standard exit codes. It checks for required fields and ensures no interactive prompts block the process by using --no-input.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Launch Meta Ads Campaigns via CLI
Create a new Meta ad campaign named 'Summer Sale 2026' with a daily budget of $50. Then, create an ad set within that campaign targeting users aged 25-45 in the US. Finally, create an ad using the creative ID '123456789' and link it to the ad set. Return the JSON output of each step.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

It covers campaigns, ad sets, ads, creatives, insights, catalogs and datasets, with table, JSON or plain output that scripts can parse.
Meta Ads CLI: Setup, Commands and Limits of Meta's Official Ads CLI (2026)

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.