iPhone X AdMob Ad Rendering Question!

@hogletpie - No, I didn’t give my admob representative a reason. Fingers crossed everything will work out fine for all of us!

The worst part of it all is, they have given a deadline of November 20, but admob themselves have not updated their sdk. I’m in a crunch now deciding what to do,start updating all my apps, which won’t just be admob but also older libraries to new for them to work, then update them all again once the new plugin or admob sdk comes out as they say they have changes for interstitials for iPhone X, (nightmare) or wait til they release the new sdk hopefully before the 20th and have less time to update and test all the apps. Either way it’s a nightmare! Going on holidays on the 16th so makes matters worse for me.

My feeling is they will extend the deadline and/or not simply “throw a switch” and stop serving ads across all devices.

AdMob don’t say what they will do after the 20th. Probably because they have yet to decide. Their decision may be based on how many developers update…

Time will tell…

Ideally yes, but I would not ignore a policy for which they clearly are outlining and having a notification for at the top of the admob dashboard. I think it’s better to be safe than sorry. i don’t think they need to say what they will do after the 20th as their policies already mention that. they have already mentioned it will not be compliant if they find the ads are not shown correctly on iPhone x

I wonder what non-compliance results in? Simply stopping the ads served on the iPhone X or, more severely, stopping all ad serving across all devices?

Hi @karpovpw finally getting around to doing some testing with the iphone x simulator, thanks for your help so far! the first app im updating is a landscape app. and interstitials are showing within the safe area already without any changes, so possibly admob has already got something in place without updating the sdk?

With the banner in landscape, im wondering if that push to the right is also something admob is automatically doing? as from what i can see, the banner starts from exactly where the left/top rounded corner on the iphone ends, but the end goes past the screens display on the right(which is not good as thats the side they usually have the button to click the ad) . i think the correct showing would be it starts at the end of the left/top corner as it does already, but ends at the start of the right/top corner. again this is all in landscape mode.

Is there any update on this? as i cant submit an app with the banner (and most commonly in admob the banner ads call to action area) going off the right of the screen

Hopefully someone can chime in with banner (and interstitial) behaviour in portrait mode! :slight_smile:

Hi, chris_raz,

About the interstitials: no, right now they are not showing inside the safe area. You might be confusing simple “everything is on the screen visible” with “safe area”. These changes will come from admob, you’ll see what I meant in their new sdk update.

Admob demands are pretty obvious - banners should be inside safe area and it must be done on the apps side (e.g. on corona side for us). This fixes will be available to you on the next admob plugin update, which will become public when admob finally releases their sdk update.

What’s strange is their sdk update itself, or rather it’s absence. The guide page was updated on November 4th (some smart banners code snippets), but still no info about this new update. Like, whatta heck, Google? I was afraid that I was doing something wrong, but new release is obviously not on the https://developers.google.com/admob/ios/rel-notes still.

Hi again @karpovpw, thanks for your quick reply,

im not so sure, i dont see that they mention they will be updating their sdk for banners, i only see them mentioning it being updated for the rewarded ads and interstitials. see here at the bottom of this page. https://developers.google.com/admob/ios/x-ad-rendering

for banners it seems as though we should be fixing this now regardless of the new sdk. there is alot of warnings coming from them, the email, the top  of admobs dashboard, etc…

In terms of the interstitial im getting im wondering with the amount of time its taking them to update the sdk, they already have a fix in the current one… take a look at the screenshot, i have made no changes, but it is showing in the safe zone.

and the banner, i have also made no changes, i understand in portrait we would need to modify the y position for both top and bottom, but currently in landscape, it seems like the banner is starting in the right spot, and this only happens on iphone x which makes me beleive this is a admob feature as opposed to bug, the only problem is, i think the banner should only have the length of the actual safe area as opposed to the actual area hence its stretching beyond the screen. see attached below.

Yea, what I meant is: we will update our plugin as soon as admob will update their sdk, since I think we shouldn’t force our users to update their apps two times because of two new plugin releases instead of just one.

Since interstitials is not inside safe areas in the portrait mode, I’m guessing that this is just a coincidence, that everything looks ok in the landscape. Can’t say anything else about it.

Hi Again @karpovpw ok i have tested one of my apps in portrait mode. here is my results for both portrait and landscape. i made no changes to my code except for the y position of the portrait banner to sit in the safe area.

Portrait banner: (WORKS) Banners show fine, i adjusted the y position to move it up from the bottom into the safe area.

