admob-openfl icon indicating copy to clipboard operation
admob-openfl copied to clipboard

In iOS, google throws a message and do not show ads

Open mathemaudio opened this issue 10 years ago • 12 comments

Three weeks ago, when I installed admob-openfl, it was fine, I could see ads in iOS simulator. Today I have tried to compile and run it on Simulator and iPhone4. I don't see any ads and log terminal gives me this on iPhone: <Google> To get test ads on this device, call: request.testDevices = @[ @"f608f152b8b49866843a7f14a6a6b72c" ]; and this on iOS simulator: <Google> To get test ads on this device, call: request.testDevices = @[ GAD_SIMULATOR_ID ]; But I didn't choose to run it in test mode - I pass "false" as "test" argument in AD.init() function. What could be wrong there?

mathemaudio avatar Apr 07 '14 19:04 mathemaudio

Google library always prints this message when started on simulator (even if it's already in test mode). Probably real ads dosen't display because of issues described here - https://stackoverflow.com/questions/7093865/why-does-admob-return-no-fill

mkorman9 avatar Apr 07 '14 21:04 mkorman9

But it does show banners in Android. The same game, but compiled for iOS - does not show banners. Although it did a couple of weeks ago.

mathemaudio avatar Apr 08 '14 10:04 mathemaudio

Maybe something is changed there by Google network? Have you tested iOS version yourself lately?

mathemaudio avatar Apr 08 '14 14:04 mathemaudio

Yes, I've tested it just now. Everything seems to work fine.

mkorman9 avatar Apr 08 '14 22:04 mkorman9

I have installed fresh Mac OS X, thought maybe I damaged something during these last weeks. Then I installed everything from scratch, and still no ads are shown. But lib is compiled into app, because I see these google warnings. In the same time I mean, did you try to compile the iOS app recently? (not "have you tested a iOS app recently, which was compiled long time ago" :) )

mathemaudio avatar Apr 15 '14 19:04 mathemaudio

I compile it for Android - it shows ads. I compile it for iOS - (the same ad id) - it doesn't show anything.

mathemaudio avatar Apr 15 '14 20:04 mathemaudio

OK, is there at least any method of debugging this? How can I access error message?

mathemaudio avatar Apr 17 '14 07:04 mathemaudio

Google didn't change anything about their SDK so it should be ok. Only way of debugging this is by reading the Xcode debugger output.

mkorman9 avatar Apr 17 '14 14:04 mkorman9

I don't know if it's correct to use the same ad id for both Android and iOS app. I registered two different IDs for those two platforms and it works.

mkorman9 avatar Apr 17 '14 14:04 mkorman9

I had the same problem with ads not showing in IOS but they didn't show up only at Bottom.

paala avatar May 18 '14 06:05 paala

I don't want to get test ads, how could I get my own ads from AdMob unit ads id ?

hellohelloye avatar Jul 22 '14 16:07 hellohelloye

Hm, I also got this issue. The problem is that: I have an application, that already integrated admob and it work perfectly. I clone this app to a new one, but on the new app, admob does not work. I double check admob configuration (app_id and ads_unit_id), I am sure everything is ok. The test ads works but when I build for releasing, it always throw error "no ads shown". I dont think the problem is about my configuration.

purepure avatar May 22 '17 07:05 purepure