AdsN2I Mobile Ads Unity plugin

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:

  1. Delete all previous Ad SDKs in Assets (MaxSdk, LevelPlay, GoogleMobileAds)
  2. Download the latest N2IMobileAds.unitypackage release.
  3. Import the .unitypackage file by selecting the Unity menu option Assets > Import package > Custom Package and importing all items.
  4. Resolve dependencies by selecting the Unity menu option Assets > External Dependency Manager (or Mobile Dependency Resolver) > Android Resolver > Resolve.
  5. 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
  • IronSourceInterstitialEvents
    • LevelPlayInterstitialAndroid
      • onAdLoadFailed
      • onAdReady
      • onAdClicked
      • onAdClosed
      • onAdOpened
      • onAdShowSucceeded
      • onAdShowFailed
  • IronSource
    • pluginVersion
    • unityVersion
    • getAdvertiserId
    • setManualLoadRewardedVideo
    • SetPauseGame
    • init
    • loadRewardedVideo
    • showRewardedVideo
    • isRewardedVideoAvailable
    • loadInterstitial
    • showInterstitial
    • isInterstitialReady