Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Initialization functionality unavailable for this session, in google Ads

Tags:

android

ads

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.
like image 919
S.P. Avatar asked Apr 22 '19 13:04

S.P.


People also ask

Are Google ads accurate?

It's quite simple, really: Google Ads is not always going to be 100% accurate, but depending on user settings in Google accounts (i.e., listing age/gender) and how one uses Google in general, this can then be used to gain an idea of what demographic a user is in.


2 Answers

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.

like image 135
Mwangi Gituathi Avatar answered Oct 22 '22 08:10

Mwangi Gituathi


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);
like image 1
datchung Avatar answered Oct 22 '22 08:10

datchung