6. Create a Company DMP Segment

POST {{baseUrl}}/dmpSegments

This call creates a DMP segment named DMP Segment 1 tied to the sponsored account the user chose in step 2.

The sourcePlatform is an ENUM value that is provided by your LinkedIn contact after you have been granted access to the Audience APIs.

NOTE: there must be at least a 5 second delay between step 2 (creating the segment) and step 3 (streaming company data) or the segment may not be populated.

Request Body

{"name"=>"Company DMP Segment", "sourcePlatform"=>"{{dmp_partner_platform_enum}}", "account"=>"urn:li:sponsoredAccount:{{sponsoredaccount_id}}", "accessPolicy"=>"PRIVATE", "type"=>"COMPANY", "destinations"=>[{"destination"=>"LINKEDIN"}]}

HEADERS

KeyDatatypeRequiredDescription
Linkedin-Versionstring
Authorizationstring
X-Restli-Protocol-Versionstring

RESPONSES

status: Created