For testing Google AdMob in a Flutter app, you must use specific test IDs provided by Google to avoid being flagged for "invalid activity," which can lead to account suspension.
1. Test App IDs
These IDs are used in your AndroidManifest.xml (Android) and Info.plist (iOS) to initialize the SDK during development.
Platform Test App ID
- Android ca-app-pub-3940256099942544~3347511713
- iOS ca-app-pub-3940256099942544~1458002511
Test Ad Unit IDs
Use these IDs within your Dart code when initializing specific ad types.
|
Ad Format |
Android
Test Unit ID |
iOS Test
Unit ID |
|
Banner |
ca-app-pub-3940256099942544/6300978111 |
ca-app-pub-3940256099942544/2934735716 |
|
Interstitial |
ca-app-pub-3940256099942544/1033173712 |
ca-app-pub-3940256099942544/4411468910 |
|
Rewarded |
ca-app-pub-3940256099942544/5224354917 |
ca-app-pub-3940256099942544/1712485313 |
|
App Open |
ca-app-pub-3940256099942544/9257395921 |
ca-app-pub-3940256099942544/5575463023 |
|
Native Advanced |
ca-app-pub-3940256099942544/2247696110 |
ca-app-pub-3940256099942544/3986624511 |

0 Comments