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.