Publisher web integration overview
As a publisher, there are many ways that you can integrate with UID2 to generate identity tokens to be passed into the RTB bidstream in the context of your web pages.
On this page, you'll find a high-level overview of integration steps and integration options, with links to additional information for each option.
Key integration steps
At a high level, to integrate with UID2, you'll implement these three key activities:
There are many ways you can accomplish these key steps. The simplest and fastest implementation is a full client-side implementation using Prebid.js 8.21.0 or later.
Integration options summary
The following table summarizes the solutions available for each integration step.
To accomplish all steps, you can combine solutions. For example, you could use the SDK for JavaScript, client-side, to generate and refresh the token, and Google Ad Manager Secure Signals to pass the token to the bidstream.
| Integration Solution | Generate Token | Refresh Token | Pass Token to the Bidstream |
|---|---|---|---|
| Prebid.js client-side (8.21.0 or later) | ✅ | ✅ | ✅ |
| Prebid.js client-server (7.53.0 or later) | — | ✅ | ✅ |
| SDK for JavaScript, client-side | ✅ | ✅ | — |
| SDK for JavaScript, client-server | ✅ | ✅ | — |
| SDK for Java | ✅ | ✅ | — |
| SDK for Python | ✅ | ✅ | — |
| Direct integration (API endpoints) | ✅ |