19

I'm getting this error of google Ads, suddently. I can't find anything here with this error.

Notice that ads are displaying correctly

Google Mobile Ads SDK initialization functionality unavailable for this session. Ad requests can be made at any time.
S.P.
  • 2,274
  • 4
  • 26
  • 57

2 Answers2

1

Have you tried restarting your test device? It worked for me. Also if you have other apps with admob try uninstalling them since numerous calls will be made leading to the problem you are experiencing.

Mwangi Gituathi
  • 305
  • 2
  • 10
1

In my case, I solved this error by adding the following lines to my onCreate method:

MobileAds.initialize(this, new OnInitializationCompleteListener() {
    @Override
    public void onInitializationComplete(InitializationStatus initializationStatus) {
    }
});
mAdView = findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
datchung
  • 3,778
  • 1
  • 28
  • 29