Browse the help center

Get DMP segments

Returns one level of a DMP's segment tree: the top level, or the children of parentId.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/targeting/dmp/{dmp}/segments.do

Returns one level of a DMP's segment tree: the top level, or the children of parentId. Each entry has id (the dmpSegmentId to send to the DMP create endpoints), title, and segment, which is false for a folder whose children are fetched with its id as parentId. Requires MANAGE_DEMAND_TARGETING or MANAGE_SUPPLY_PRE_TARGETING, TARGETING_DMP or PRETARGETING_DMP, and the DMP's own permission.

Path Params

dmp string required

DMP — enum name or numeric ID

FIRST_PARTY

Query Params

parentId integer

Optional parent segment ID; omit for the top level

477

Responses

200

Success; empty when parentId is not a segment of this DMP

400

Unknown DMP

401

Unauthorized

403

Forbidden

404

Not found — resource does not exist

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.