---
updatedAt: 2026-09-10T12:06:53.000Z
agentTools:
  siteIndex: https://developers.liveramp.com/llms.txt
  projectIndex: https://developers.liveramp.com/authenticatedtraffic-api/llms.txt
---

# Pass Mobile Identity Envelopes to the Bidstream

Once ATS API is set up, you can now configure the programmatic advertising solution to pass your envelopes into downstream workflows and monetize your inventory. LiveRamp is working with several partners that support setting identity envelopes in their SDKs, and passing them into their programmatic bidstreams.

### Prebid (SDK)

You can pass envelopes a Prebid server instance from the Prebid iOS/Android SDK by adding the envelope as an `ExternalUserId` .

```java Android (Java)
externalUserIdArray.add(new ExternalUserId("liveramp.com", "<liverampEnvelope>", null, null));
```
```swift iOS (Swift)
externalUserIdArray.append(ExternalUserId(source: "liveramp.com", identifier: "<liverampEnvelope>"))
```

For more information, see the Prebid SDK documentation for [iOS](https://docs.prebid.org/prebid-mobile/pbm-api/ios/pbm-targeting-ios.html#user-identity-api) or [Android SDK](https://docs.prebid.org/prebid-mobile/pbm-api/android/pbm-targeting-android.html).

### InMobi

InMobi allows in-app publishers to pass identity envelopes into InMobi's exchange using their [UnifID](https://support.inmobi.com/monetize/data-identity/unifid/overview-unifid) service. There are two ways you can pass envelopes to InMobi:

* Use the ATS Envelope API to generate the envelopes and pass them to InMobi's UnifID service using `setPublisherProvidedUnifiedId`.

```kotlin Android (Kotlin)
val unifiedIds = JSONObject().put("liveramp.com", envelope)
InMobiSdk.setPublisherProvidedUnifiedId(unifiedIds)
```
```swift iOS (Swift)
var idDictionary = ["liveramp.com": envelope]
IMSdk.self.setPublisherProvidedUnifiedId(idDictionary)
```

* Use InMobi’s own SDK to generate and pass envelopes. See InMobi's [SDK Specifications](https://support.inmobi.com/monetize/data-identity/unifid/unifid-sdk-contract-specifications#overview) to learn how.

### Pubmatic

iF you are working with Pubmatic, you can pass envelopes through Pubmatic OpenWrap SDK to configured OpenWrap partners.

```swift iOS
// Set the envelope here
// It MUST be liveramp.com to work
var userId = POBExternalUserId(source: "liveramp.com", andId: "<liverampEnvelope>")
 
 
// Add the ID to OW SDK 
OpenWrapSDK.addExternalUserId(userId)
```
```java Android
// Set the envelope here
// It MUST be liveramp.com to work
POBExternalUserId adServerUserId = new POBExternalUserId("liveramp.com","<liverampEnvelope>");


// Add the ID to OW SDK 
OpenWrapSDK.addExternalUserId(adServerUserId);
```

See the following documentation in Pubmatic's portal to learn more (login to Pubmatic required):

* [iOS](https://community.pubmatic.com/display/IOPO/Advanced+topics#Advancedtopics-UserIdentity\(DataPartnerIDs\))
* [Android](https://community.pubmatic.com/display/AOPO/Advanced+topics#Advancedtopics-Useridentity\(datapartnerIDs\))

### Nimbus

Nimbus SDK allows you to pass envelopes to Nimbus' exchange. There are two ways you can do this:

* Pass envelopes directly to Nimbus SDK. For example:

  ```kotlin Android (Kotlin)
  NimbusAdManager.addExtendedId(
        source = "liveramp.com",
        id = envelope,
        extensions = mapOf("rtiPartner" to "idl"),
  )
  ```
  ```swift iOS (Swift)
   var extendedId = NimbusExtendedId(source: "liveramp.com", id: envelope)
  extendedId.extensions = ["rtiPartner": NimbusCodable("idl")]

  /* Setting extendedIds more than once will clear the previous results and is nil by default */
  NimbusAdManager.extendedIds = [extendedId]
  ```
* Use the Nimbus-LiveRamp extension to generate and pass envelopes. For more information, see Nimbus' documentation for [Android](https://docs.adsbynimbus.com/docs/sdk/android/extensions/liveramp#setup) and [iOS](https://docs.adsbynimbus.com/docs/sdk/ios/extensions/liveramp#setup).

### MobileFuse

MobileFuse's SDK allows you to pass RampID Envelopes to MobileFuse's exchange - MFX.

There are two ways you can do this:

* Pass envelopes directly to MobileFuse using `MobileFuseTargetingData`:

```objectivec iOS
// Pass in a RampID Envelope here
[MobileFuseTargetingData setLiveRampEnvelope: @"<liverampEnvelope>"];
```
```kotlin Android
// Pass in a RampID Envelope here
MobileFuseTargetingData.setLiveRampEnvelope(“<liverampEnvelope>”)
```

* Use MobileFuse's SDK to generate and pass identity envelopes. See MobileFuse's [documentation](https://docs.mobilefuse.com/docs/leveraging-rampid-and-uid2#for-publishers-utilizing-the-mobilefuse-sdk) to learn how  or reach out to your MobileFuse account manager.
*