More Admob positioning woes -- landscape

Hi,

I have build settings set at 320x480

I display a smart banner at the bottom of the screen in landscape mode no issues.

However, the banner is pushed left with no padding to centre the ad.

In the Admob docs at google it states the ad will be padded evenly on each side and be central.

Anybody have any ideas or experience the same thing ?

Hi @bubblebobble,

Are you using the v1 or v2 AdMob plugin? Can you post your code on how you’re showing the banner?

Thanks,

Brent

HI Brent,

TBH I have had this issue for over a year or more but I decided to lose the banner ads in landscape mode for this very reason in previous apps.

However, I am using admob V2, although the issue was there in admobV1.

Device htc one X, Nexus 7

The code is standard stuff see below:

ads = require"ads" provider = "admob" appID = "ca-app-pub-00000000000000000000000000000" ads.init(provider, appID)   --- to show it ---   local adX = 0         local adY = 100000         ads.show("banner", { x = adX, y = adY, appId = "ca-app-pub-00000000000000000000000000000" })

here is an image:

http://www.tfgf.co.uk/c/nexus7.jpg

Google is probably use the entire width of your device to show the ad and it’s designed to be left filled and that’s why there is part of the ad on the Far right.  While It looks rather weird, I believe its behaving as expected. 

Rob

Hi @bubblebobble,

Are you using the v1 or v2 AdMob plugin? Can you post your code on how you’re showing the banner?

Thanks,

Brent

HI Brent,

TBH I have had this issue for over a year or more but I decided to lose the banner ads in landscape mode for this very reason in previous apps.

However, I am using admob V2, although the issue was there in admobV1.

Device htc one X, Nexus 7

The code is standard stuff see below:

ads = require"ads" provider = "admob" appID = "ca-app-pub-00000000000000000000000000000" ads.init(provider, appID)   --- to show it ---   local adX = 0         local adY = 100000         ads.show("banner", { x = adX, y = adY, appId = "ca-app-pub-00000000000000000000000000000" })

here is an image:

http://www.tfgf.co.uk/c/nexus7.jpg

Google is probably use the entire width of your device to show the ad and it’s designed to be left filled and that’s why there is part of the ad on the Far right.  While It looks rather weird, I believe its behaving as expected. 

Rob