googleads-mobile-flutter: 🐛 [Android] Release Mode Error: Ad failed to load: LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config.)

Bug report

Describe the bug With flutter_admob I am able to show Interstitial ad with my app id, but when I migrated to googleads-mobile-flutter, my ad is not displayed and gives me this error:

Ad failed to load: LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config.)

Same thing applies to banner ads, too.

Steps to reproduce

Steps to reproduce the behavior:

  1. Use a real ad id with googleads-mobile-flutter for banner or interstitial (these are the ones that I tested)
  2. Use AdListener to log callbacks.
  3. flutter run --release and see the error.

Expected behavior

Ads should be displayed.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand
PASTE OUTPUT INSIDE HERE

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 28
  • Comments: 58

Most upvoted comments

Same problem.

Debug ads are showing using test ids (for example: ca-app-pub-3940256099942544/2247696110)

However, when using those from my Admob config, it is not working.

Admob account is working, verified and ad units have been created more than 15 days ago. No idea where the problem might come from.

solution for me is to set up an app-ads.txt file exact shown below. Then I have to wait for 24 hours to get it working.

Screenshot 2021-09-15 at 11 32 00 AM

reference : https://developers.google.com/admob/android/test-ads

Bump. The same problem. iOS displays ads (with my ids with test mode label), but on Android I have “No ad config” error ;/ Any ideas?

Same here. App on play store & appstore. I use AdMob OpenBidding and the bidding requests don’t go through to the ad sources. Android: I/flutter (10249): banner ad failed to load with LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: , adapterResponses: []))

Could you confirm that the app-ads.txt should be setup this way: google.com, MY PUBLISHER ID, DIRECT, f08c47fec0942fa0

Yes, this looks correct. Ref: https://support.google.com/admob/answer/9363762?hl=en

LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: , adapterResponses: []))

For future reference, if you’re seeing the issue above, it means there is no fill for your request. This is normal as there may not always be bids for every impression.

If you recently published your app or linked it on AdMob / Ad Manager, it may also be subject to ad serving limits while your traffic is being assessed.

I install the app directly using the release aab file; the ads don’t show, but that aab file I also upload to google play and download the ad shows up. Is that a bug or a feature?

i am currently running into similar situation, banner ads work on some devices and on some not

issue #504 that was closed as duplicate

this seems to be on going for very long time with no real solution from the plugin team

I am facing the same issue. Any solution yet? The ads seemed to have been working for the past 2 months and then suddenly yesterday both android and iOS apps stopped showing ads:

iOS Error: code: 1, domain: com.google.admob, message: Request Error: No ad to show Android: code: 3, domain: com.google.android.gms.ads, message: No ad config

Its also strange that both the apps have different error code

I’m just having the same problem. Until this morning, my ad unit was working properly. The only one thing that is new is the fact I have linked my app to Firebase on AdMob UI.

This issue also occurs on sample unit ad ca-app-pub-3940256099942544/2247696110 on a release or debug mode. No information anything about the issue, I only know No ad config.

And you know when I add the config I’m so surprised because the issue keeps saying No ad config. LOL

No documentation for Kotlin and I don’t know what to do about this issue.