Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config... when trying to load BannerAd in release mode

I have an app with the ads, when I run my app in debug mode with the test ad unit, everything works fine. However, when I run the app in release mode with the real ad unit from AdMob, I have an error

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

I'm having this for almost two months, please help me resolve it.

Here is a link for a GitHub issue I've opened, refer to it for a more detailed explanation.

like image 597
Исфан Джамалутдинов Avatar asked Jul 01 '21 11:07

Исфан Джамалутдинов


2 Answers

Add your Phone as test device in Google Admob over at the Settings. Then it should work! When releasing to play store make sure to state that your app is using Ads in the console

like image 59
Zubeir Avatar answered Oct 16 '22 16:10

Zubeir


I've found the cause of the problem and the solution. The fact that the app was not signed was the cause of LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: , adapterResponses: []))

Signing the app have solved my issue.

like image 2
Исфан Джамалутдинов Avatar answered Oct 16 '22 16:10

Исфан Джамалутдинов