Browse the help center

Disable site rules

Deactivates the targeting rules engine for the specified site, so its rule groups no longer affect ad serving decisions.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/rules/site/{siteId}/disable.do

Deactivates the targeting rules engine for the specified site, so its rule groups no longer affect ad serving decisions. The site is identified by its numeric ID in the URL path. The response is a JSON object with 'success: true' on success. Requires UPDATE permission on the site's inventory share and INVENTORY_RULES_MANAGEMENT permission. The action is logged for audit purposes. POST only: a GET answers 405, since a state change over GET can be triggered by a prefetch or an embedded link.

Path Params

siteId integer required

The unique numeric identifier of the site whose targeting rules should be disabled

3001

Responses

200

Rules disabled successfully

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

Forbidden - insufficient permissions

404

Site not found

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.