Get blocked sites targetings
Returns all blocked site targeting rules for the specified advertiser, aggregated across its campaigns and banners.
https://YOUR-NETWORK-DOMAIN/rest-api/target/advertiser/{advertiserId}/blocked-sites.do Returns all blocked site targeting rules for the specified advertiser, aggregated across its campaigns and banners. Each result entry contains the campaign, banner, and targeting type. Results are de-duplicated by campaign/banner pair. Requires MANAGE_DEMAND_TARGETING permission and UPDATE permission on the advertiser via share. Each campaign's 'status' array holds UI status tokens computed from traffic statistics, which are not the on/off switch — that is the 'active' field: status-active = switched on AND served traffic in the last ~6 hours; status-not-active = switched off OR no traffic in the last ~6 hours, so active=true together with status-not-active is normal for an idle, not-yet-started or newly created campaign; status-finished (added alongside) = the campaign's delivery limits have ended it — end date passed, total limit reached or an action limit reached. 'hasTraffic' is the same ~6-hour traffic flag on its own. Traffic data is refreshed hourly. A deleted campaign has an empty array.
Path Params
advertiserId integer required
Unique numeric ID of the advertiser
5001 Responses
200
Success
400
Bad request — invalid or missing parameters
401
Unauthorized
403
Forbidden
404
Advertiser not found
500
Internal server error