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.

fix: drop description for simple video creatives — unsettable in Meta API v24

Yves Junqueira941bbf34e539
diff --git a/meta_ads_mcp/core/ads.py b/meta_ads_mcp/core/ads.py
index ebdfb51..ca62082 100644
--- a/meta_ads_mcp/core/ads.py
+++ b/meta_ads_mcp/core/ads.py
@@ -1080,8 +1080,9 @@ async def create_ad_creative(
if headline:
video_data["title"] = headline
- if description:
- video_data["description"] = description
+ # NOTE: Meta API v24 rejects "description" in video_data AND
+ # "link_description" in call_to_action.value (deprecated).
+ # Description is not settable for simple video creatives.
# Build call_to_action with the destination URL.
# For video creatives, link_url MUST go in call_to_action.value.link
diff --git a/tests/test_video_creatives.py b/tests/test_video_creatives.py
index 8d85945..43db9bd 100644
--- a/tests/test_video_creatives.py
+++ b/tests/test_video_creatives.py
@@ -72,7 +72,9 @@ 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"
+ # description is not settable for simple video creatives (Meta API v24
+ # rejects it in both video_data and call_to_action.value)
+ assert "description" not in video_data
assert video_data["call_to_action"]["type"] == "LEARN_MORE"
assert video_data["call_to_action"]["value"]["link"] == "https://example.com/"