The Smart Display SDK version 7.0 and more can be used with AppNexus SDK (tested on version 4.12.0) and more through the Ad Adapter classes provided in this repository.
Supported Ad Formats are banners and interstitials.
-
Install the AppNexus SDK according to the official documentation.
-
Install the Smart Display SDK by adding the
Smart-Display-SDK
to your app gradle file (more info in the documentation). -
Checkout this repository and copy the Ad Adapter classes you need into your Android Project:
SmartAdServerBannerAdView
for banner ads.SmartAdServerInterstitialAdView
for interstitial ads.SmartAdServerBaseAdapter
in any cases.
-
Edit the
SmartAdServerBaseAdapter
class and replace the default base url with your dedicated base url. -
You can now create a mediated ad in AppNexus backend.
You can find more informations about the Smart Display SDK and AppNexus Ad Adapter classes in the official documentation: http://documentation.smartadserver.com/displaySDK