# POST /marketing/campaigns

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

Start a campaign in the plan: one owner, one main measure (with baseline and target), a review date when it is fair to judge, a budget and a brand. It gets a campaign tag for its tracked links (made from the name unless given; fixed once created). Judge each campaign by its own measure: search work by search clicks over months, a video series by views then calls, ads by cost per client.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `name` | body | string | yes | 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. |
| `channel` | body | string | no | Where it runs. |
| `hypothesis` | body | string | no | What we expect to change and why, in one or two sentences. |
| `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". |
| `baseline_value` | body | number | no | Where the main measure started. |
| `target_value` | body | number | no | Where it should get to. |
| `start_date` | body | string | no | YYYY-MM-DD. Results count from this day. |
| `end_date` | body | string | no | YYYY-MM-DD the work stops. Results keep counting after it. |
| `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). |
| `budget_cash` | body | number | no | Money set aside for it. |
| `budget_hours` | body | number | no | Staff hours set aside for it. |
| `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. |
| `owner_id` | body | string | no | Team member who owns it (user_id). Defaults to whoever this connection acts for. |
| `learnings` | body | string | no | What was learned, in plain words. |
| `tag` | body | string | no | The campaign tag put on every tracked link (utm_campaign): lower case letters, numbers and dashes. Made from the name when left out, and fixed once created. |
| `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 POST   "https://api.trustpager.com/functions/v1/api/v1/marketing/campaigns"   -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`