If you are a content publisher interested in generating identity tokens utilizing UID2 for the RTB bid stream, you can build and run either of the two example applications to see how you can use the UID2 services and which integration fits your needs best.
Both examples illustrate the basic steps that you need to consider for your integration. For example, you need to decide how to implement user login and logout, how to manage UID2 identity information and use it for targeted advertising, how to refresh tokens, deal with missing identities, and handle user opt-outs.
The following table summarizes both examples.
Example Documentation | Primary Audience | Example Description | Integration Steps |
---|---|---|---|
UID2 SDK Integration Example | Publishers with web assets | Demonstrates how to use the UID2 services with the Client-Side Identity JavaScript SDK (also known as the UID2 SDK) to implement the standard UID2 integration workflow. | UID2 SDK Integration Guide |
Server-Only UID2 Integration Example | App developers and CTV broadcasters | Demonstrates how to use the UID2 services to implement a custom (server-only) UID2 integration workflow without relying on an SDK for establishing client UID2 identity and retrieving advertising tokens. | Server-Only UID2 Integration Guide |
The documentation for each example includes instructions on how to build and run the application and suggests steps that you may take to test and explore it. Each step is annotated with comments that explain what takes place on the backend and how the UID2 services work.