Including an AdMob Anchored Adaptive Banner in Jetpack Compose

Paolo Montalto
2 min readMay 23, 2023

As of now there’s still no native support for Jetpack Compose in the official AdMob SDK by Google.

Therefore when it comes to adding Ad banners to our Jetpack Compose project we necessarily need to get back to the classic Android View system.

Fotunately there’s a composable which comes in handy, the AndroidView composable.

--

--

Paolo Montalto

Android Engineer, freelance, mobile developer, software craftsman, guitar strummer, husband, father, humble.