Browse the help center

Delete campaign

Soft-deletes the campaign with the given ID and sends the campaign-deleted notification.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/delete.do

Soft-deletes the campaign with the given ID and sends the campaign-deleted notification. The caller must have DELETE permission on the campaign's advertiser. Returns {"success":true} on success, or {"error":"permission_denied","success":false} on insufficient privileges. For 90 days POST /rest-api/deleted-entities/CAMPAIGN/{id}/restore brings it back, links included.

Path Params

campaignId integer required

Unique identifier of the campaign to delete

2001

Responses

200

Campaign deleted successfully

400

Bad request — invalid or missing parameters

401

Authentication error

403

Forbidden — insufficient permissions

404

Not found — resource does not exist

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.