Arnav
Arnav

Reputation: 1454

onAdFailedtoLoad: 3 error only on Android version of Flutter app for AdMob

I am trying to load banner, interstitial and rewarded video ads in my app. I have tested my code thoroughly and all my code works with test IDs. I replaced the test ID's with my actual Admob ID's and it works on the iOS version of my app, however when I tested the same on the APK release version of my app on my device it didn't load, I have integrated Facebook mediation as well selected 'contains ads' in the Developer Play Console. Recently, I had unpublished my app to make a few changes. I uploaded the app with my AdMob ID's and I'm still facing this problem. What can I do about it? My Admob account is on good terms with the AdMob policies.

W/flutter onAdFailedToLoad: 3

Upvotes: 3

Views: 4121

Answers (1)

Yash
Yash

Reputation: 2033

W/Ads: Failed to load ad: 3

As per the Documentation you are getting the following error code:

public static final int ERROR_CODE_NO_FILL

The ad request was successful, but no ad was returned due to lack of ad inventory.

Constant Value: 3

So, everything is okay from your side, and Admob didn't have an right ad for your placement.

Upvotes: 1

Related Questions