Browse the help center

Get ad unit values by banner type

Returns available ad unit (size) values for the given banner type, filtered to only include ad units that are accessible to the authenticated user's role.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/banners/{bannerType}/adunit/values.do

Returns available ad unit (size) values for the given banner type, filtered to only include ad units that are accessible to the authenticated user's role. Valid banner types include: LOCAL_FILE, EXTERNAL_FILE, CODE, LOCAL_VIDEO, EXTERNAL_VIDEO, VAST_2_0_TAG_URL, VPAID_FRAMEWORK, ADVANCED_LOCAL_VIDEOS, TEMPLATE, OPENRTB_DSP, LOCAL_NATIVE, EXTERNAL_NATIVE.

Path Params

bannerType string required

Banner type enum value (e.g. LOCAL_FILE, CODE, LOCAL_VIDEO, OPENRTB_DSP)

LOCAL_FILE

Responses

200

List of ad unit values

400

Bad request — invalid or missing parameters

401

Authentication error

403

Not enough permissions

404

No matching ad units 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.