update_campaign
Modify an existing Meta Ads campaign by updating its name, status, budget, bid strategy, or other parameters to optimize performance and align with advertising goals.
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
Name | Required | Description | Default |
---|---|---|---|
access_token | No | ||
bid_cap | No | ||
bid_strategy | No | ||
campaign_budget_optimization | No | ||
campaign_id | No | ||
daily_budget | No | ||
lifetime_budget | No | ||
name | No | ||
objective | No | ||
special_ad_categories | No | ||
spend_cap | No | ||
status | No | ||
use_adset_level_budgets | No |
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"
}