Skip to content

This repository contains InMobi Android SDK sample code for different ad-formats, which publishers can use to incorporate in their apps — Edit

License

Notifications You must be signed in to change notification settings

sunilkuna5-inmobi/sdk-sample-code-android

 
 

Repository files navigation

InMobi SDK for Android

Modified: 23 October, 2025

SDK Version: 11.0.0

Thanks for monetizing with InMobi! If you haven't already, sign up for an account to start monetizing your app!

Download

The InMobi SDK for Android is available via:

mavenCentral AAR

The InMobi SDK is available as a AAR via mavenCentral; to use it, add the following to your build.gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation 'com.inmobi.monetization:inmobi-ads-kotlin:11.0.0'
}

Download from the support portal

To download the latest SDK as a AAR, please visit http://inmobi.com/sdk.

To continue integrating with the InMobi SDK, please see the Integration Guidelines for Android.

New in this version

• Upgraded support for native ads
• Bug Fixes and Enhancements
• APIs Removed
    InMobiNative
        - public String getAdIconUrl()
        - public String getAdLandingPageUrl()
        - public boolean isAppDownload()
        - public JSONObject getCustomAdContent()
        - public View getPrimaryViewOfWidth(Context context, View convertView, ViewGroup parent, int viewWidthInPixels)
        - public void reportAdClickAndOpenLandingPage()
    NativeAdEventListener
        - public void onAdReceived(@NonNull InMobiNative ad)
        - public void onAdFullScreenWillDisplay(@NonNull InMobiNative ad)
        - public void onAdImpressed(@NonNull InMobiNative ad)
        - public void onAdStatusChanged(@NonNull InMobiNative nativeAd)

• APIs Added
    New Class Added : InMobiNativeImage
    New Class Added : InMobiNativeViewData
    New Class Added : MediaView
    InMobiNative
        - public InMobiNativeImage getAdIcon()
        - public String getAdvertiserName()
        - public View getAdChoiceIcon()
        - public void registerViewForTracking(InMobiNativeViewData viewData)
        - public void unTrackViews()
        - public MediaView getMediaView()
        - public boolean isVideo()
        - public String getCreativeId()
        - public JSONObject getAdContent()

** Refer to Release Notes for Older Versions.**

Requirements

  • Android 4.4 (API level 19) and higher
  • androidx.appcompat (Not a dependency of SDK. Used only in Sample App)

License

To view the license for the InMobi SDK, see here. To view the terms of service, visit https://inmobi.com/terms-of-service. The code for the sample apps is provided under the Apache 2.0 License.

About

This repository contains InMobi Android SDK sample code for different ad-formats, which publishers can use to incorporate in their apps — Edit

Resources

License

Stars

Watchers

Forks

Packages

No packages published