kloder-games / godot-admob

Module Admob for Godot engine
MIT License
360 stars 61 forks source link

Normal banners dont work #36

Closed mouEsam closed 6 years ago

mouEsam commented 6 years ago

OS target (Android/iOS): Android

Godot version: Godot 3.0.5

Issue description:

Banners don't come up no matter what id I put in, I even created new one but with no luck only google's test banner id works Interstitials and rewarded videos are working

Shin-NiL commented 6 years ago

Sometimes new ids takes some time to work, just try again later. You can also use logcat to debug the app.

adb logcat -s godot

mouEsam commented 6 years ago

I used logcat and here is the log

--------- beginning of system
--------- beginning of main
07-14 13:24:50.178 15954 15954 I godot   : **INIT EVENT! - 0xf1c232a0
07-14 13:24:50.178 15954 15954 I godot   : ***************** HELLO FROM JNI!!!!!!!!
07-14 13:24:50.178 15954 15954 I godot   : *******CLASS FOUND!!!
07-14 13:24:50.178 15954 15954 I godot   : STEP2, 0x100cce
07-14 13:24:50.178 15954 15954 I godot   : STEP3 -487190492
07-14 13:24:50.178 15954 15954 I godot   : STEP4, 0x1d
07-14 13:24:50.178 15954 15954 I godot   : STEP4.5, 0x100cd2
07-14 13:24:50.178 15954 15954 I godot   : STEP7
07-14 13:24:50.178 15954 15954 I godot   : STEP8
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _dir_open ok!!
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _dir_next ok!!
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _dir_close ok!!
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _dir_is_dir ok!!
07-14 13:24:50.178 15954 15954 I godot   : starting to attempt get methods
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _init_audio ok!!
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _write_buffer ok!!
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _quit ok!!
07-14 13:24:50.178 15954 15954 I godot   : *******GOT METHOD _pause ok!!
07-14 13:24:50.178 15954 15954 I godot   : test construction 5
07-14 13:24:50.178 15954 15954 I godot   : running from dir /
07-14 13:24:50.189 15954 15977 I godot   : **SETUP
07-14 13:24:50.189 15954 15977 I godot   : CMDLINE LEN 0 - APK EXPANSION 0
07-14 13:24:50.219 15954 15977 I godot   : *****SETUP OK
07-14 13:24:50.220 15954 15977 I godot   : ANDROID MODULES : org/godotengine/godot/GodotAdMob
07-14 13:24:50.220 15954 15977 I godot   : mod count: 1
07-14 13:24:50.220 15954 15977 I godot   : LOADING MODULE: org/godotengine/godot/GodotAdMob
07-14 13:24:50.220 15954 15977 I godot   : ****^*^*?^*^*class data 20004d
07-14 13:24:50.236 15954 15977 I godot   : ****^*^*?^*^*class instance 100051
07-14 13:24:50.355 15954 15977 I godot   : ^_^_^_^_^ newcontext 0
07-14 13:24:50.355 15954 15977 I godot   : ^_^_^_^_^ resize 0, 1080, 1920
07-14 13:24:50.355 15954 15977 I godot   : **FIRST_STEP
07-14 13:24:50.355 15954 15954 I godot   : WARNING: not found: display/driver/keep_screen_on
07-14 13:24:50.363 15954 15977 I godot   : OpenGL ES 3.0 Renderer: Adreno (TM) 506
07-14 13:24:50.406 15954 15977 I godot   : OpenSL Init OK!
07-14 13:24:50.950 15954 15977 D godot   : AdMob: init
07-14 13:24:52.837 15954 15954 W godot   : AdMob: onAdFailedToLoad -> ERROR_CODE_NO_FILL
07-14 13:24:53.635 15954 15954 W godot   : AdMob: onAdLoaded
07-14 13:24:53.643 15954 15977 I godot   : Interstitial loaded

But this makes no sense at all cuz I have the same id used in another app and it's working

Shin-NiL commented 6 years ago

This is a common issue with Admob, but out of the scope to this module. Here's the description on the API page:

ERROR_CODE_NO_FILL: The ad request was successful, but no ad was returned due to lack of ad inventory.

mouEsam commented 6 years ago

Thank you for your time 😃