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: remove unsupported description field from video_data
Yves Junqueira4f7a7057e8bb
diff --git a/meta_ads_mcp/core/ads.py b/meta_ads_mcp/core/ads.pyindex 558b440..a5ca833 100644--- a/meta_ads_mcp/core/ads.py+++ b/meta_ads_mcp/core/ads.py@@ -1063,8 +1063,9 @@ async def create_ad_creative(if headline:video_data["title"] = headline- if description:- video_data["description"] = description+ # NOTE: video_data does NOT support "description" directly.+ # For video creatives, description can go in+ # call_to_action.value.link_description if needed.# Build call_to_action with the destination URL.# For video creatives, link_url MUST go in call_to_action.value.link@@ -1072,6 +1073,8 @@ async def create_ad_creative(cta_value = {}if link_url:cta_value["link"] = link_url+ if description:+ cta_value["link_description"] = descriptionif lead_gen_form_id:cta_value["lead_gen_form_id"] = lead_gen_form_idcta_type = call_to_action_type or ("LEARN_MORE" if link_url else None)diff --git a/tests/test_video_creatives.py b/tests/test_video_creatives.pyindex 21a52f6..41a31cf 100644--- a/tests/test_video_creatives.py+++ b/tests/test_video_creatives.py@@ -64,9 +64,10 @@ async def test_simple_video_creative_uses_video_data():assert "link" not in video_data, "link must NOT be in video_data directly"assert video_data["message"] == "Check out this video"assert video_data["title"] == "Watch Now"- assert video_data["description"] == "Amazing content"+ assert "description" not in video_data, "description is NOT supported in video_data"assert video_data["call_to_action"]["type"] == "LEARN_MORE"assert video_data["call_to_action"]["value"]["link"] == "https://example.com/"+ assert video_data["call_to_action"]["value"]["link_description"] == "Amazing content"@pytest.mark.asyncio