A little update:
Currently admob aren’t serving ads to android 3+ over this interface, and this is why tablets don’t show ads. You should check in your code if the current version is > 3 and disable the webpopup:
Something like this:
ads = true
if system.getInfo( "platformName" ) == "Android" then
local AndroidVersion = string.sub (system.getInfo( "platformVersion" ), 1, 1)
if tonumber(AndroidVersion) \< 3 then
ads = false
end
end
There is a way to get around this, so if you have a tablet centric app and desperately need ads on 3.0+ then give me a shout on irc and i’ll help you out.
Another note. The webpopup will only zoom the ad 1.5 at the most. So to make sure your web popup isnt too big you need to do this:
local sizeX = 320
local sizeY = 48
local scale = 1/display.contentScaleY
if scale \> 1.5 then
adfile = "android\_ad15.html"
sizeX = sizeX\*(1.5/scale) + 1
sizeY = sizeY\*(1.5/scale) + 1
else
adfile = "android\_ad.html"
end
And then make your webpopup sizeX by sizeY.
[import]uid: 8872 topic_id: 8021 reply_id: 39457[/import]