Skip to main content

UID2 IMA Plugin for iOS Integration Guide

The UID2 Interactive Media Ads (IMA) Plugin for iOS enables publishers that use the Google IMA SDK for iOS to send UID2 tokens as secure signals in ad requests from iOS apps. This is done automatically, with no direct coding needed from the app developer.


This plugin simplifies integration with Google Interactive Media Ads (IMA) for any publishers who want to support UID2 for apps running on iOS devices.


This documentation is for the UID2 IMA Plugin for iOS version 0.2.0.

GitHub Repository

This plugin is in the following open-source GitHub repository:


To run this plugin, install the following:

  1. Google IMA SDK v3.19.1 or later:
  2. UID2 SDK for iOS v0.2.0:
  3. UID2 IMA Plugin for iOS v0.2.0


Prerequisite: Install the Google Interactive Media Ads SDK and the UID2 iOS SDK.

Install the UID2 iOS IMA Plugin v0.2.0 via Swift Package Manager to an existing app with the UID2 iOS SDK and the Google Interactive Media Ads SDK installed.

.package(url:, exact: "0.2.0")