AdMob ad appearing at bottom of the screen, only on first display

I’m trying to display an AdMob ad with the following line:

ads.show( "banner", { x=display.screenOriginX, y=display.screenOriginY, interval=30, testMode=true } )

The first time the ad appears, however, it will appear at the bottom of the screen. If I hide and then show the ad again, using the same line of code, the ad will correctly appear at the top.

I’ve tried adding a timer, giving it several seconds after the app loads before showing the ad, but this does not work. My solution right now is to immediately show, hide, and re-show the ad. This works, but I don’t like polling the network for two ads right away.

I’m not using content scaling of any type. And please don’t tell me to use content scaling - I don’t want to get into why I’m not using that.

I have also just started to have the exact same problem. The banner ad will show at the bottom of the screen on the first time ads.show() is called and displays in the correct position for any calls afterwards. 

I am getting the feeling that this is admob problem or possibly a general corona ads library problem.

It’s weird, it just started for me too. A few days ago, I swear it wasn’t happening. I went away for a few days, left the computer on, my IDE open, and the Corona Simulator open. I rebuilt after changing just an image, and it started up. I just chalked it up to me being unobservant before… but if someone else is suddenly experiencing this, I’m glad I’m not crazy! :lol:

We did update the plugin to support positioning variable height ads at the bottom by specifying a Y that is really really large.  Plugin updates happen without you needing to update Corona SDK.  So its likely the behavior change is the plugin update.

Rob

Having the same problem here. first time shows the ad at the bottom left regardless of where i try to position it. Rob can the plugin be updated again to fix this issue?

A few questions to help narrow down the issue:

Are you having this issue on iOS or Android?  

What version of the OS are you running?

What does your config.lua look like?

What does your call to ads.show() look like?

I have not yet tested on IOS. So for me it is happening on Android thus far.

Android version: 4.4 KitKat

config.lua is basic for the moment

application = { content = { width = 320, height = 480, scale = "letterbox" } }

to show the ad:

ads.show( “banner”, { x=display.screenOriginX, y=display.screenOriginY } )

Again, only the first time it displays the ad it places it at the bottom/left of the screen, every other time there after it displays in the correct position.

Cheers,

Chris.

Please try again in 1 hour.  Thanks.

i got same problem, what happen with ADMOB plugin?

dcchan - Thank you for the quick turn around.

i just rebuilt it for my android phone, and the ad now displays first time in the correct position.

Thanks again!

hi dcchan,

i still have same problem on ADMOB , the ADV display on the bottom.

my android is 4.3

daily build 2013.2112

please let me know what happen

thanks!

@raymondcheng

Please provide a sample project which demonstrates the issue so we can reproduce it.  Thanks.

I have also just started to have the exact same problem. The banner ad will show at the bottom of the screen on the first time ads.show() is called and displays in the correct position for any calls afterwards. 

I am getting the feeling that this is admob problem or possibly a general corona ads library problem.

It’s weird, it just started for me too. A few days ago, I swear it wasn’t happening. I went away for a few days, left the computer on, my IDE open, and the Corona Simulator open. I rebuilt after changing just an image, and it started up. I just chalked it up to me being unobservant before… but if someone else is suddenly experiencing this, I’m glad I’m not crazy! :lol:

We did update the plugin to support positioning variable height ads at the bottom by specifying a Y that is really really large.  Plugin updates happen without you needing to update Corona SDK.  So its likely the behavior change is the plugin update.

Rob

Having the same problem here. first time shows the ad at the bottom left regardless of where i try to position it. Rob can the plugin be updated again to fix this issue?

A few questions to help narrow down the issue:

Are you having this issue on iOS or Android?  

What version of the OS are you running?

What does your config.lua look like?

What does your call to ads.show() look like?

I have not yet tested on IOS. So for me it is happening on Android thus far.

Android version: 4.4 KitKat

config.lua is basic for the moment

application = { content = { width = 320, height = 480, scale = "letterbox" } }

to show the ad:

ads.show( “banner”, { x=display.screenOriginX, y=display.screenOriginY } )

Again, only the first time it displays the ad it places it at the bottom/left of the screen, every other time there after it displays in the correct position.

Cheers,

Chris.

Please try again in 1 hour.  Thanks.

i got same problem, what happen with ADMOB plugin?