GuidesMeta Ads MCPAPI Reference
API Reference

Meta Ads MCP API

Full reference for all 30+ tools, API token authentication, and direct API access.

API Reference

Available Tools

30+ functions organized by category. All tools are available through the MCP server.

Account Management

Access and manage ad account information

get_ad_accounts

Get all ad accounts accessible by a user with details

get_account_info

Get detailed information about a specific ad account

get_account_pages

Get Facebook pages associated with an ad account

Campaigns

Create, read, update, and manage campaigns

get_campaigns

Get campaigns with optional filtering by status or objective

New: Objective filtering

Filter campaigns by objective (e.g., OUTCOME_LEADS, OUTCOME_SALES, OUTCOME_TRAFFIC)

get_campaign_details

Get detailed information about a specific campaign

create_campaign

Create a new campaign with budget, objective, and targeting

update_campaign

Update campaign settings and budgets

create_budget_schedule

Schedule budget increases for high-demand periods

Ad Sets

Manage ad sets with targeting and budgets

get_adsets

Get ad sets with optional campaign filtering

get_adset_details

Get detailed information about an ad set

create_adset

Create a new ad set with targeting and optimization settings

update_adset

Update ad set settings including frequency caps and budgets

Ads

Create and manage individual ads

get_ads

Get ads with optional campaign or ad set filtering

get_ad_details

Get detailed information about a specific ad

create_ad

Create a new ad with an existing creative

update_ad

Update ad status, bid, or creative

Creatives & Media

Upload images and manage ad creatives

get_ad_creatives

Get creative details for a specific ad

upload_ad_image

Upload an image to use in creatives (returns image hash)

create_ad_creative

Create a new creative with image, copy, and CTA

update_ad_creative

Update creative copy, headlines, or CTA

get_ad_image

Download and visualize ad images

Analytics & Insights

Access performance data and metrics

get_insights

Get performance metrics for campaigns, ad sets, or ads

Supports time ranges (today, last_7d, last_30d, etc.) and breakdowns (age, gender, platform, etc.)

bulk_get_insightsNew

Get performance metrics across all your ad accounts in one call

Returns impressions, clicks, spend, CTR, CPC, CPM, reach, and conversions for all accounts. Takes 3-5 seconds with smart caching for repeat calls.

Available with Pipeboard's remote MCP (not the open-source GitHub version)

Audience Targeting

Research and validate targeting options

search_interests

Search for interest targeting options

get_interest_suggestions

Get related interest suggestions for existing interests

estimate_audience_size

Estimate reach for targeting specifications

search_behaviors

Search for behavior targeting options

search_demographics

Search demographic targeting options (life events, income, etc.)

search_geo_locations

Search for geographic targeting (countries, regions, cities)

Premium Tools (Paid Plans Only)

Advanced duplication features for A/B testing and scaling

duplicate_campaign

Duplicate entire campaigns with all ad sets and ads

duplicate_adset

Duplicate ad sets with optional targeting changes

duplicate_ad

Duplicate ads to different ad sets

duplicate_creative

Duplicate creatives with copy variations

API Tokens & Direct Access

For programmatic access, automation scripts, and direct API calls

If your MCP client requires an API token, or if you want to call the MCP server directly from code, you can use a Pipeboard API token for authentication.

1. Get your API token:

pipeboard.co/api-tokens →

2. Use in your requests:

Option A: Authorization header

Authorization: Bearer YOUR_TOKEN

Option B: Query parameter

https://mcp.pipeboard.co/meta-ads-mcp?token=pk_...

Useful for MCP clients that don't support custom headers. Less secure as the token may appear in request logs — prefer the header option when possible.

Direct Testing with curl

For testing or debugging, you can call the MCP directly using the MCP protocol:

curl -X POST https://mcp.pipeboard.co/meta-ads-mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $PIPEBOARD_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "get_ad_accounts",
      "arguments": {}
    }
  }'

Replace $PIPEBOARD_API_TOKEN with your API token from pipeboard.co/api-tokens

Rate Limits

Meta API Limits

The Meta Ads API has rate limits of 200 calls per hour per user. The MCP server automatically handles retries with exponential backoff.

Tips

  • Batch operations when possible (use filters to reduce API calls)
  • Cache insights data for reporting workflows
  • Use paused status when creating campaigns to review before activation
  • Test targeting with audience estimation before launching campaigns

Ready to connect your AI tools to Meta Ads?

Get started with the Meta Ads MCP in under 2 minutes.