Closed mshahzaib1629 closed 3 years ago
Hi @mshahzaib1629
Have you followed the documentation for setting up Admob? How long has it been since you created the adUnit in Admob? Can you provide your flutter run -v
in a plain text file?
Thank you
@markusaksli-nc as mentioned in pub.dev, admob library don't have any documentation ready so far, I followed the given example simply by replacing the application id and unit id (s), and produces the mentioned error.
@mshahzaib1629 Is your compileSdkVersion
and targetSdkVersion
set to at least 29 in build.gradle
?
Hey @mshahzaib1629. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Same problem. Only the test id works. On Android it works on ios it doesn't work. ad created 14 days ago
@mshahzaib1629 , have you managed to solve it? I'm getting the same issue here. Test ads work fine. Real ads do not show. My app is published on App Store for a week now. I'm getting 400+ requests but zero impressions.
@bombicode @danieeelfc Is anything useful logged to the console with flutter run -v
? Have you removed all test device ID etc code from the app?
Labeling since this is an issue for multiple people already.
@danieeelfc the problem is still there. But I tackled it by changing admob account. The first account was newly created (tested for a week but it didn't work). Then I used another account of a friend who has added payment information in it, and it worked surprisingly. I think absence of payment information in admob account was causing the issue.
@markusaksli-nc Thank you for your attention. Running flutter run --verbose
the only hint I get is this:
Failed to load event is triggered: "flutter: BannerAd event is MobileAdEvent.failedToLoad
"
and on Xcode console I get this message:
FirebaseAdMobPlugin <warning> interstitial:didFailToReceiveAdWithError: Request Error: No ad to show. (MobileAd <FLTInterstitialAd: 0x283553d80> PENDING mobileAdId:750245609 for: <GADInterstitial: 0x280bd64c0>)
@mshahzaib1629 Thanks for your reply. My account is set up. Indeed I have published three other apps this year that are showing ads accordingly.
Hi all, Anybody found solution for ios real device? it's working fine in both simulators (android and ios) and in android real device. thanks in advance.
@mshahzaib1629 , have you managed to solve it? I'm getting the same issue here. Test ads work fine. Real ads do not show. My app is published on App Store for a week now. I'm getting 400+ requests but zero impressions.
Have you solved the problem?
@bombicode not yet
@bombicode not yet
I also noticed that if you try link an app to the app store, the app is not there although the app was approved 12 hours ago and can be found in the app store
@bombicode It's something on admob cache update schedule. Usually it takes 2-3 weeks for an iOS app published on App Store show on Admob. Mine is up for 10 days and still doesn't show up. I'm hoping it will get impressions as soon as I can link app store to admob app.
@bombicode It's something on admob cache update schedule. Usually it takes 2-3 weeks for an iOS app published on App Store show on Admob. Mine is up for 10 days and still doesn't show up. I'm hoping it will get impressions as soon as I can link app store to admob app.
after 20 days, I got an ad.
I am also facing the same issue. Test ads are running fine, but when I add AppId and AdId it says Ad failed to load : 3. Have anyone found a solution on this
I'm also seeing the same issue:
W/flutter (20936): onAdFailedToLoad: 3
I/Ads (20936): Ad failed to load : 3
I/flutter (20936): BannerAd event is MobileAdEvent.failedToLoad
How long does it take to show up for a Android app?
I am also facing the same issue. Test ads are running fine, but when I add AppId and AdId it says Ad failed to load : 3. Have anyone found a solution on this
after 20 days, I got an ad.
I had same issue. But, now problem has been solved by itself.. I just wait for 2 weeks after release my app on appstore. I think only we can do for this issue is JUST WAIT......
I'm also seeing the same issue:
W/flutter (20936): onAdFailedToLoad: 3 I/Ads (20936): Ad failed to load : 3 I/flutter (20936): BannerAd event is MobileAdEvent.failedToLoad
How long does it take to show up for a Android app?
Same result here. Hope I can get ads after release its for a while.
The firebase_admob
plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob
does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets
as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob
migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.
Bug report
Describe the bug When using test ads, all the ads are shown perfectly. But when I use my own app id and ad units, I'm getting error: I/Ads (21375): This request is sent from a test device. I/AudioManager(21375): getMode name:com.codelab.awesomedrawingquiz W/flutter (21375): onAdFailedToLoad: 0 I/Ads (21375): Ad failed to load : 0 I/flutter (21375): InterstitialAd event MobileAdEvent.failedToLoad
Don't know why it's not working, although I've added testDevice id along with targetingInfo
To Reproduce
Flutter doctor
Flutter dependencies