Banner ad at the bottom

Hi everyone,

I recently added ads to my app. It was just a simple banner ad to be visible most of the time in the app. I can just position it at the bottom of the screen. I managed to do that, but when testing, in some devices, the banner moves up by the size of his own height and in some it works perfectly fine.

I’m doing it like this:

ads.show( "banner", { x=0, y=display.contentHeight-100, appId="xxx", testMode = true } )

100px is the height of the banner ads acording to the test ads (actually there it says 50px)

What I’m I doing wrong?

Hi @jose.castanheira2,

What ad service/provider are you using?

I’m testing with test banners, but the provider is Admob.

Here.  Take a look at my fully-functional admob test project and you should see how to show the ad at the bottom:

http://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2015/06/admob.zip

You can see the important code here:

http://github.com/roaminggamer/RG_FreeStuff/blob/master/AskEd/2015/06/admob/main.lua

Hi @jose.castanheira2,

What ad service/provider are you using?

I’m testing with test banners, but the provider is Admob.

Here.  Take a look at my fully-functional admob test project and you should see how to show the ad at the bottom:

http://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2015/06/admob.zip

You can see the important code here:

http://github.com/roaminggamer/RG_FreeStuff/blob/master/AskEd/2015/06/admob/main.lua