Line Items
Delete a Line Item
Deletes a Line Item. Send the base_revision you read. If the Campaign Plan was approved, this call puts the Campaign Plan back into draft, because the allocation is no longer the one that a person approved.
AdCrunch keeps the record of what the line already created. Those provider objects are live in an ad account, and this call does not remove them.
delete/context/campaign-plans/{slug}/line-items/{lineItemId}
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/context/campaign-plans/{slug}/line-items/{lineItemId}
- Auth: HTTP bearer
Path parameters
lineItemIdstring required
slugstring required
Query parameters
base_revisioninteger required
The revision last read via GET — guards concurrent edits.
Response
Deleted. An approved plan returns to draft, and the Campaign Plan’s own revision moves — so re-read it before your next guarded write against it.
Changes
No recorded changes to this operation across all 1 revision of this API.