Skip to main content
Glama

Meta Ads MCP

by pipeboard-co

update_campaign

Modify existing Meta Ads campaign details, including name, status, budget, bid strategy, and optimization settings, to align with updated advertising goals and strategies.

Instructions

Update an existing campaign in a Meta Ads account. Args: access_token: Meta API access token (optional - will use cached token if not provided) campaign_id: Meta Ads campaign ID (required) name: New campaign name status: New campaign status (e.g., 'ACTIVE', 'PAUSED') special_ad_categories: List of special ad categories if applicable daily_budget: New daily budget in account currency (in cents) as a string. Set to empty string "" to remove the daily budget. lifetime_budget: New lifetime budget in account currency (in cents) as a string. Set to empty string "" to remove the lifetime budget. bid_strategy: New bid strategy bid_cap: New bid cap in account currency (in cents) as a string spend_cap: New spending limit for the campaign in account currency (in cents) as a string campaign_budget_optimization: Enable/disable campaign budget optimization objective: New campaign objective (Note: May not always be updatable) use_adset_level_budgets: If True, removes campaign-level budgets to switch to ad set level budgets

Input Schema

NameRequiredDescriptionDefault
access_tokenNo
bid_capNo
bid_strategyNo
campaign_budget_optimizationNo
campaign_idNo
daily_budgetNo
lifetime_budgetNo
nameNo
objectiveNo
special_ad_categoriesNo
spend_capNo
statusNo
use_adset_level_budgetsNo

Input Schema (JSON Schema)

{ "properties": { "access_token": { "default": null, "title": "Access Token", "type": "string" }, "bid_cap": { "default": null, "title": "bid_cap", "type": "string" }, "bid_strategy": { "default": null, "title": "Bid Strategy", "type": "string" }, "campaign_budget_optimization": { "default": null, "title": "Campaign Budget Optimization", "type": "boolean" }, "campaign_id": { "default": null, "title": "Campaign Id", "type": "string" }, "daily_budget": { "default": null, "title": "daily_budget", "type": "string" }, "lifetime_budget": { "default": null, "title": "lifetime_budget", "type": "string" }, "name": { "default": null, "title": "Name", "type": "string" }, "objective": { "default": null, "title": "Objective", "type": "string" }, "special_ad_categories": { "default": null, "items": { "type": "string" }, "title": "Special Ad Categories", "type": "array" }, "spend_cap": { "default": null, "title": "spend_cap", "type": "string" }, "status": { "default": null, "title": "Status", "type": "string" }, "use_adset_level_budgets": { "default": null, "title": "Use Adset Level Budgets", "type": "boolean" } }, "title": "update_campaignArguments", "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