Skip to main content

SDKs: Summary

Review the SDK functionality to determine which SDK or SDKs you want to use, then click through in the SDKs table to review the reference documentation.

SDK Functionality

The following table summarizes the functionality available with each SDK.

UID2 SDK for...Client-Side or Server-SideEncrypt Raw UID2 to UID2 TokenDecrypt UID2 TokenGenerate UID2 Token from DIIRefresh UID2 TokenGenerate Raw UID2 from DII*
JavaScriptClient
JavaServer
PythonServer
C# / .NETServer
C++Server
AndroidClient (Mobile)
iOSClient (Mobile)

*Advertisers and Data Providers who need to generate raw UID2s from DII can also do this via Snowflake (see Snowflake Integration Guide) or by using the POST /identity/map endpoint.

SDK Documentation

The following SDK documentation is available for UID2 integration. Documentation links are in the first column.

SDK/Link to GuideDescriptionAudience
UID2 SDK for JavaScriptClient-side JavaScript SDK that facilitates the process of establishing client identity using UID2 and retrieving UID2 tokens for publishers.Publishers
UID2 SDK for JavaAn SDK for audiences using Java server-side:Publishers
DSPs
Advertisers
Data Providers
Sharers
UID2 SDK for PythonAn SDK for audiences using Python server-side:Publishers
DSPs
Data Providers
Sharers
UID2 SDK for C# / .NETAn SDK for audiences using .NET server-side:
  • Helps DSPs to decrypt UID2 tokens from bid requests.
  • Helps UID2 sharers to encrypt or decrypt UID2 tokens.
DSPs
Data Providers
Sharers
UID2 SDK for C++An SDK for audiences using C++ server-side:
  • Helps DSPs to decrypt UID2 tokens from bid requests.
  • Helps UID2 sharers to encrypt or decrypt UID2 tokens.
DSPs
Data Providers
Sharers
UID2 SDK for AndroidAn SDK that facilitates the process of establishing client identity using UID2 and retrieving UID2 tokens for publishers that need to support Android apps.Publishers
UID2 SDK for iOSAn SDK that facilitates the process of establishing client identity using UID2 and retrieving UID2 tokens for publishers that need to support iOS apps.Publishers