Browse the help center

Get device format targeting values for placement

Returns the list of all available device formats (e.g., phone, tablet, desktop) as a JSON array of DeviceFormat enum values.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/placement/{placementId}/targeting/device-format/values.do

Returns the list of all available device formats (e.g., phone, tablet, desktop) as a JSON array of DeviceFormat enum values. These values can be used when creating a device format targeting rule. Requires UPDATE permission on the placement's site inventory and MANAGE_SUPPLY_PRE_TARGETING user permission.

Path Params

placementId integer required

Unique numeric ID of the placement

4001

Responses

200

Success

400

Bad request — invalid or missing parameters

401

Unauthorized

403

Forbidden

404

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