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_campaign_details function documentation

Yves Junqueira54a5361878ea
diff --git a/meta_ads_mcp/core/campaigns.py b/meta_ads_mcp/core/campaigns.py
index 72e6b52..0b51dc3 100644
--- a/meta_ads_mcp/core/campaigns.py
+++ b/meta_ads_mcp/core/campaigns.py
@@ -54,6 +54,10 @@ async def get_campaigns(access_token: str = None, account_id: str = None, limit:
async def get_campaign_details(access_token: str = None, campaign_id: str = None) -> str:
"""
Get detailed information about a specific campaign.
+
+ Note: This function requests a specific set of fields ('id,name,objective,status,...').
+ The Meta API offers many other fields for campaigns (e.g., 'effective_status', 'source_campaign_id', etc.)
+ that could be added to the 'fields' parameter in the code if needed.
Args:
access_token: Meta API access token (optional - will use cached token if not provided)