AdsN2I Android Ads java library

N2I Android Ads java library

Projects with already integrated Ad mediation SDK (AppLovinMax, Unity LevelPLay, IronSource, except Admob)

Dependency installation

To add N2I Android Ads java library dependency on your project, you must add the N2I packages repository and N2I Android Ads java library dependency, following the informations on our Gitlab packages page.

Integration of N2I Android Ads java library

Because it's a has the same API as the Google AdMob library, our integration guide is exactly the same as the Google AdMob library guide (by replacing the imports prefixescom.google.android.ads.[*.]** by**com.n2i.android.ads):

A sample code integration for Interstitial is available on Github: Google AdMob Interstitial example.

Projects already using Google AdMob

On projects already using Google AdMob, integration is transparent, by only adding N2I packages repository and replacing the dependency and the imports.

For example, this commit modifies Google AdMob Interstitial example.

Dependency installation

To install N2I Android Ads java library dependency on your project, you must remove the Google AdMob dependency, and add N2I Android Ads java library dependency, following informations on our Gitlab packages page.

Code integration

To replace Google AdMob by N2I Android Ads java library, you only need to replace the imports prefixes com.google.android.ads.[*.] by com.n2i.android.ads.

Javadoc

N2I Android Ads java library classes documentation is available here.