Ad Campaigns
Delete an ad set
Changed onDeletes an ad set and its ads while keeping the campaign, archiving it instead on platforms without a hard delete.
Locally, every Ad document under the ad set is marked status: cancelled.
Delete is soft on platforms that have no hard delete: LinkedIn moves the campaign to PENDING_DELETION, Pinterest and Reddit archive the ad group, and X soft-flags the line item. Google removes the ad group. All remain readable for reporting.
delete/v1/ads/ad-sets/{adSetId}
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/ads/ad-sets/{adSetId}
- Auth: HTTP bearer
Path parameters
adSetIdstring required
Platform ad set ID
Response
Ad set deleted
Changes
- info
added the non-success response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status
- warning