Browse the help center

Remove rules group from placement

Permanently deletes a targeting rules group from the specified placement.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/rules/placement/{placementId}/remove.do

Permanently deletes a targeting rules group from the specified placement. The rule group is identified by the 'ruleGroupId' query parameter, and the placement by its path ID. After removal, the rules in that group will no longer affect ad serving for this placement. The response is a JSON object with 'success: true'. Requires UPDATE permission on the placement's parent site inventory share and INVENTORY_RULES_MANAGEMENT permission. POST only: a GET answers 405, since a state change over GET can be triggered by a prefetch or an embedded link.

Path Params

placementId integer required

The unique numeric identifier of the placement to remove the rules group from

4001

Form Params

ruleGroupId integer required

The unique numeric identifier of the rules group to remove

50

Responses

200

Rules group removed successfully

400

Bad request - ruleGroupId is missing

401

Unauthorized - authentication error

403

Forbidden - insufficient permissions

404

Placement not found, or the rules group is not one of its groups

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.