AppBrain
AppBrain
  • Apps
  • Intelligence ▾
    Intelligence overview → Track any Android app or your whole market
    Track & analyze
    Keyword Tracker & OptimizerTrack & improve Play rankings App Performance ReportOne-off PDF for any app StatisticsFree Android & Play market stats
    Promote your app
    Featured Apps App Links
  • Intelligence
  • Pricing
  • Dashboard
  • Sign up
  • Log in

General

  • Introduction
  • Privacy policy
  • HTML widgets
  • Embeddable widgets
  • AppLinks ToS

Publishers

  • AppBrain SDK
    • Getting started
      • Setup
      • COPPA compliance
    • Ad unit preview
    • Banners
    • Interstitial
    • ListView ads
    • Extra features
    • Other SDKs
    • Integration policy
  • Resources
  • Terms of service
  • FAQ

Advertisers

  • Resources
  • Terms of service
  • FAQ

Intelligence

  • Insights
  • Pricing
  • SDK downloads
  • Phone downloads
  • Terms of service

AppBrain API

  • Using the AppBrain API
  • API specification
  • API pricing
  • Promotion campaigns
  • Reporting
  • AppBrain CLI
  • MCP server
GDPR compliant

Getting started

Integrate the AppBrain SDK in your app in 5 minutes, using these three simple steps:

1. Add Gradle dependency

Add the dependency to your app module’s build file:

// build.gradle.kts
dependencies {
    implementation("com.appbrain:appbrain-sdk:+")
}

Using Groovy? implementation 'com.appbrain:appbrain-sdk:+'. The + keeps you on the latest SDK; pin a version (e.g. 18.20) if you prefer. See SDK setup for full details.

2. Access your account

If you haven’t done so yet, create an AppBrain developer account to get access to the AppBrain developer dashboard and to register your app for the SDK.

3. Show ads

Show an interstitial ad with InterstitialBuilder, for example when the user completes a level in your game:

private lateinit var interstitialBuilder: InterstitialBuilder

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)

    // Preload the AppBrain interstitial. Setting the AdId is optional but highly
    // recommended. You can also create a custom AdId for your app on our dashboard
    // under "Ad settings".
    interstitialBuilder = InterstitialBuilder.create()
        .setAdId(AdId.LEVEL_COMPLETE)
        .setOnDoneCallback {
            // Preload again, so we can use interstitialBuilder again.
            interstitialBuilder.preload(this)
            loadNextLevel()
        }
        .preload(this)
}

fun onLevelCompleted() {
    interstitialBuilder.show(this)
}

For more details and examples, see ad unit overview.

You’re done! For more detailed instructions see SDK setup, or the rest of the SDK documentation help pages.

Please contact us directly at
contact@appbrain.com
if you need any assistance.

AppBrain is an app data site, we track rankings, ratings, installs for all apps and games on Google Play and the App Store. AppBrain doesn't host app files or APKs, all install links go directly to the official store. All trademarks are owned by their respective owners.

More apps

  • Top Android apps being viewed
  • XO Infinity Android App
  • Pocket Transit for Android
  • View Jackpot Fury

App statistics

  • Android statistics
  • Google Play Developer stats
  • Trending Android Apps
  • Trending iOS apps
  • Top popular Apps
  • Buy the best Android phone
  • Buy & sell app businesses

About AppBrain

  • Contact
  • Privacy
  • Documentation
  • DMCA takedowns
  • Articles
  • Blog
  • Android Interstitial Ads: Best practices to optimize your app's earnings
© 2010-2026 - AppBrain