Pipeboard CLI
Manage Meta Ads and Google Ads from your terminal. Single binary, zero dependencies, 117+ commands. Built for AI agents and automation scripts.
What is the Pipeboard CLI?
The Pipeboard CLI is a command-line tool that lets you manage your Meta Ads and Google Ads campaigns directly from your terminal. It connects to Pipeboard servers, so your API tokens never leave the server side.
Perfect for AI coding agents (Claude Code, Cline, OpenClaw), automation scripts, and anyone who prefers the terminal over a web UI.
Why use the CLI:
Installation
Choose your platform
macOS / Linux (Homebrew)
Recommended. Installs and auto-updates.
brew install pipeboard-co/tap/pipeboardAny platform (Go install)
Works on macOS, Linux, and Windows. Requires Go 1.21+.
go install github.com/pipeboard-co/pipeboard-cli@latestWindows / Manual download
Pre-built binaries for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64).
Download from GitHub ReleasesVerify installation:
$ pipeboard version
pipeboard 0.2.0 (commit: 238712b)Authentication
Connect the CLI to your Pipeboard account
1. Get your API token from your Pipeboard account:
pipeboard.co/api-tokens →2. Save it to your CLI config (one-time setup):
pipeboard config set token YOUR_TOKEN_HEREOr use an environment variable: export PIPEBOARD_API_TOKEN=pk_...
3. Load the available commands:
pipeboard refreshThis fetches the latest tool definitions from Pipeboard servers. Run it once after installing, and again when new tools become available.
Your First Command
Start managing your ads
List your Meta ad accounts:
pipeboard meta-ads get-ad-accountsList your Google Ads customers:
pipeboard google-ads list-customersMore examples:
# Get campaign performance insights
pipeboard meta-ads get-insights --object-id act_123 --date-preset last_30d
# List Google Ads campaigns
pipeboard google-ads get-campaigns --customer-id 1234567890
# Create a Meta Ads campaign
pipeboard meta-ads create-campaign \
--account-id act_123 \
--name "Spring Sale" \
--objective OUTCOME_SALES
# Duplicate an ad for A/B testing
pipeboard meta-ads duplicate-ad --ad-id 12345Getting Help
Discover all available commands
Every command has built-in help with descriptions, flags, and required parameters. Use --help at any level to see what is available.
# See all top-level commands
pipeboard --help
# See all Meta Ads commands (67 commands)
pipeboard meta-ads --help
# See all Google Ads commands (50 commands)
pipeboard google-ads --help
# See flags and usage for a specific command
pipeboard meta-ads create-campaign --help
pipeboard google-ads get-campaigns --helpFlags are auto-generated from each tool's JSON Schema. Required flags are enforced, and enum values are shown in help text.
Command Reference
Meta Ads 67 commands
- Campaigns — create, update, duplicate, bulk update
- Ad Sets — create, update, duplicate, budgets
- Ads — create, update, duplicate, A/B test
- Creatives — images, videos, carousels
- Audiences — custom, lookalike, interest targeting
- Insights — performance reports, email reports
- Lead Gen — forms, publishing, status
- Product Catalogs — list catalogs, product sets
pipeboard meta-ads --helpGoogle Ads 50 commands
- Campaigns — search, PMax, display, video
- Ad Groups — create, update, metrics
- Ads — responsive search ads, enable/pause
- Keywords — add, remove, bids, negatives
- Audiences — segments, targeting, geo/device
- Extensions — sitelinks, callouts, snippets
- Assets — images, text, YouTube videos
- GAQL — arbitrary read queries and mutate ops
pipeboard google-ads --helpFull command reference with all flags and descriptions: github.com/pipeboard-co/pipeboard-cli →
Building AI Agents
Use the CLI in your own automation
The CLI is designed to be called by AI agents and scripts. Your agent can shell out to pipeboard commands and parse the JSON output.
# 1. List accounts
pipeboard meta-ads get-ad-accounts
# 2. Get campaign performance
pipeboard meta-ads get-insights \
--object-id act_123 \
--date-preset last_7d
# 3. Create a new campaign based on analysis
pipeboard meta-ads create-campaign \
--account-id act_123 \
--name "AI-optimized campaign" \
--objective OUTCOME_SALES
# 4. Create an ad set with targeting
pipeboard meta-ads create-adset \
--account-id act_123 \
--campaign-id 456 \
--name "Target audience" \
--daily-budget 2000You can also use Pipeboard as a remote MCP server if your agent supports MCP natively: