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): rewrite DOF-downgrade warning to name PAC instead of is_dynamic_creative (#95)

Yves Junqueira13ec83b150d8
diff --git a/meta_ads_mcp/core/ads.py b/meta_ads_mcp/core/ads.py
index ad001c5..c4ebf7b 100644
--- a/meta_ads_mcp/core/ads.py
+++ b/meta_ads_mcp/core/ads.py
@@ -2465,9 +2465,12 @@ async def create_ad_creative(
if dof_downgraded:
warnings_.append(
"optimization_type=DEGREES_OF_FREEDOM was dropped because "
- "asset_customization_rules was also provided. Whether placement "
- "rules take effect depends on the target ad set's "
- "is_dynamic_creative capability."
+ "asset_customization_rules was also provided (Meta ignores "
+ "rules under DOF). The creative is stored in Placement-Asset-"
+ "Customization mode, which routes each asset to its placement "
+ "via rules and does not require is_dynamic_creative on the "
+ "ad set. If you wanted Advantage+ auto-optimization across "
+ "all assets instead, remove asset_customization_rules."
)
elif dof_multi_image_warning:
warnings_.append(dof_multi_image_warning)
diff --git a/pyproject.toml b/pyproject.toml
index 52eba50..2181a81 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "meta-ads-mcp"
-version = "1.0.89"
+version = "1.0.90"
description = "Model Context Protocol (MCP) server for Meta Ads - Use Remote MCP at pipeboard.co for easiest setup"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/server.json b/server.json
index 80c6932..78758e2 100644
--- a/server.json
+++ b/server.json
@@ -2,7 +2,7 @@
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "co.pipeboard/meta-ads-mcp",
"description": "Facebook / Meta Ads automation with AI: analyze performance, test creatives, optimize spend.",
- "version": "1.0.89",
+ "version": "1.0.90",
"remotes": [
{
"type": "streamable-http",
diff --git a/tests/test_create_ad_creative_collapse_warning.py b/tests/test_create_ad_creative_collapse_warning.py
index b494ad5..7c4627a 100644
--- a/tests/test_create_ad_creative_collapse_warning.py
+++ b/tests/test_create_ad_creative_collapse_warning.py
@@ -112,4 +112,9 @@ async def test_dof_downgrade_warning_revised():
assert warning is not None
warn_text = warning if isinstance(warning, str) else " ".join(warning)
assert "placement-specific images are respected" not in warn_text
- assert "is_dynamic_creative" in warn_text
+ # The downgrade lands the creative in PAC, which routes by placement
+ # without the ad set's is_dynamic_creative flag. The warning must not
+ # claim rules depend on is_dynamic_creative (they don't — that's the
+ # gate for regular Dynamic Creative, not Placement Asset Customization).
+ assert "depends on" not in warn_text and "take effect depends" not in warn_text
+ assert "Placement" in warn_text or "PLACEMENT" in warn_text