# PATCH /marketing/campaigns/:campaign_id

**Resource:** [MARKETING](./marketing.md)  
**MCP tool:** `update_marketing_campaign`  
**Scopes:** `marketing:write`  
**Write operation:** yes

Change a campaign: status, assessment, learnings, dates, measure, budget, brand, owner, or archive it. The tag cannot change (links already carry it). Send base_revision from your last read so you never overwrite someone else's change (409 if it moved on).

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `campaign_id` | path | string | yes | The campaign id (from list_marketing_campaigns). |
| `name` | body | string | no | The campaign's name, e.g. "Restore finalpiece.ai's lost pages". |
| `plan_id` | body | string | no | The plan it belongs to. Defaults to the active plan. |
| `brand_kit_id` | body | string | no | The brand it markets (from list_marketing_brands). With only one brand in the workspace it is picked automatically. Send null to clear. |
| `channel` | body | string | no | Where it runs. |
| `hypothesis` | body | string | no | What we expect to change and why, in one or two sentences. Send null to clear. |
| `primary_metric` | body | string | no | The one result it is judged by: leads, booked, showed, proposals, clients or revenue_won (counted from its linked records on Lead Manager's rules), or any snapshot metric key such as search_clicks or youtube_watch_hours (read from its own snapshots). |
| `metric_unit` | body | string | no | Unit of the main measure, e.g. "clicks a month". Send null to clear. |
| `baseline_value` | body | number | no | Where the main measure started. Send null to clear. |
| `target_value` | body | number | no | Where it should get to. Send null to clear. |
| `start_date` | body | string | no | YYYY-MM-DD. Results count from this day. Send null to clear. |
| `end_date` | body | string | no | YYYY-MM-DD the work stops. Results keep counting after it. Send null to clear. |
| `review_date` | body | string | no | YYYY-MM-DD when it is fair to judge it (later than end_date for search and video work, which pay off over months). Send null to clear. |
| `budget_cash` | body | number | no | Money set aside for it. Send null to clear. |
| `budget_hours` | body | number | no | Staff hours set aside for it. Send null to clear. |
| `currency` | body | string | no | Currency of budget_cash and its costs, default AUD. |
| `status` | body | string | no | planned, running, judging (work done, waiting for results), done or stopped. |
| `assessment` | body | string | no | How it is going: on_track, too_early, needs_attention, worked or did_not_work. Send null to clear. |
| `owner_id` | body | string | no | Team member who owns it (user_id). Defaults to whoever this connection acts for. Send null to clear. |
| `learnings` | body | string | no | What was learned, in plain words. Send null to clear. |
| `archived` | body | boolean | no | true hides it from the plan without deleting anything; false brings it back. |
| `base_revision` | body | number | no | The revision you last read. When given and someone changed the campaign since, nothing is saved and you get 409. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/marketing/campaigns/:campaign_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name":"...","plan_id":"...","brand_kit_id":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`