This project serves as a comprehensive showcase of various ad formats available through Google Ads (AdMob) integration in Android apps using Kotlin. By exploring this demo, you'll gain a clear understanding of how to implement different types of ads to enhance your app's monetization and user engagement strategies.
This demo covers a range of ad formats, including:
- Banner Ads: Display small ad banners within your app's layout.
- Adaptive Banner Ads: Optimize banner ad size dynamically based on available space.
- Interstitial Ads: Present full-screen ads during app transitions or at strategic moments.
- Native Ads: Seamlessly integrate ads into your app's content for a natural user experience.
- Rewarded Ads: Offer users rewards in exchange for viewing ads.
- Rewarded Interstitial Ads: Combine the interstitial ad experience with rewards.
- App Open Ads: Showcase full-screen ads during app loading or transitions.
-
Clone the repository to your local machine:
git clone https://github.com/PanktiSP13/GoogleAdsDemoInKotlin.git
-
Open the project in Android Studio.
-
Set up your AdMob account and configure your ad unit IDs as needed.
-
Build and run the app on an emulator.
Explore the app to see different ad formats in action. Each section of the app demonstrates a specific ad format, providing insights into their integration, behavior, and user experience. By examining the code and layouts, you'll be equipped to implement these ad formats in your own projects.