|
API Name (Version) |
Deprecation Date |
Sunset Date |
|---|---|---|
|
DMP Audience Tag |
August 25, 2025 |
November 28, 2025 |
With the updated DMP Audience Tag API endpoint, you can retrieve audiences (segments) that the user belongs to by using not only third-party cookies, but also first-party identifiers, such as first-party cookies or unified IDs. First-party identifiers can help you deliver personalized website experiences and improve audience segmentation based on accurate, real-time user data from your Adform DMP account. This can lead to higher engagement and more conversions.
Note
Although certain privacy parameters are technically optional for API requests, clients remain responsible for ensuring that audience data is collected and processed only where permitted under applicable privacy laws. Where required, appropriate privacy signals, including consent information, should accompany the relevant processing activities.
If you have been using the legacy DMP Audience Tag endpoint, follow this guide to migrate to the new endpoint before the sunset date (November 28th, 2025). If you need further support, contact your Adform representative.
DMP Audience Tag API
|
Endpoint to Deprecate |
New Endpoint |
|---|---|
|
|
|
Use the new endpoint to retrieve the DMP audience IDs that your page visitor belongs to by providing their third-party and first-party identifiers.
Note
Your audiences must contain the provided IDs.
-
Users can retrieve DMP segment IDs with first-party IDs (first-party cookie or universal ID).
-
Token expiry policy was updated to improve security.
See the new request samples and field parameters that change when you migrate from /audiencetag/cookiesegments to /audiencetag/profilesegments endpoint.
The new /audiencetag/profilesegments endpoint now includes POST method (which wasn't supported by the previous endpoint).
New Endpoint POST Request URL Examples
POST request URL examples for the new /audiencetag/profilesegments endpoint:
-
dmp.adform.net/audiencetag/profilesegments?gdpr=1&gdpr_consent=${GDPR_CONSENT_50} -
dmp.adform.net/audiencetag/profilesegments
New Endpoint POST Request Body Example
{
"token": "jwt_token",
"eids": [
{
"source": "source1.com",
"uids": [
{
"id": "placeholderID",
"atype": 1
}
]
},
{
"source": "source2.co.uk",
"uids": [
{
"id": "placeholderID2",
"atype": 1
}
]
}
]
}
New Endpoint POST Response Body Example
{
"source1.com": [
{
"DataProviderId": 12500,
"RefId": "adx-3p-qa-test",
"SegmentId": 2137009
}
],
"source2.co.uk": [
{
"DataProviderId": 12501,
"RefId": "adx-1p-4-qa-test",
"SegmentId": 2137010
}
]
}
New Endpoint POST Parameters
|
Name |
Required or Optional |
Description |
Example Value |
Type |
|---|---|---|---|---|
|
|
Required |
Authentication token |
|
String |
|
|
Optional |
Extended IDs list |
Object Array |
|
|
|
Optional (Required with |
Extended IDs source domain |
|
String |
|
|
Optional (Required with |
Single user identifier among extended identifiers |
Object Array |
|
|
|
Optional (Required with |
User identifier |
|
String |
|
|
Optional (Required with |
Type of user agent the ID is from |
|
Integer |
|
|
Optional |
GDPR applicability parameter |
|
Integer |
|
|
Optional |
GDPR consent string |
|
String |
|
|
Optional |
Global Privacy Platform (GPP) string |
|
String |
|
|
Optional |
Global Privacy Platform (GPP) section ID |
|
String |
Use the GET method with the new /audiencetag/profilesegments endpoint to retrieve audiences by ID.
|
Deprecated Endpoint GET Examples |
|
|---|---|
|
GET Request |
dmp.adform.net/audiencetag/cookiesegments?token={token}
|
|
GET Body |
[{"DataProviderID":351765,"RefID":"provider-segments__.providersegments","SegmentID":1266999},{"DataProviderID":351765,"RefID":"providersettings__.provider-settings","SegmentID":1267018]
|
New Endpoint GET Request Examples
dmp.adform.net/audiencetag/profilesegments?token={token}
dmp.adform.net/audiencetag/profilesegments?token={token}&gdpr=${GDPR}&gdpr_consent
=${GDPR_CONSENT_50}
dmp.adform.net/audiencetag/profilesegments?token={token}&gpp=${GPP_STRING_123}&gpp
_sid=${GPP_SID}
dmp.adform.net/audiencetag/profilesegments?token={token}&eid_{source}_{atype}={id}
&eid_{source}_{atype}={id}
New Endpoint GET Response Body Example
{
"adform.net": [
{
"DataProviderId": 12500,
"RefId": "adx-3p-qa-test",
"SegmentId": 2137009
}
],
"czechadid.cz": [
{
"DataProviderId": 12501,
"RefId": "adx-1p-4-qa-test",
"SegmentId": 2137010
},
{
"DataProviderId": 12502,
"RefId": "adx-1p-2-qa-test",
"SegmentId": 2137011
}
]
}
New Endpoint GET Parameters
|
Name |
Required or Optional |
Description |
Example Value |
Type |
|---|---|---|---|---|
|
|
Required |
Authentication token |
|
String |
|
|
Optional |
Extended ID (see more details about the format) |
|
String |
|
|
Optional |
GDPR applicability parameter |
|
Integer |
|
|
Optional |
GDPR consent string |
|
String |
|
|
Optional |
Global Privacy Platform (GPP) string |
|
String |
|
|
Optional |
Global Privacy Platform (GPP) section ID |
|
String |