UID2 Overview for Publishers
Maintain audience targeting in the ever-changing advertising industry for better impression monetization and more relevance.
Publishers
As a publisher, you can benefit from the cross-device presence of Unified ID 2.0 (UID2) and take advantage of a consistent identity fabric on all your inventory.
Learn about benefits, workflow, documentation, and other resources for publishers adopting UID2, as well as instructions for getting started.
Benefits of UID2 for Publishers
Here are just some of the intended benefits for publishers integrating with UID2:
- Addressable audience targeting on desktop, mobile, and CTV with a single identifier.
- Frequency management across devices.
- More relevant content recommendations.
- The ability to provide personalized ad experiences with relevant content.
- The ability to offer opt-out, with the goal of improving consumer privacy controls.
Workflow for Publishers
The following steps provide a high-level outline of the workflow intended for organizations that propagate UID2 tokens to the bid stream via SSPs—for example, identity providers, publishers, and SSO providers. Publishers can choose to work with an SSO provider or an independent ID provider that is interoperable with UID2 and can handle the UID2 integration on behalf of publishers.
A user visits a publisher website, mobile app, or CTV app.
The publisher explains the value exchange of the open internet and asks the user to provide an email address or phone number, by login or other means.
Once the user has provided an email address or phone number, the publisher sends it to the UID2 Operator via an SDK or direct API integration.
A publisher can authorize an SSO provider or identity provider to pass DII and privacy settings on their behalf.
The UID2 Operator:
- Takes the email or phone number.
- Performs the salt, hash, and encryption process.
- Returns the UID2 token.
The publisher stores the UID2 token to share with SSPs during real-time bidding.
- Server-side: The publisher stores the token in a mapping table, DMP, data lake, or other server-side application.
- Client-side: The publisher stores the token in a client-side app or in the user’s browser as a first-party cookie.
The publisher retrieves the UID2 token from storage.
The publisher sends the UID2 token to the SSP.
The SSP puts the bid request, with the UID2 token, into the bid stream.
Getting Started
To get started, follow these steps:
Request access to UID2 by filling out the form on the Request Access page.
Identify the properties that you want to integrate with UID2.
Sign the UID2 contract.
Determine whether you want a client-side or server-side integration, and tell your UID2 contact. (GWH_KK new page coming that we will link to)
Receive the UID2 credentials (UID2 Credentials).
Build your integration to UID2 via an SDK or direct integration with the UID2 APIs, using the applicable documentation.
noteBe sure to encrypt request messages to UID2. For details, see Encrypting Requests and Decrypting Responses.
Test:
- Work with SSPs to properly pass UID2s in bid requests.
- Confirm that UID2s are being generated and passed correctly in requests.
Go live.
Implementation Resources
The following documentation resources are available for publishers to implement UID2:
Web Integrations
The following resources are available for publisher web integrations.
Integration Type | Documentation | Content Description | Audience |
---|---|---|---|
Prebid | Prebid.js Express Integration Guide | A guide for publishers who want to request UID2 tokens client-side, which is the easiest implementation approach, and choose to have Prebid.js manage the following:
| Publishers |
JavaScript Client-Side Integration | JavaScript Express Integration Guide | A guide for publishers who want to integrate with UID2 using only client-side JavaScript changes, which is the easiest implementation approach. The UID2 SDK for JavaScript manages token generation and token refresh automatically. | Publishers |
Prebid | Prebid.js Advanced Integration Guide | A guide for publishers who want to integrate with UID2 and generate UID2 tokens to be passed by Prebid.js in the RTB bid stream, but want to generate tokens server-side: for example, publishers who are using a Private Operator. | Publishers |
JavaScript Client-Side Integration | JavaScript Standard Integration Guide | A publisher guide covering standard web integration scenarios that use the UID2 SDK for JavaScript and require tokens to be generated on the server side and passed to the publisher web pages. | Publishers |
Server-Side Integration | Publisher Integration Guide, Server-Only | A guide for publishers who do not use the UID2 SDK for JavaScript. | Publishers |
Publisher/SSP Integration with GAM | Google Ad Manager Secure Signals Integration Guide | A guide covering the additional steps needed for publishers using UID2 with the Google Ad Manager Secure Signals feature (previously known as Encrypted Signals for Publishers, ESP). | Publishers |
Mobile Integrations
The following resources are available for publisher integrations supporting Android or iOS devices.
Integration Type | Documentation | Content Description | Audience |
---|---|---|---|
Android | UID2 SDK for Android Reference Guide | Android SDK reference for publishers who want to establish client identity using UID2 and retrieve advertising tokens on Android devices. | Publishers |
iOS | UID2 SDK for iOS Reference Guide | iOS SDK reference is for publishers who want to establish client identity using UID2 and retrieve advertising tokens on iOS devices. | Publishers |
Prebid Integrations
The following resources are available for publishers integrating with Google Ad Manager.
Integration Type | Documentation | Content Description | Audience |
---|---|---|---|
Prebid | Prebid.js Express Integration Guide | A guide for publishers who want to request UID2 tokens client-side, which is the easiest implementation approach, and choose to have Prebid.js manage the following:
| Publishers |
Prebid | Prebid.js Advanced Integration Guide | A guide for publishers who want to integrate with UID2 and generate UID2 tokens to be passed by Prebid.js in the RTB bid stream, but want to generate tokens server-side: for example, publishers who are using a Private Operator. | Publishers |
Google Ad Manager Integrations
The following resources are available for publishers integrating with Google Ad Manager.
Integration Type | Documentation | Content Description | Audience |
---|---|---|---|
Publisher/SSP Integration with GAM | Google Ad Manager Secure Signals Integration Guide | A guide covering the additional steps needed for publishers using UID2 with the Google Ad Manager Secure Signals feature (previously known as Encrypted Signals for Publishers, ESP). | Publishers |
GMA for Android | UID2 GMA Plugin for Android Integration Guide | A guide that enables publishers using the Google Mobile Ads (GMA) SDK to include UID2 tokens in ad requests from their Android apps. | Publishers |
GMA for iOS | UID2 GMA Plugin for iOS Integration Guide | A guide that enables publishers using the Google Mobile Ads (GMA) SDK to include UID2 tokens in ad requests from their iOS apps. | Publishers |
IMA for Android | UID2 IMA Plugin for Android Integration Guide | A guide that enables publishers using the Google Interactive Media Ads (IMA) SDK to include UID2 tokens in ad requests from their Android apps. | Publishers |
IMA for iOS | UID2 IMA Plugin for iOS Integration Guide | A guide that enables publishers using the Google Interactive Media Ads (IMA) SDK to include UID2 tokens in ad requests from their iOS apps. | Publishers |
FAQs for Publishers
For a list of frequently asked questions for publishers using the UID2 framework, see FAQs for Publishers.