Skip to content

Meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required.

Enhance get_campaigns function documentation

Yves Junqueira570705f49f43
diff --git a/meta_ads_mcp/core/campaigns.py b/meta_ads_mcp/core/campaigns.py
index b1775f8..72e6b52 100644
--- a/meta_ads_mcp/core/campaigns.py
+++ b/meta_ads_mcp/core/campaigns.py
@@ -13,6 +13,12 @@ async def get_campaigns(access_token: str = None, account_id: str = None, limit:
"""
Get campaigns for a Meta Ads account with optional filtering.
+ Note: By default, the Meta API returns a subset of available fields.
+ Other fields like 'effective_status', 'special_ad_categories',
+ 'lifetime_budget', 'spend_cap', 'budget_remaining', 'promoted_object',
+ 'source_campaign_id', etc., might be available but require specifying them
+ in the API call (currently not exposed by this tool's parameters).
+
Args:
access_token: Meta API access token (optional - will use cached token if not provided)
account_id: Meta Ads account ID (format: act_XXXXXXXXX)