From hive
Manage Meta Ads campaigns, ad sets, insights, audiences, and creatives. Use when user needs to create/monitor ad campaigns, check performance, or manage audiences on Meta (Facebook/Instagram).
npx claudepluginhub skywalking-dev/hiveThis skill is limited to using the following tools:
Manage ad campaigns via Meta Marketing API using Python CLI.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Manage ad campaigns via Meta Marketing API using Python CLI.
META_ADS_TOKEN in .env (Meta access token with ads_management permission)META_AD_ACCOUNT_ID in .env (format: act_XXXXXXXXX)# Account overview
python scripts/meta_ads_handler.py account
# List campaigns
python scripts/meta_ads_handler.py campaigns
python scripts/meta_ads_handler.py campaigns --status ACTIVE
# Create campaign (always PAUSED by default)
python scripts/meta_ads_handler.py campaign-create "Summer Sale" OUTCOME_SALES --daily-budget 50000
# Update campaign
python scripts/meta_ads_handler.py campaign-update 123456 --status ACTIVE
python scripts/meta_ads_handler.py campaign-update 123456 --name "New Name"
# Delete campaign
python scripts/meta_ads_handler.py campaign-delete 123456
# Ad Sets
python scripts/meta_ads_handler.py adsets
python scripts/meta_ads_handler.py adsets --campaign-id 123456
python scripts/meta_ads_handler.py adset-create 123456 "Target LATAM" 30000 LINK_CLICKS
# Ads
python scripts/meta_ads_handler.py ads
python scripts/meta_ads_handler.py ads --adset-id 123456
# Performance Insights
python scripts/meta_ads_handler.py insights
python scripts/meta_ads_handler.py insights --date-preset last_30d --level adset
python scripts/meta_ads_handler.py insights --id 123456 --breakdowns age,gender
# Audiences
python scripts/meta_ads_handler.py audiences
python scripts/meta_ads_handler.py audience-create "Newsletter Subscribers"
# Creatives
python scripts/meta_ads_handler.py creatives
OUTCOME_AWARENESS — Brand awareness, reachOUTCOME_TRAFFIC — Website/app trafficOUTCOME_ENGAGEMENT — Post engagement, page likesOUTCOME_LEADS — Lead generation formsOUTCOME_APP_PROMOTION — App installsOUTCOME_SALES — Conversions, catalog salestoday, yesterday, last_7d, last_30d, this_month, last_month, last_quarter
age, gender, country, region, placement, device_platform, publisher_platform
{
"success": true,
"data": { ... }
}
| Error | Cause | Fix |
|---|---|---|
190 | Invalid/expired token | Refresh META_ADS_TOKEN |
100 | Invalid parameter | Check field names and values |
2635 | Spending limit reached | Check account spend_cap |
1487390 | Ad account disabled | Check account_status via account command |