Add AdMob Ad banner using Android Compose

Tutorial shows how to display Google AdMob banner ads using Android Compose. Currently there is no official doc about AdMob and Android Compose.


  1. Register AdMob account.
  2. Create new Android Compose project. Open Android Studio -> new -> compose -> name project -> Ok
  3. Now you have an android compose project. Build and run.
  4. Let’s add AdMob Android SDK integration.
  5. Add the Gradle AdMob SDK dependency -> build.gradle -> add below…



software engineer, read, swim, travel. apps:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store