Skip to content

line_item_delete

Remove a line item from a plan. What it already created is kept.

Deletes a Line Item.

Input

Field Type Required Description
campaign_plan_name string yes The plan that owns the line.
line_item_id lni_… yes From campaign_plan_get.
base_revision integer yes The revision you last read.

Note

Removing a line returns an approved plan to draft

For the same reason adding one does: it is no longer the allocation anybody approved.

Warning

This retracts nothing

Objects the line created are live in an ad account, and their record is kept. Pause or archive them with the mutation tools if that is what you meant.

Requires the campaign_plan:write scope.