Campaign Plans
Create a Campaign Plan
Creates a Campaign Plan. A Campaign Plan is the AdCrunch planning document. It is not a provider campaign. For provider campaigns, see the entities in the Observe API.
Only a name, a description and a currency are necessary. You write the window, the budget envelope and the Brand one part at a time. Write each amount in whole units of the currency: 40.5 is €40.50.
The new plan starts in draft. The answer is 409 if the slug already exists in your organization.
post/context/campaign-plans
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/context/campaign-plans
- Auth: HTTP bearer
Request body
Example request
{
"brand_name": "acme",
"currency": "EUR",
"description": "The spring sale of Acme, on Meta, in France and Belgium.",
"end_date": "2026-05-31",
"measurement": "Revenue in the window, against the spring of 2025.",
"name": "Spring Sale 2026",
"rationale": "Meta carries the reach. One Line Item keeps the budget in one place.",
"slug": "spring-sale",
"start_date": "2026-03-01",
"total_budget": 5000
}Response
The Campaign Plan as created, in draft, at revision 1, with no rows. allocation.allocated is 0 and unallocated is the whole envelope.
Example response
{
"allocation": {
"allocated": 0,
"comparable": true,
"unallocated": 5000,
"unit": null
},
"brandId": "brd_6a9c33",
"createdAt": 1768435200000,
"createdBy": "usr_5d2b71",
"currency": "EUR",
"description": "The spring sale of Acme, on Meta, in France and Belgium.",
"endDate": "2026-05-31",
"id": "cpl_4e1a08",
"lineItems": [],
"measurement": "Revenue in the window, against the spring of 2025.",
"name": "Spring Sale 2026",
"rationale": "Meta carries the reach. One Line Item keeps the budget in one place.",
"revision": 1,
"slug": "spring-sale",
"startDate": "2026-03-01",
"status": "draft",
"totalBudget": 5000,
"updatedAt": null
}Changes
No recorded changes to this operation across all 1 revision of this API.