Browse the help center

Get placement rules

Retrieves all targeting rules groups currently assigned to the specified placement.

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

Retrieves all targeting rules groups currently assigned to the specified placement. The response JSON contains 'success: true', a 'ruleGroups' array with each group's ID, rules, operator, and include/exclude flag, and 'rulesEnabled'. The groups are listed whether or not rules are switched on for the placement; they take effect only while rulesEnabled is true.

Path Params

placementId integer required

The unique numeric identifier of the placement whose rules groups should be retrieved

4001

Responses

200

Successfully retrieved rules

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

Forbidden - insufficient permissions

404

Placement 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.