6. Create list upload DMP Segment
POST {{baseUrl}}/dmpSegments
Here we create the CSV List Upload DMP segment. See our online documentation for more information.
NOTE: there must be at least a 5 second delay between step 6 (creating the segment) and step 7 (attaching the uploaded list file) or the segment may not be populated.
Request Body
{"accessPolicy"=>"PRIVATE", "account"=>"urn:li:sponsoredAccount:{{sponsoredaccount_id}}", "destinations"=>[{"destination"=>"LINKEDIN"}], "name"=>"DMP segment for CSV uploads", "sourcePlatform"=>"LIST_UPLOAD", "type"=>"COMPANY_LIST_UPLOAD"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Restli-Protocol-Version | string | ||
LinkedIn-Version | string | ||
Authorization | string |