Browse the help center

Get rule by ID

Returns the full details of a single targeting rule identified by its numeric ID.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/rule/{ruleId}.do

Returns the full details of a single targeting rule identified by its numeric ID. The response JSON object includes the rule's name, type (CAMPAIGN or INVENTORY), active status, default-for flags, and a ruleMatches array containing each match's categories, labels, operator, and include/exclude flag. Requires authentication and VIEW permission on the RULES static ACL identity.

Path Params

ruleId integer required

The unique numeric identifier of the rule to retrieve

200

Responses

200

Successfully retrieved rule

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

Forbidden - insufficient permissions

404

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