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: add warnings for immutable is_dynamic_creative and bid_strategy defaults (#52)
Yves Junqueira2ab0bef85429
diff --git a/meta_ads_mcp/core/adsets.py b/meta_ads_mcp/core/adsets.pyindex 435c092..69dd512 100644--- a/meta_ads_mcp/core/adsets.py+++ b/meta_ads_mcp/core/adsets.py@@ -439,6 +439,8 @@ async def update_adset(adset_id: str, frequency_control_specs: Optional[List[Dicdaily_budget: Daily budget in account currency (in cents)lifetime_budget: Lifetime budget in account currency (in cents)is_dynamic_creative: Enable/disable Dynamic Creative for this ad set.+ WARNING: This field is immutable after ad set creation. Meta's API will+ return success but silently ignore the change. To change this, create a new ad set.start_time: Start time in ISO 8601 format (e.g., '2023-12-01T12:00:00-0800').Use with status=ACTIVE to schedule the ad set for future delivery (effective_status will be SCHEDULED until start_time).end_time: End time in ISO 8601 format. Required when lifetime_budget is specified.diff --git a/meta_ads_mcp/core/campaigns.py b/meta_ads_mcp/core/campaigns.pyindex c6b638c..31d0649 100644--- a/meta_ads_mcp/core/campaigns.py+++ b/meta_ads_mcp/core/campaigns.py@@ -124,7 +124,7 @@ async def create_campaign(daily_budget: Optional[int] = None,lifetime_budget: Optional[int] = None,buying_type: Optional[str] = None,- bid_strategy: Optional[str] = None,+ bid_strategy: str = "LOWEST_COST_WITHOUT_CAP",bid_cap: Optional[int] = None,spend_cap: Optional[int] = None,campaign_budget_optimization: Optional[bool] = None,@@ -152,7 +152,7 @@ async def create_campaign(daily_budget: Daily budget in account currency (in cents) as a string (only used if use_adset_level_budgets=False)lifetime_budget: Lifetime budget in account currency (in cents) as a string (only used if use_adset_level_budgets=False)buying_type: Buying type (e.g., 'AUCTION')- bid_strategy: Bid strategy. Must be one of: 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'.+ bid_strategy: Bid strategy (default: LOWEST_COST_WITHOUT_CAP). Must be one of: 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'. WARNING: If you use LOWEST_COST_WITH_BID_CAP or COST_CAP, all child ad sets will require bid_amount to be set.bid_cap: Bid cap in account currency (in cents) as a stringspend_cap: Spending limit for the campaign in account currency (in cents) as a stringcampaign_budget_optimization: Whether to enable campaign budget optimization (only used if use_adset_level_budgets=False)