Browse the help center

Get banner targeting rules

Returns all targeting rules currently configured for the specified banner.

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

Returns all targeting rules currently configured for the specified banner. Results can be filtered by targeting type (e.g., COUNTRY, BROWSER, DEVICE_FORMAT) and by rule (INCLUDE or EXCLUDE). Each targeting rule in the response includes its ID, type, rule, and value details. Requires UPDATE permission on the banner's campaign and MANAGE_DEMAND_TARGETING permission.

Path Params

bannerId integer required

Unique numeric ID of the banner whose targeting rules to retrieve

7890

Query Params

targetType string

Optional targeting type filter — when specified, only rules of this type are returned (e.g., COUNTRY, BROWSER, DEVICE_FORMAT)

COUNTRY

rule string

Optional rule filter — INCLUDE to return only whitelist rules, EXCLUDE to return only blacklist rules

INCLUDE

Responses

200

Success

400

Bad request — invalid or missing parameters

401

Unauthorized

403

Forbidden

404

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