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.
Python advertisingai-agentschatgptclaudefacebook-adsinstagram-adsmcpmeta-adsmodel-context-protocolpipeboard
fix: pass is_adset_budget_sharing_enabled for Meta API v24 ad-set-level budgets
Yves Junqueira3a753ccb1f92
diff --git a/meta_ads_mcp/core/campaigns.py b/meta_ads_mcp/core/campaigns.pyindex 023f0b3..800c776 100644--- a/meta_ads_mcp/core/campaigns.py+++ b/meta_ads_mcp/core/campaigns.py@@ -188,13 +188,16 @@ async def create_campaign(# Convert budget values to strings if they aren't alreadyif daily_budget is not None:params["daily_budget"] = str(daily_budget)-+if lifetime_budget is not None:params["lifetime_budget"] = str(lifetime_budget)-+if campaign_budget_optimization is not None:params["campaign_budget_optimization"] = "true" if campaign_budget_optimization else "false"-+ else:+ # Meta API v24 requires is_adset_budget_sharing_enabled when not using campaign budget+ params["is_adset_budget_sharing_enabled"] = "false"+# Add new parametersif buying_type:params["buying_type"] = buying_type