8. Monitor Status of the Company DMP Segments

GET {{baseUrl}}/dmpSegments?q=account&account=urn%3Ali%3AsponsoredAccount%3A{{sponsoredaccount_id}}&sourcePlatform={{dmp_partner_platform_enum}}

The api call fetches all DMP segments for a specific ad account and your designated sourcePlatform ENUM.

After the initial processing, which could take up to 48 hours, any subsequent addition or removal of companies happen in near real-time. The API should be periodically polled to fetch the latest match rate, audience size, and segment status. Match Rate is calculated by rounding matchedCount / inputCount. Review our online documentation for more information on audienceSize vs matchedCount.

Request Params

KeyDatatypeRequiredDescription
qstring
accountstring
sourcePlatformstring

HEADERS

KeyDatatypeRequiredDescription
X-Restli-Protocol-Versionstring
LinkedIn-Versionstring
Authorizationstring

RESPONSES

status: OK

{"paging":{"start":0,"count":10,"links":[],"total":2},"elements":[{"created":1634519022000,"destinations":[{"audienceSize":240000,"destinationSegmentId":"urn:li:adSegment:8596576","created":1634519022000,"destination":"LINKEDIN","matchedCount":2,"lastModified":1637219449000,"status":"READY"}],"name":"DMP Segment 1","sourcePlatform":"FAKE","accessPolicy":"PRIVATE","id":9821736,"lastModified":1634592751000,"type":"COMPANY","account":"urn:li:sponsoredAccount:123456","inputCount":2},{"created":1683068124000,"destinations":[{"destination":"LINKEDIN","lastModified":1683068124000,"destinationSegmentId":"urn:li:adSegment:15326243","created":1683068124000,"status":"BUILDING"}],"name":"Company DMP Segment","sourcePlatform":"FAKE","accessPolicy":"PRIVATE","id":17667093,"lastModified":1683068124000,"type":"COMPANY","account":"urn:li:sponsoredAccount:123546"}]}