Browse the help center

List recently deleted entities

Advertisers, campaigns, banners, sites, zones and placements deleted in the last 90 days and not restored yet, newest first - only those under an advertiser or site the caller may view.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/deleted-entities/list.do

Advertisers, campaigns, banners, sites, zones and placements deleted in the last 90 days and not restored yet, newest first - only those under an advertiser or site the caller may view. Each item is the entity a user deleted: what its delete took down with it (the campaigns and banners of a deleted advertiser, the zones and placements of a deleted site) is counted in cascaded and comes back with it. Each item carries deletionId, type, id, name, deletedAt (ISO-8601 instant), deletedBy {id, username}, its ancestors (advertiserId/advertiserName, campaignId/campaignName, siteId/siteName, zoneId/zoneName), cascaded {TYPE: count}, links (banner-placement links the delete removed), linksLost (those of them whose placement or banner is deleted now, so a restore cannot make them again), canRestore (the caller may delete it, which restoring takes) and blockedBy {type, id, name}: a deleted ancestor that has to be restored first. Deletions made before deletions were recorded are not listed and cannot be restored here.

Query Params

types array<string>

Only these entity types: ADVERTISER, CAMPAIGN, BANNER, SITE, ZONE, PLACEMENT. Default: all

BANNER

ancestorType string

With ancestorId: only entities under this ADVERTISER, CAMPAIGN, SITE or ZONE

ADVERTISER

ancestorId integer

With ancestorType: the id of that advertiser, campaign, site or zone

1001

start integer

Skip this many items. Default 0

0

limit integer

How many items to return, 1-200. Default 50

50

Responses

200

{success, items:[...], total, start, returned, truncated, retentionDays}

400

Unknown type, ancestorType without ancestorId, limit outside 1-200 or start below 0

401

Authentication error

403

Forbidden — insufficient permissions

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.