Ads don't load on some devices

344 views
Skip to first unread message

Tomasz Kapcia

unread,
Aug 1, 2022, 9:52:50 AM8/1/22
to Google Mobile Ads SDK Developers
Hello,

we've been trying to fix a bug regarding AdMob Ads for weeks, but with no luck.

After we released our game (link is below):

users and influencers started to write opinions that the game freezes at the loading screen.

After investigation, we noticed that the 2 ads (interstitial and rewarded) we use in our game don't load. Since the game doesn't have an offline mode, loading ads is a necessary step to loading and playing the game.

We thought that this may be due to AdMob being blocked in some countries, but people from many different countries and with different devices have this issue. Our team never managed to reproduce the issue. Devices don't seem to be similar in any way - as if the issue was random.

The errors mostly look like this:

Error Code: 9 Message: Request Error: No ad to show from all configured ad networks. Load Error String: Error Domain=com.google.admob Code=9 "Request Error: No ad to show from all configured ad networks." UserInfo={gad_response_info= Response Info Response ID: (null) Network: (null) Mediation line items , NSLocalizedDescription=Request Error: No ad to show from all configured ad networks., NSUnderlyingError=0x281eec660 {Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLKey=https://googleads.g.doubleclick.net/mads/static/sdk/native/sdk-core-v40.html?sdk=afma-sdk-i-v9.3.0, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <A311C0D0-D558-48F2-8EB1-BE65EA7254D0>.<2>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorCodeKey=-9860, gad_response_info= Response Info Response ID: (null) Network: (null) Mediation line items , NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x28161b940>, networkTaskDescription=LocalDataTask <A311C0D0-D558-48F2-8EB1-BE65EA7254D0>.<2>, NSErrorFailingURLStringKey=https://googleads.g.doubleclick.net/mads/static/sdk/native/sdk-core-v40.html?sdk=afma-sdk-i-v9.3.0, NSUnderlyingError=0x281c549f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9860, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9860}}, _kCFStreamErrorDomainKey=3}}} Response Info: Response Info Response ID: (null) Network: (null)

We have configured mediation to Unity Ads and AppLovin, so there should be plenty of ads to choose from.

Please help

Mobile Ads SDK Forum Advisor

unread,
Aug 1, 2022, 11:17:28 AM8/1/22
to ultimateg...@gmail.com, google-adm...@googlegroups.com
Hi Tomasz,

Thank you for reaching out to Mobile Ads SDK. There is no guarantee that ads will be available so part of integrating the Mobile Ads SDK is to have alternatives to no ads showing, there are callbacks for interstitial ads and for rewarded ads that you can put in alternative routes.

If in spite of alternative routes your app still freezes, could you wire up a sample app with your configuration and minimum modification to address your use case and send it privately to us so we can see on our end?

If you want to just test out your ad unit Id's, could you send them to us privately?

Regards,

 

ref:_00D1U1174p._5004Q2d3bId:ref

Tomasz Kapcia

unread,
Aug 3, 2022, 3:46:52 AM8/3/22
to Google Mobile Ads SDK Developers
The problem is that our team never reproduced that issue. Our code work like this: show Ultimateg Games Mobile logo at the start and in the background load everthing you need like connection to Google play, cloud service and 2 ads (interstitial and rewarded) and we have callback that if first ad is loaded then try to load second if that was also succesful load main menu of our game. But if first ad didn't load we are trying to load this ad again with  OnAdFailedToLoad  callback. And we implemented a system that if user had a problem with loading an ad the game is sending e-mail to our account with details about that error. Error code in this example  is 9 so according to your doccumentatnion is ERROR_CODE_MEDIATION_NO_FILL. I don't know how writing a sample aoo would help because like i said we cannot reproduced that error on our devices this appears only on some devices around the world. I don't know if it is a problem with mediations or localizations. We're working on Unity using AdMob SDK with mediations from Unity Ads and AppLovin.

Tomasz Kapcia

unread,
Aug 3, 2022, 8:06:12 AM8/3/22
to Google Mobile Ads SDK Developers
It is also important that the issue occurs on part of the devices and it never works on them. As far as we understand your reply, Error 9 appears when no ad is received because the ads aren't guaranteed to always be available despite a couple of mediations. Unfortunately, that doesn't explain why the issue persists on the devices that have it - ads never load on them, despite reloading the game. There is no similarity between devices that have this issue, it seems random on the surface

Mobile Ads SDK Forum Advisor

unread,
Aug 3, 2022, 12:56:12 PM8/3/22
to ultimateg...@gmail.com, google-adm...@googlegroups.com
Hi Tomasz,

I work along with Aryeh. Thank you for getting back to us.

Before providing my insight here, I would to give you context on the ERROR_CODE_MEDIATION_NO_FILL. The said error triggers when a mediation adapter requested an ad to the mediation ad-network, and it didn't returns any ad. Please note that the SDK just request an ad to the ad-server and don't have any control on the fill rate / match rate of the ads. You've mentioned that you will trigger another ad request when OnAdFailedToLoad called. Given this, it seems that your app is stuck on the loop of ad request and receiving a ERROR_CODE_MEDIATION_NO_FILL which resulted to app freeze. We also have this kind of reported issue before, and we recommend that adding a delay before requesting another ad again on your OnAdFailedToLoad. Also, we recommend to have a threshold of ad request. If this has been reach, provide your user a way to continue/proceed to your app.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 
 

ref:_00D1U1174p._5004Q2d3bId:ref
Reply all
Reply to author
Forward
0 new messages