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 Token for SharingDecrypt UID2 Token to Raw UID2Generate UID2 Token from DIIRefresh UID2 TokenMap DII to Raw UID2s*Monitor Rotated Salt Buckets
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
SDK for JavaScriptClient-side JavaScript SDK that facilitates the process of establishing client identity using UID2 and retrieving UID2 tokens for publishers.Publishers
SDK for JavaAn SDK for audiences using Java server-side:Publishers
DSPs
Advertisers
Data Providers
Sharers
SDK for PythonAn SDK for audiences using Python server-side:Publishers
DSPs
Data Providers
Sharers
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
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
SDK for AndroidAn SDK that facilitates the process of generating or establishing client identity using UID2 and retrieving UID2 tokens for publishers that need to support Android apps.Publishers
SDK for iOSAn SDK that facilitates the process of generating or establishing client identity using UID2 and retrieving UID2 tokens for publishers that need to support iOS apps.Publishers