This is a sample application which will display test ads using sample ad units. These ad units are not associated with AdMob account and are sample ad units that are used for building and testing your apps.
Flutter Ads App | ||||||||
---|---|---|---|---|---|---|---|---|
🎁 Reward Coins increases after watching the Rewarded Video Ad | ||||||||
Make sure you have installed/upgraded the Prerequisites : Developer Guide
- Flutter 1.22.0 or higher ✅
- Android
- Android Studio 3.2 or higher ✅
- Target Android API level 19 or higher ✅
- Set compileSdkVersion to 28 or higher ✅
- Android Gradle Plugin 4.1 or higher ✅
- Download the project repository
- Navigate to <flutter_test_ads_app> folder using
cd flutter_test_ads_app
from the terminal. - Open Emulator or connect an Android device to your machine to run the app using command
flutter run
Licensed under the Apache License, Version 2.0 - LICENSE
Banner Ad | Interstitial Ad | Rewarded Video Ad |
---|---|---|
- This guide explains how to enable test ads in Flutter app. These ad units are not associated with your AdMob account and are sample ad units that are used for building and testing your apps.
- If you want to publish your app to Play Store or App Store and start displaying AdMob ads and earn revenue then you will have to add your AdMob app ID in your AndroidManifest.xml file. You can find your AdMob app ID in the AdMob UI add it to your AndroidManifest.xml file. Also replace testAdUnitId with an ad unit ids from AdMob to display real ads to your app users.
- Recommended: Create an AdMob account and register an Android app