AppNexus (Xandr)

You can set some AppNexus specific options:

  • Interstitial to automatically close after given time

  • Enable banners to render native ads

  • Select how the clicks should be handled – within the in-app browser handled by AppNexus or the device's external browser

To do so:

let conf = AATConfiguration()
...
let appNexusOptions = AATAppNexusOptions(autoCloseTime: <AUTO_CLOSE_TIME>, supportNativeBanner: <SUPPORT_NATIVE_BANNER>, clickThroughAction: <CLICK_THROUGH_ACTION>)
conf.adNetworksOptions = AATAdNetworksOptions(appNexusOptions: appNexusOptions)
...
AATSDK.initAATKit(with: conf)

Last updated