N2I Mobile Ads Unity plugin (replace existing mediation SDK)
Introduction
The N2I Mobile Ads Unity plugin allows your APK to support ads with N2I.
It is compatible with the following Unity plugins (by overwriting each plugin API):
- AppLovin MAX Unity plugin
- IronSource LevelPlay Unity plugin
- Google Mobile Ads Unity plugin
Unity package integration
Import into your Unity project the N2I Mobile Ads Unity plugin:
- Delete all previous Ad SDKs in Assets (MaxSdk, LevelPlay, GoogleMobileAds)
- Download the latest N2IMobileAds.unitypackage release.
- Import the
.unitypackagefile by selecting the Unity menu option Assets > Import package > Custom Package and importing all items. - Resolve dependencies by selecting the Unity menu option Assets > External Dependency Manager (or Mobile Dependency Resolver) > Android Resolver > Resolve.
- Build your Unity project.
Supported APIs
AppLovin MAX Unity plugin
- MaxSdkCallbacks
- OnSdkInitializedEvent
- OnInterstitialLoadFailedEvent
- OnInterstitialLoadedEvent
- OnInterstitialClickedEvent
- OnInterstitialHiddenEvent
- OnInterstitialDisplayedEvent
- OnInterstitialAdFailedToDisplayEvent
- OnRewardedAdLoadFailedEvent
- OnRewardedAdLoadedEvent
- OnRewardedAdClickedEvent
- OnRewardedAdHiddenEvent
- OnRewardedAdDisplayedEvent
- OnRewardedAdFailedToDisplayEvent
- Interstitial
- OnAdClickedEvent
- OnAdLoadFailedEvent
- OnAdLoadedEvent
- OnAdHiddenEvent
- OnAdDisplayedEvent
- OnAdDisplayFailedEvent
- OnAdRevenuePaidEvent
- Rewarded
- OnAdLoadFailedEvent
- OnAdLoadedEvent
- OnAdClickedEvent
- OnAdHiddenEvent
- OnAdDisplayedEvent
- OnAdDisplayFailedEvent
- OnAdRevenuePaidEvent
- OnAdReceivedRewardEvent
- RewardedInterstitial
- OnAdLoadFailedEvent
- OnAdLoadedEvent
- OnAdClickedEvent
- OnAdHiddenEvent
- OnAdDisplayedEvent
- OnAdDisplayFailedEvent
- OnAdRevenuePaidEvent
- OnAdReceivedRewardEvent
- MaxSdk
- InitializeSdk
- IsInitialized
- GetSdkConfiguration
- SetHasUserConsent
- HasUserConsent
- IsUserConsentSet
- SetDoNotSell
- IsDoNotSell
- IsDoNotSellSet
- LoadInterstitial
- IsInterstitialReady
- ShowInterstitial
- LoadRewardedAd
- IsRewardedAdReady
- ShowRewardedAd
- LoadRewardedInterstitialAd
- IsRewardedInterstitialAdReady
- ShowRewardedInterstitialAd
- SetMuted
- IsMuted
- SetVerboseLogging
- IsVerboseLoggingEnabled
- GetConsentDialogState
IronSource LevelPlay Unity plugin
- LevelPlay
- OnInitSuccess
- OnInitFailed
- Init
- IronSourceEvents
- onSdkInitializationCompletedEvent
- IronSourceRewardedVideoEvents
- LevelPlayRewardedVideoAndroidManual
- onAdLoadFailed
- onAdReady
- LevelPlayRewardedVideoAndroid
- onAdUnavailable
- onAdAvailable
- onAdClicked
- onAdClosed
- onAdOpened
- onAdShowFailed
- onAdRewarded
- LevelPlayRewardedVideoAndroidManual
- IronSourceInterstitialEvents
- LevelPlayInterstitialAndroid
- onAdLoadFailed
- onAdReady
- onAdClicked
- onAdClosed
- onAdOpened
- onAdShowSucceeded
- onAdShowFailed
- LevelPlayInterstitialAndroid
- IronSource
- pluginVersion
- unityVersion
- getAdvertiserId
- setManualLoadRewardedVideo
- SetPauseGame
- init
- loadRewardedVideo
- showRewardedVideo
- isRewardedVideoAvailable
- loadInterstitial
- showInterstitial
- isInterstitialReady
Was this page helpful?