update_campaign
Update an existing campaign with validated changes, automatic rollback snapshot, and post-write verification. Modify budget, status, scheduling, or ad categories.
Instructions
Update an existing campaign. Supervised write - validates before applying.
Takes a pre-write snapshot for rollback, validates the update payload, applies via Meta API, and verifies post-write state.
Args: campaign_id: Campaign ID to update. name: New campaign name. Subject to naming enforcement. daily_budget: New daily budget in currency units (e.g., 50.0 for EUR 50). Mutually exclusive with lifetime_budget. lifetime_budget: New lifetime budget in currency units. Mutually exclusive with daily_budget. status: New status. Allowed: 'PAUSED', 'ACTIVE', 'ARCHIVED'. Activating requires confirmation-level validation. start_time: New start time (ISO 8601 format). end_time: New end time / stop_time (ISO 8601 format). special_ad_categories: Comma-separated categories or empty string to clear.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| name | No | ||
| daily_budget | No | ||
| lifetime_budget | No | ||
| status | No | ||
| start_time | No | ||
| end_time | No | ||
| special_ad_categories | No |