Date: 2024-12-20 18:37:03
Score: 1
Natty:
Few things I would suggest:
- Test with test ad units id provided by Google https://developers.google.com/admob/android/test-ads and see if you see any ads.
- Try enabling test device https://developers.google.com/admob/android/test-ads#enable_test_devices
- Check the logcat and see if there's any error
- Add the callback to see if there's any error returned https://developers.google.com/admob/android/banner#ad_events I am assuming you should see something in the fail callback which could help understand the issue futher.
override fun onAdFailedToLoad(adError : LoadAdError) {
// Code to be executed when an ad request fails.
}
Reasons:
- Probably link only (1):
- Has code block (-0.5):
- Low reputation (0.5):
Posted by: MXC