Edit a Meta campaign / ad set / ad
update_meta_objectIdempotent
Update existing Meta ads: rename, adjust daily budget, change status (PAUSED/ACTIVE/ARCHIVED) or retarget ad sets. Activation requires confirmation to avoid accidental spend.
Instructions
Update an EXISTING campaign, ad set, or ad — rename, change its daily budget, retarget (ad sets), or change status (PAUSED / ACTIVE / ARCHIVED). Pass objectId (from list_meta_ads) + adAccountId. Setting something ACTIVE can start REAL AD SPEND — show the user what will run + its budget, get a yes, then pass confirm:true. Pausing / renaming / archiving is always safe.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | new name | |
| status | No | ACTIVE starts spend (needs confirm:true); PAUSED / ARCHIVED are safe | |
| confirm | No | REQUIRED true ONLY to set status ACTIVE (real spend) | |
| objectId | Yes | the campaign / ad set / ad id (from list_meta_ads) | |
| targeting | No | replacement targeting spec (ad sets) — a Meta targeting object | |
| adAccountId | Yes | ad account id (for auth + scope) | |
| dailyBudgetUsd | No | new daily budget in USD (1–10000; ad-set or campaign level) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| updated | No | ||
| objectId | No |