CLI — Bundled with Pro

Your ad accounts, from the terminal.

Run queries, surface anomalies, and execute campaign actions directly from your terminal. Pipe results into scripts. Integrate into your existing workflows. Bundled with Pro — no extra charge.

  • Every chat query available as a CLI command
  • Structured JSON output — pipe into jq, scripts, or reporting tools
  • Execute actions: pause, resume, adjust budgets
  • API key authentication — set once as an environment variable
Get Started Free
terminal

$ campaign-agents query \

"Anything I should act on today?"

2 anomalies detected

→ Brand Search CPA up 18% (Google Ads)

→ Retargeting spend spike +43% (Meta)

$ campaign-agents action pause \

--campaign-id cmp_8x21a

{ "status": "completed", "action_id": "act_9f3b" }

What it looks like in practice

Every result is structured JSON. Pipe it wherever you need it.

# Check campaign performance across all platforms

$ campaign-agents query "Which campaigns are underperforming this week?"

[ { "campaign": "Brand Search", "platform": "google_ads", "cpa_delta": "+18%", "status": "warning" }, { "campaign": "Retargeting", "platform": "meta_ads", "cpa_delta": "-4%", "status": "ok" } ]

# Pause a specific campaign

$ campaign-agents action pause --campaign-id cmp_8x21a --platform google_ads

{ "action_id": "act_9f3b", "status": "completed", "affected": "cmp_8x21a", "timestamp": "2026-04-11T14:22:00Z" }

# Pipe into a script

$ campaign-agents anomalies --threshold 20 | jq '.[] | select(.severity == "high")'

{ "campaign": "TOFU Awareness", "metric": "spend", "delta": "+43%", "severity": "high" }

Common questions about the CLI

Is the CLI included with Pro?

Yes. The CLI is bundled with every Pro subscription at no extra charge. There is no separate plan or add-on required.

What can I do with the Campaign Agents CLI?

You can run any query or action available in the chat UI — check campaign performance, surface anomalies, pause or resume campaigns, adjust budgets, and generate reports. Results are returned as structured JSON so they can be piped into scripts or other tools.

Can I use the CLI in scripts and automated workflows?

Yes. The CLI is designed for scripting. Every command returns structured JSON. You can pipe results into jq, combine with cron jobs, or integrate into your existing reporting and alerting workflows.

How does the CLI authenticate?

The CLI authenticates with your Campaign Agents API key — the same key used for MCP access. Set it once as an environment variable and you're done. No browser OAuth flow required in the terminal.

CLI included with every Pro plan.

Free forever. Upgrade to Pro any time — 30-day money-back guarantee.

Get Started Free