Admob full screen ads not showing correctly in landscape apps

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

Tested the build on an iPhone 6, got the same banner ad but it was fine. Seems like the problem is affecting iPads. 

Tested with Corona SDK 2707, iOS 8.4.1, iPhone 6.

admob_full_iphone6.PNG

That’s also happening to me.

Tested with Corona SDK 2702, iOS 8.4.1, iPhone 5

It doesn’t show landscape interstitial properly.

Hi bgmadclown, 

Sorry to hear you’re facing the same issue. Thanks for sharing your issue on the iPhone 5. 

Ben

Engineering will want a bug report before they can look into this.  Please us the “Report a bug” link at the top of the page. You will be required to submit a project with the minimal code that shows the problem. You must also include a build.settings and config.lua files and any other resources (art, sound, etc.) needed so that we can build and run the app. This must be in a .zip file (not .bz2 or any other weird format).

After you submit, you should get an email to your registered email address that has a Case ID # in the subject. Please post that number back here when you receive it as a reference. It also helps to include a link to this forum post in the bug submission text.

Thanks

Rob

I don’t know what happened but I can’t reproduce the bug today. I created a different project and tried in our game as well but didn’t face the same issue. What about you Ben?

Serkan

Hi Serkan, 

I am still facing the bug. Do you have an iPad you can test this issue on? 

Preparing to submit a bug report today. 

Ben

p/s the last time it was reported, if i remember correctly it disappeared after a week or two, so i did not submit a bug report. I was using Corona SDK 2646, iOS 8.3 last Friday - my builds were showing the full screen banners ads properly but suddenly on Saturday (i think) the ads went sideways and i didn’t touch my ad codes. Have to submit a bug report as it’s recurring again. 

Hi Ben,

I don’t have an iPad to test it out so go ahead and submit a bug report if you’re still facing it. I tried it out today and didn’t get the same interstitial and the ones that are showing were proper. There is a chance that this is caused by some of the ads but I’m not sure.

Hi Rob, 

Posted a bug report: (Case 42655) Admob Interstitial Ads (Static Image Ads Only) Not Displaying Properly - with all the necessary codes and also a screenshot of the problematic ad. 

Ben. 

Hi Serkan, 

I tested today and I got another different static full screen ad with the same problem on my iPad. 

Ben. 

Hi Rob, 

FYI, Case 42655 posted. 

Ben.