Skip to content

User Synchronization

User synchronization helps all parties identify individual users. Most advertisers run performance-based campaigns, DSPs may not bid—or bid lower—when a user ID is missing. Therefore, properly configuring this has an important impact on your monetization.

PlatformRequired
Web✅ (also for Mobile Web)
App❌
  1. Initiate the user synchronization by creating an iframe and loading the Adagio user matching URL (see process User Sync URLs).
  2. Provide a redirection URL for Adagio (see User ID Macro).
  3. If user sync succeeds, ensure bid requests include User IDs from Adagio and/or any other bidders (see Passing the User IDs in the bid request).

The Supplier initiates user syncing by creating an iframe with one of the following URLs and appropriate parameters.

Adagio provides one URL per region. For legal reasons, Users IDs are not shared between regions, so the User Sync and the Auctions must happen in the same region.

Example: User syncing for a Canadian user’s device would be done via the Adagio AMER data center. All Auctions for this same user would be done via the Adagio AMER data center.

RegionURLCityData Center
AMERhttps://u-las.4dex.io/ortb/usync.htmlLas VegasGCP us-west4
EMEAhttps://u-ams.4dex.io/ortb/usync.htmlAmsterdamGCP europe-west4
APAChttps://u-tyo.4dex.io/ortb/usync.htmlTokyoGCP asia-northeast1
ParameterRequiredDescription
publisher_idRequiredId of the Publisher, found under the Settings menu in the Adagio Manager.
rRequired

The publisher must provide a redirect URL that is URL-encoded and passed in the r parameter.

Example (raw URL):
https://yourendpoint.com/setuid?us_privacy=1YYN&uid=\{UID\}

Encoded value (for r parameter):
https%3A%2F%2Fyourendpoint.com%2Fsetuid%3Fus_privacy%3D1YYN%26uid%3D%7BUID%7D

domainHighly RecommendedThe website domain where the user sync is initiated. Example: my.domain.com
gdprRequired if applicableGDPR status
gdpr_consentRequired if applicableGDPR Consent string
us_privacyRequired if applicableUS Privacy string
gppRequired if applicableGPP string
gpp_sidRequired if applicableGPP section id(s) in force for the current transaction

Sample URL for EMEA including the different parameters set:

https://u-ams.4dex.io/ortb/usync.html?publisher_id=1000&domain=my.domain.com&gdpr=0&gdpr_consent=&us_privacy=1YYN&r=https%3A%2F%2Fyourendpoint.com%2Fsetuid%3Fus_privacy%3D1YYN%26uid%3D%7BUID%7D

Include a User ID macro in the redirect URL so Adagio can replace it with the final User ID.

  • The User ID macro is: {UID}

Sample URL with macro:

https://yourendpoint.com/setuid?gpdr=0&gdpr_consent=&us_privacy=1YYN&uid={UID}

Sample URL with macro replaced:

https://yourendpoint.com/setuid?gpdr=0&gdpr_consent=&us_privacy=1YYN&uid=QHJ1Ok0yOFZLTUg4LU0tQzBSUjoyMDA0M3xwdToyQTM1RTg2OS0wQTM5LTQ4QTItQUM0NS1DNjkzOThBOUQ0OEE6MjAwNDM=

The cookie remains valid for 60 days. To keep the identifiers up to date, renew it before it expires. Adagio will disregard expired user IDs.

If user matching succeeds and the user id is not expired, the bid request must include the user ID in the User object’s buyeruid attribute.

Example:

{
"user": {
"buyeruid": "QHJ1Ok0yOFZLTUg"
}
}
Section titled “Other bidders’ User IDs (Highly Recommended)”

If you already have the User ID of bidders monetising through the Adagio Demand Library, then it is highly recommended adding them to your Bid Request under bidrequest.user.ext.eids or bidrequest.user.eids, depending on your OpenRTB version.

{
"user": {
"ext": {
"eids": [
{
"source": "openx.com",
"uids": [
{
"id": "6f492e90-621e-45a3-8f71-bcc9721a4279",
"atype": 1
}
]
}
]
}
}
}

Below you’ll find the source that must be set for each of Adagio’s Demand Library’s bidder:

BidderEID Source
Magnite / Rubiconrubiconproject.com
Pubmaticpubmatic.com
OpenXopenx.com or openx.net
Sovrnsovrn.com
TripleLifttriplelift.com
Equativ / Smartsmartadserver.com
ImproveDigitalimprovedigital.com
Freewheelfreewheel.com
OneTagonetag.com
RTB Housertbhouse.com
Aidemaidem.com
Nexxen / Unrulyunrulymedia.com
33Across33across.com
ConnectAdconnectad.io
E-Planninge-planning.net
Illumin / AcuityAdsacuityads.com
Insticatoringage.tech