Documentation menu
Ads

Delete campaign

Delete a campaign with its ad sets and ads.

DELETEhttps://app.tryadeli.com/api/v1/ads/campaigns/{campaignId}
AuthorizationBearer <API key>How keys work

Deletes a campaign together with its ad sets and ads, which stops any delivery immediately. It cannot be undone. The campaign must belong to adAccountId; otherwise the response is 404 campaign_not_found and nothing is deleted. Responds 204. Adeli's record of a campaign it created is marked deleted.

Path parameters

campaignIdstringRequired
A Meta campaign id.

Query parameters

adAccountIdstringRequired
The ad account the campaign belongs to.
accountIduuid
The Meta Ads account. Defaults to the profile's. A Facebook account id is not accepted.