Skip to main content
Glama

Meta Ads MCP

by pipeboard-co

update_adset

Modify Meta Ads ad sets by updating frequency caps, budgets, targeting, bid strategy, and status to optimize campaign performance and align with advertising goals.

Instructions

Update an ad set with new settings including frequency caps and budgets.

Args:
    adset_id: Meta Ads ad set ID
    frequency_control_specs: List of frequency control specifications 
                             (e.g. [{"event": "IMPRESSIONS", "interval_days": 7, "max_frequency": 3}])
    bid_strategy: Bid strategy (e.g., 'LOWEST_COST_WITH_BID_CAP')
    bid_amount: Bid amount in account currency (in cents for USD)
    status: Update ad set status (ACTIVE, PAUSED, etc.)
    targeting: Complete targeting specifications (will replace existing targeting)
              (e.g. {"targeting_automation":{"advantage_audience":1}, "geo_locations": {"countries": ["US"]}})
    optimization_goal: Conversion optimization goal (e.g., 'LINK_CLICKS', 'CONVERSIONS', 'APP_INSTALLS', etc.)
    daily_budget: Daily budget in account currency (in cents) as a string
    lifetime_budget: Lifetime budget in account currency (in cents) as a string
    access_token: Meta API access token (optional - will use cached token if not provided)

Input Schema

NameRequiredDescriptionDefault
access_tokenNo
adset_idYes
bid_amountNo
bid_strategyNo
daily_budgetNo
frequency_control_specsNo
lifetime_budgetNo
optimization_goalNo
statusNo
targetingNo

Input Schema (JSON Schema)

{ "properties": { "access_token": { "default": null, "title": "Access Token", "type": "string" }, "adset_id": { "title": "Adset Id", "type": "string" }, "bid_amount": { "default": null, "title": "Bid Amount", "type": "integer" }, "bid_strategy": { "default": null, "title": "Bid Strategy", "type": "string" }, "daily_budget": { "default": null, "title": "daily_budget", "type": "string" }, "frequency_control_specs": { "default": null, "items": { "additionalProperties": true, "type": "object" }, "title": "Frequency Control Specs", "type": "array" }, "lifetime_budget": { "default": null, "title": "lifetime_budget", "type": "string" }, "optimization_goal": { "default": null, "title": "Optimization Goal", "type": "string" }, "status": { "default": null, "title": "Status", "type": "string" }, "targeting": { "additionalProperties": true, "default": null, "title": "Targeting", "type": "object" } }, "required": [ "adset_id" ], "title": "update_adsetArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeboard-co/meta-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server