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.

Upvotes: 14

Views: 20829

Answers (4)

Aftab
Aftab

Reputation: 1

Just change you app package name and App Id for just testing, Actually sometime google play store limited app of testing Ads based on App id and app Package name

Upvotes: 0

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.

Upvotes: 3

Zubeir
Zubeir

Reputation: 61

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

Upvotes: 2

ninoorta
ninoorta

Reputation: 998

Just check out if your app is not limited by google .

Upvotes: 0

Related Questions