Get rule by ID
Returns the full details of a single targeting rule identified by its numeric ID.
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