Browse the help center

Get campaign targeting rules

Returns all targeting rules for the specified campaign as a JSON array.

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

Returns all targeting rules for the specified campaign as a JSON array. Results can be filtered by targeting type and/or rule. Requires UPDATE permission on the campaign and MANAGE_DEMAND_TARGETING user permission.

Path Params

campaignId integer required

Unique numeric ID of the campaign

1234

Query Params

targetType string

Optional targeting type filter — when specified, only rules of this type are returned

COUNTRY

rule string

Optional rule filter (INCLUDE or EXCLUDE) — when specified, only rules with this rule type are returned

INCLUDE

Responses

200

Success

400

Bad request — invalid or missing parameters

401

Unauthorized

403

Forbidden

404

Campaign not found

500

Internal server error

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.