Portrait interstitial: (WORKS) although some of the video part of the interstitial comes out of the safe area, all buttons, and also the final ad scene sits in the safe area. see the top and bottom of the screen of these two attachments, you will see all the ads ui elements sit in the safe area.

Landscape Interstitial: (WORKS) again interstitial is all sitting in the safe area. look on the left, right and bottom. this cant be coincidence.

Landscape Banner: (NOT DISPLAYING CORRECTLY) The banner seems to start in the right place from the left (safe area) of the screen, it seems like the width is 100% of the screen width, hence stretching beyond the screen display. i believe the only thing that needs to be updated is setting the width of the banner to the width of the safe area in landscape only. everything else works.

To summarize, interstitials seem to work fine in both rotations. banner works fine in portrait, only in landscape it seems to stretch too far.

We need to get the updates out before the 20th to be compliant with admob, and waiting for admob to update their SDK is using up each precious day we have to fix, test, deploy, (and also hope they approve) and really from the results above we only need the landscape banner width fixed. the interstitials, if there is a problem, which above shows there is not, even so this is on admobs side, so if the 20th rolls around, at least we can be compliant with banners, and interstitials would not be our fault, but admobs for not updating the SDK. but from my results above, im not so sure they will be even updating the SDK for interstitials. so i dont really want to wait around to a couple days out from their deadline for the 20th, only to see they have not updated the SDK, and we have to scramble to get all our apps updated. From what im seeing the only thing that needs fixing is the banner width in landscape.

Hi chris_raz,
 

That is the interesting part. For me interstitials in portrait always outside of safe area. That’s why I was so eagerly waiting for the sdk update. For some reason, they are laid out fine for you and the screenshot confirms that.

Let me consult with our team, maybe we can do two plugin updates in a row.

edit: it seems that everybody is fine with double update, so we can update banners layout tomorrow (it will work exactly the same, as previously, but will respect safe areas for iX, basically. Also some under the hood updates for native code) and later update admob sdk. Hope that this solution will work for most of our users.

And once again, chris_raz, thanks for your detailed response, it really helps with this decision a lot.

That’s awesome thanks so much @karpovpw

edit: it seems that everybody is fine with double update

Maybe most, but not everybody!

There are some developers who are loath to update as a consequence of Apple “spam” rejecting or asking developers to fold similar apps into a “container” app. I for one will not be updating once, let alone twice. Perhaps my view is a minority view. I fully appreciate that you have no control over Apple’s review guidelines and that mobile is a constant cycle of updates.

Thanks everyone for their input! :slight_smile:

I feel it’s important to add to this. This thread is about getting AdMob to work on the iPhone X. We really should keep this thread focused on this.

I understand that many of you are unhappy with Apple’s requirements but there is zilch we can do about that. It’s up to you to decide if you can live with Apple’s rules or not. Corona has to move forward and provide updates that allow our customers to submit their apps. 

Rob

Hi @karpovpw any updates when the landscape banner width is updated

Oh did the update go out? Just rebuilt the appand banners are showing correctly in landscape mode now :slight_smile:

Do we still have to wait for the latest Admob SDK?

Also, are interstitials displaying properly on iPhone X in the latest build? I know I had some issues a couple weeks ago, but can’t remember if it was landscape or portrait mode.

Hey dialam, I don’t think their was an update for admob sdk regarding interstitial, correct me if in wrong… but I have made multiple builds for all my apps in both orientations and with banners, interstitials and rewarded, all approved by apple, all ads are showing in the safe zone. The only changes I made was the y position of the banner on the top and bottom in portrait to fit into the safe area, for landscape banners with y=“top” in landscape just work now in the safe area.

Hi guys,

Sorry for the delay, there were a lot of stuff happening lately, I thought that we already gave you an official answer, here it is ELI5:

We’ve released first of the two planned updates.
 

Banner position was fixed on every device. Banners now showing correctly on ios8/9-10/11, including iX’s safe areas (when this is possible through platform version).

Interstitials/r.videos are completely on admob’s side. When they’ll be ready for the update - we will update our plugin once again. For me, personally, Interstitials on iX in portrait mode looked outside of safe area layouts. But screenshots above are telling us that that is not the case for everyone.

Well, you can pin banners to “top” or “bottom” in the portrait mode too and it will be laid out inside iX’s safe areas, just like in the landscape mode. Modifying y positions is for more precise stuff, like, place a banner a little bit closer to tabbar or something, yknow.