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.

docs(ads): clarify link_url is required when asset_customization_rules is set (#97)

Yves Junqueira7237f1992ece
diff --git a/meta_ads_mcp/core/ads.py b/meta_ads_mcp/core/ads.py
index c4ebf7b..842bf62 100644
--- a/meta_ads_mcp/core/ads.py
+++ b/meta_ads_mcp/core/ads.py
@@ -1581,7 +1581,14 @@ async def create_ad_creative(
access_token: Meta API access token (optional - will use cached token if not provided)
name: Creative name
page_id: Facebook Page ID (string or int; coerced to string)
- link_url: Destination URL for the ad (required unless using lead_gen_form_id or reminder_data)
+ link_url: Destination URL for the ad. Required unless using lead_gen_form_id or
+ reminder_data — with one exception: if asset_customization_rules is also
+ set, link_url is required even for Lead ads. Meta accepts the creative
+ without link_urls but rejects the ad at create_ad time with error 1885800
+ ("Asset Customization Ads require a link"). The URL is never shown to the
+ user when lead_gen_form_id is set (the CTA opens the form), but Meta still
+ demands one be present on the creative. Pass any valid URL in that case
+ (e.g. the Facebook page URL or your site root).
message: Single ad copy/text (cannot be used with messages)
messages: List of primary text variants for multi-variant copy testing (cannot be used with message)
headline: Single headline for simple ads (cannot be used with headlines)