Ads not displaying correct size

Hello!

I’m using the ad support by corona, but the ads are not scaling correctly.

Here’s my code:

[lua]local model = system.getInfo( “model” )
if (model == “iPad” or model == “iPad Simulator”) then
ads.show( “banner728x90”, { x = 0, y = _H-90, interval = 60, testMode = true } )
else
if (display.pixelHeight >= 960 ) then
ads.show( “banner320x48”, { x=0, y=_H, interval=10, testMode=true } )
else
ads.show( “banner320x48”, { x=0, y=_H-48, interval=10, testMode=true } )
end
end[/lua]

and here’s part of my config file:

[lua]application = {
content = {
–zoom
width = 320,
height = 480,
xAlign = “center”,
yAlign = “center”,
scale = “letterBox”,
imageSuffix = {
["@2x"] = 2,
}
},
notification =
{
iphone =
{
types =
{
“badge”, “sound”, “alert”
}
}
},
}[/lua]

What am I doing wrong?

Regards,

John [import]uid: 186198 topic_id: 33423 reply_id: 333423[/import]

The ad provider may not be providing iPad banners to you, they could be sending smaller images to you.

[import]uid: 199310 topic_id: 33423 reply_id: 132801[/import]

The ad provider may not be providing iPad banners to you, they could be sending smaller images to you.

[import]uid: 199310 topic_id: 33423 reply_id: 132801[/import]

I’m using InMobi and they are supposed to send me iPad banners, right? Even if it’s just a test?

I’m also getting a message that says “no user-agent found”. Will this show up in production or is this only in test mode?

Regards,

John [import]uid: 186198 topic_id: 33423 reply_id: 132825[/import]

I’m using InMobi and they are supposed to send me iPad banners, right? Even if it’s just a test?

I’m also getting a message that says “no user-agent found”. Will this show up in production or is this only in test mode?

Regards,

John [import]uid: 186198 topic_id: 33423 reply_id: 132825[/import]