How to Integrate UniConsent CMP with Airbridge (AAP/MMP) SDK

Airbridge is a certified Google Mobile Measurement Partner (MMP) and App Attribution Partner (AAP). This guide provides instructions for integrating the UniConsent Consent Management Platform (CMP) with the Airbridge SDK to ensure that user consent signals are properly transmitted for attribution and compliance purposes.

Android Integration

UniConsent CMP automatically detects the presence of the Airbridge SDK and transmits consent signals via the Airbridge SDK API.

Step 1: Initialize the Airbridge SDK and UniConsent CMP SDK

Refer to the Airbridge Android SDK Initialization Guide for full setup details. Disable the SDK and don't send any data to Adjust’s servers.

val option = AirbridgeOptionBuilder("YOUR_APP_NAME", "YOUR_APP_SDK_TOKEN")
    // Make Airbridge SDK explicitly Collect TCFData
    .setCollectTCFDataEnabled(true)
    // Make Airbridge SDK explicitly start tracking
    .setAutoStartTrackingEnabled(false)
    .build()
Airbridge.initializeSDK(application, option)

Step 2: Enable Airbridge in the handle(Event event) Callback

Make sure to enable Airbridge within the CMP callback, once user consent is available:

@Override
public void handle(Event event) {
  Airbridge.startTracking()
}

What to Expect

  • Upon successful integration, you should see debug logs like:
  Sending consent signal to Airbridge
  • Additionally, when filtering logs from com.uniconsent.sdk.aap, you should observe confirmation messages such as:
  Successfully set consent signal to Airbridge: {AD_USER_DATA=GRANTED, AD_STORAGE=GRANTED, AD_PERSONALIZATION=GRANTED, ANALYTICS_STORAGE=GRANTED}

These logs confirm that UniConsent CMP is actively communicating consent preferences to the Airbridge SDK, helping ensure regulatory compliance and accurate attribution tracking.

Note

To ensure that user consent is available, make sure to call your MMP/AAP API within the override fun handle(event: Event?) (Android) or public func onDismiss() (iOS) callback of the CMP.

Learn more about the UniConsent SDK API in the following guides: