Browse the help center

Get campaign rules

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

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

Retrieves all targeting rules groups currently assigned to the specified campaign. 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 campaign; they take effect only while rulesEnabled is true.

Path Params

campaignId integer required

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

1234

Responses

200

Successfully retrieved rules

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

Forbidden - insufficient permissions

404

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