Skip to end of metadata
Go to start of metadata

External User ID Mapping

This offering is currently in Alpha and is subject to changes or deprecation without notice.

On This Page

Overview

Xandr offers you the option of mapping your own user ID to your Xandr user id. The externalUid feature allows you to share these mappings among members.

Mobile SDK Structure

Android

Use the setExternalUid and getExternalUid methods to pass your external user ID as input. These methods are available in the NativeAdRequest, VideoAd, BannerAdView, and InterstitialAdView classes.

iOS

Set the external user id using the externalUid property of ANBannerAdView, InterstitialAdView, ANNativeAdRequest and ANInstreamVideoAd.

Examples of Use

Android

You can omit the call to the setExternalUid method if you don't want to use this feature.

If you want to map your external use ID, use the following example to get started:

 

iOS

You can omit the call to the externalUid method if you don't want to use this feature.

If you want to map your external user ID, use the following example to get started:

 

 

  • No labels