Skip to content

campaign_plan_delete

Delete a campaign plan and its line items. What they already created is kept.

On this page

Deletes a Campaign Plan and every Line Item on it.

Warning

A Campaign Plan is not a provider campaign

It is AdCrunch’s own planning document — written before anything is bought, and possibly executed into several campaigns, or none. For campaigns that exist on Meta or Google, use list_entities and get_entity.

Input

Field Type Required Description
campaign_plan_name string yes The plan slug.
base_revision integer yes The revision you last read. The delete is refused if the plan moved since.

Output

{ deleted: true, lineItemsDeleted: 3 } — the slug becomes free to re-use.

Warning

This retracts nothing that was already created

If a line executed, those campaigns and ad sets are live in an ad account and deleting a planning row does not touch them. The record of what each line created is kept for the same reason: it is a historical fact, not a status. Pause or archive live objects with the mutation tools.

Requires the campaign_plan:write scope.