Ads API •References / ad-sets / Bulk Delete Draft Ad Sets
Bulk Delete Draft Ad Sets
Deletes multiple draft ad sets, their draft ads and those ads' draft creatives in a single atomic request. Draft creatives still used by other draft ads are kept. If any ID is not found, nothing is deleted.
Request
- ad_account_idstring [uuid]Required
A unique identifier for an Ad Account.
Example:ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a - ad_set_draft_idsarray of stringsRequired
IDs of the draft ad sets to delete. Maximum 40 items. Draft ads under each ad set are deleted too.
Array length between1and40A unique identifier for the entity.
Example:ad_set_draft_ids=ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
Response
All draft ad sets deleted.