Admob full screen ads not showing correctly in landscape apps

Hi Serkan, 

Found a Corona developer with similar name. Messaging them to confirm if they own that app and confirm if they are also facing the same issue.

I have recently upgraded my iPad Air 2 to iOS 9. I tested one of my live apps again, recently updated and it includes the same version of Admob SDK 6.12.2. The ad is still displaying properly because when i built the app and submitted it (back in July/August) - it did not have the issue. If the issue was with Admob, then all my live apps would be showing the ad wrongly. Just my deduction. 

Ben. 

Hi Ben, Serkan,

Megabasket is one of the games we developed with Corona and although I have been testing for quite a while since I received your message, I am unable to reproduce this error. I have tested with two devices: iPad Mini 2 and iPhone 6, both with iOS 8.4.1.

I must say that we had this issue time ago (months) but did not show again in recent versions. Can you please check you have the latest version of the game?

To add some information: during the test I received interstitials with fullscreen images (both iPhone/iPad) and small image + test that actually reoriented with the device in portrait / landscape. I also tried a few combinations like suspend the game, reorient the game into portrait (even if the game doesn’t support it) and nothing strange happened.

Anyway, I believe it’s just to find the circumstances that create this effect.

Regards,

Isaac

Hi Isaac, 

Great hearing from you, and thanks for the feedback. When you said you tested Mega Basket on your devices rigorously, is this the current live version of the app in the store? I checked and Mega Basket was updated on August 10th. All mine apps which was updated in July/August did not display this issue too. 

Frankly, I only faced this problem about 2 weeks ago, before it was fine. Would you mind rebuilding your app again when you’re free and test if you can replicate the issue? I don’t think the Corona SDK version matters. 

Ben.

p/s for Admob interstitials - the issue only happens to fullscreen images. Small images however are working properly. 

Hi Ben,

Yes, I made sure I had the last version. I don’t mind building again as I planned to update the game with a few graphic changes and obviously would not like to drag a bug with it. When I can do this, that’s another matter, as soon as I have a moment I will test and let you all know.

Regards,

Isaac

Hi Isaac & Ben,

I’ve faced this issue with specific ads(in my game and yours), the ones that show only an image. The ones with store information are working as expected.

Hi Isaac, 

Downloaded Mega Basket and took some time to test your admob ads, this is a screenshot displaying the issue with fullscreen image ads, exactly how mine are. FYI, your admob banner (bottom) is not hiding too. 

Ben. 

megabasket1_admob_ipadair2.png

Hi Serkan and Isaac,

I was testing some new builds recently and I notice the issue is no longer present. Full screen static image ads seem to be displaying properly.

However, today I got some weird interstitial ads but they do not appear all the time, thank goodness. There is no text or image in it - just a blue and gray box, on top of one another. When you rotate your device, they even scale properly.

admob_bluegray1.PNG

admob_bluegray2.PNG

Did you notice it?

Ben

Hi Ben,

I haven’t faced a problem like that. We just tested our game on an iPad today and haven’t seen that ad. On which platform have you seen this bug / ad?

Hi Serkan, 

Build iOS 8.4 SDK with Corona 2719. Was testing on my iPad Air 2 running iOS 9.0.1 yesterday. Seems like the problematic ad is not showing today. Will keep testing for a few more days and see if it’s persistent. 

Ben.

We’ll be releasing our game soon so, I haven’t tried with iOS 8.4 SDK but I’m trying with iOS 9.0.2 with the latest Corona possible at the moment. I don’t think it’s related with Corona version as it’s a plugin but I guess you should try that out.

The version of Corona shouldn’t matter.

Hi Serkan,

Seems like a one time incident. I am no longer seeing the issue today with the same build parameters.

Ben

@gamebit.labs, I downloaded the code you submitted with your bug report with the hopes of being able to see if I could find the problem. Frankly, this is not a stripped down project. I can’t tell what you’re doing. You have Vungle, RevMob (which we don’t support) and a  bunch of other things that will take hours to spend trying to understand how your com.adview.lua module works.

I wrote a very simple interstitial ad displayer using AdMob

local ads = require( "ads" ) local interAppId = "ca-app-pub-0123456789012345/0123456789" local bigButton = display.newRect(display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight) bigButton:setFillColor(1, 0, 0) local function tapListener() print("Tap") return true end bigButton:addEventListener( "tap", tapListener ) local function adMobListener( event ) local height = ads.height() print("Local height: ",tostring( height)) print( "Height in listener: "..ads.height()) end ads.init( "admob", interAppId, adMobListener ) ads:setCurrentProvider( "admob" ) ads.show( "interstitial", { x=0, y=0 } )

It displayed the interstital ad the way I expected it to on Android. I’m trying on iOS.

Rob

Once I added testMode=true to my call, it ran on iOS as expected. My appId’s doesn’t seem to have live ads scheduled at the moment.

Rob

Hi Rob, 

Sorry about the source code submitted when logging the bug case. FYI, since end of September, the full screen static image issue for Admob Interstitials is gone. I have been testing for it daily and it has not reappeared. 

I have also not changed any implementation on my codes, just making builds daily and calling the interstitials. Seems like something changed somewhere. 

Ben

Could have been a google problem.

Rob

This old problem is back again with builds made today. The admob full screen ad is not showing properly in landscape. 

Yesterday’s build was fine. I am using Corona SDK 2707, iOS SDK 8.4.

admob_fullscreen.png

Are you using Enterprise or Corona SDK to build with?

Rob

Hi Rob, 

I am using Corona SDK. 

Ben

My app is set for landscape mode only. The previous image i have uploaded, you can’t see the close button for the ad. However, I tried rotating my device, and the ad rotates too. It’s still not displaying properly, however it does reveal the close button now. 

Seems like this the same problem user hammod and I reported back in April this year. 

Tested with Corona SDK 2707, iOS 8.4.1, iPad Air 2. 

admob_fullscreen2.PNG