Admob v2

Hello.

I have a problem with admob.

The point is I want a banner at the top of the screen. And I do get it on every device except [Huawei p80 Lite].

I tried to run the game on other Android devices with the same resolution and everything was fine.

I browsed the whole google but it seems to be a problem no one has faced so far.

What can be the problem? Thanks in advance. :slight_smile:

If you’re not getting ads there are likely error messages in your device’s console log and if not, you probably should be testing for event.isError in your adMob listener and printing out the value of event.response so that you know what’s going on. Then you can use: adb logcat or monitor to look for errors from the device.

http://docs.coronalabs.com/guide/basics/debugging/index.html

Rob

Thank you for answering, Rob.

I just forgot to tell that even in console log everything was fine:

I/Ads     ( 7403): Ad finished loading.

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): type banner

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): name adsRequest

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): provider     AdMobProvider

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): phase        shown

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): isError      false

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): response

But it’s not possible to see the actual banner.

What happens if you run “adb logcat” with no other parameters?

I do usually run just adb logcat and I get a lot of different logs

I mean there are no errors  :frowning:

If you’re not getting ads there are likely error messages in your device’s console log and if not, you probably should be testing for event.isError in your adMob listener and printing out the value of event.response so that you know what’s going on. Then you can use: adb logcat or monitor to look for errors from the device.

http://docs.coronalabs.com/guide/basics/debugging/index.html

Rob

Thank you for answering, Rob.

I just forgot to tell that even in console log everything was fine:

I/Ads     ( 7403): Ad finished loading.

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): type banner

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): name adsRequest

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): provider     AdMobProvider

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): phase        shown

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): isError      false

I/Corona  ( 7403): ---------------------

I/Corona  ( 7403): response

But it’s not possible to see the actual banner.

What happens if you run “adb logcat” with no other parameters?

I do usually run just adb logcat and I get a lot of different logs

I mean there are no errors  :frowning: