iPhone X AdMob Ad Rendering Question!

Thanks for testing!  Now there must be something fishy at my end then, if it’s not working on the iPhone X only.  I hadn’t tried test mode, I had it disabled but it seems to work for you. Have you also tried the banner in landscape orientation?  I do not have the Corona software with me now.

To the rest of the people – has anyone else tried this yet (non-Corona staff)?

Ya, I didn’t include it since I thought that this is redundant, but for me everything is fine in landscape too. Well, the position looks weird and that’s one point to look for in the future update, but banners are at least displaying.

Don’t worry, dislam, we’ll figure it out together. And as I said, it’s no problem to update our plugin before deadline, I just have to figure out what exactly is wrong now to insure that simple sdk update eliminates all the issues.

Hi @karpovpw, i just wanted to clarify, so displaying the banner in the test screenshots you provided, you did not set any Y value for when showing banner? simply top or bottom and the result came out as you showed without having to get the insets and setting the Y of the banner?

I’m guessing it’s:  y = screenHeight - safeYFromBottom

If you use y = “bottom” it will stick to the bottom of the screen and be obscured by the gesture bar.

BTW @karpovpw can you share how you set up the ad?  i.e. the init, adListener and display routines?

Hi dislam and chris_raz,

This is just a sample from our admob plugin. You can download it and check everything for yourself. I guess, I can just pin it here for everyone’s convenience. You can even play with it a little.

In the mean time, can you explain to me, what problem do we need to solve exactly, besides:

  1. Obvious sdk update;
  2. Fix landscape iPhone X banner location.

Well, to think twice, I guess, I can implement safe area layout update for portrait mode too, since, well, you CAN modify y value of banner position in show() method, but with the safe area it would have more consistent look on all devices, including iX.

Oh, and I guess that admob sdk update isn’t ready yet, since on their doc page that you’ve mentioned, it says: “We will update the release notes and this documentation page when this change is available. Last updated October 18, 2017.”

Hi @karpovpw, thanks for sharing.  At the moment, I need to confirm two things

  1. Whether this is a common problem among other developers running Xcode sim for the iPhone X (still waiting for someone else).

  2. Whether my ads work if I modify my adMob code to match your implementation.  I’ll try to work on this tonight and respond afterward.

OK, I just tried the example app you attached.  I had to include my own Images.xcassets folder for it to build successfully and to launch in the Xcode simulator for iPhone X.

Now, when hit the “Load” button for the Interstitial or Rewarded ads, the green light comes on and I can “Show” the ads.

However the same is NOT true for Banner ads.  The green light never comes on!  Strange that it works for you.

EDIT:  Never mind, solved it!   I thought I had been using XCode 9.1, but in fact I had 9.0.1.  I updated it, and now I can see the banners!  Haha!   

Sorry to waste any of your time but I appreciate the help!

We’re here to help you. Ask whatever question you need and share your rough goings - we’ll be glad to help you. Great news that everything is working fine for you now.

One of the main points of future update will be to maintain existing user’s code. You do not need to change anything with new update, things will just be working on the iPhone X.

And yea, the latest sdk update on Google’s side was 2017‑10‑25, but still no iPhone X specific interstitial/r.video layouts.  -_- 

One of the main points of future update will be to maintain existing user’s code. You do not need to change anything with new update, things will just be working on the iPhone X.

What does this mean for apps updated with Xcode 8.3.3 and Corona 3126? I have no interest in updating my apps.

Will banner and interstitial ads be served on the iPhone X? If the banner ads are served on the iPhone X, are they served in the safe region?

I can answer this questions only when admob release their new update for iX, since that is fully on admob’s side of things, how they’re going to implement it. We may be doing something like this: leave old admob plugin available on old corona sim versions (like, older than 3167, since it already requires xcode 9 to work properly) and new admob plugin with updated sdk will be available on new versions.

But admob position right now is unclear: you must  use safe area for iX (that feature is available only on xcode 9 and later) before 20 Nov. But what if you don’t update it and just stay on an older sdk version? Not sure about that as of right now.

We’ll figure it out.

Oh, actually I can answer one of your question: 

Definitely no. I’m sorry to say that, but, as I already noticed, that feature is only for xcode >=9 platform sdk.

Thanks for the prompt reply.

bellissimo posts here about banners:

http://iphonedevsdk.com/forum/business-legal-app-store/123689-why-dont-apple-devs-get-iphonex-delivery-priority.html

Mention of compatibility mode?

My Corona apps were compiled using iOS 10 / Xcode 8.3.3 and Corona 3126

I suppose the KEY question is for those (including myself) who do not wish to update is: What will happen to existing apps that attempt to serve a banner ad on iPhone X? From your reply above, the banners will not be served in the safe region. But, will the banners be served at all on iPhone X?

If the answer is no (and I hope the answer is no, as the banners will not be served in the safe region) then perhaps AdMob will allows apps to continue serving ads after November 20th?

I hope AdMob will not be draconian and discontinue all ad serving en masse of those developers who do not update. 

Well, you now, actually, I totally forgot that your apps are already built with iOS 10 platform sdk and thus will be shown on iX in, as you say, compatibility mode (mostly like that was on an i4S -> i5 era). Admob can be picky and change banners (maybe inter/r.video) logic on their older sdk (like, stop showing ads altogether or something), but my personal thought is that banners will be shown in this compatibility mode too, like, the whole app with the banners inside will be just 16:9 and if it works well for i8, it will be looking exactly like tht on iX (except fro obvious borders on top and bottom).

Apple itself are pretty picky about this stuff too, but for now it’s just not recommended to use this compatibility mode. Sometime in future this design may become forbidden and apps will be forbidden to update/released new. We’ll see.

I just want to mention that when the device is in landscape mode on the iPhone X (with the notch on the left side), I notice that those banners ads are shifted a bit to the right. They are not lined up against the left edge of the bezel. So any Install buttons that are on the right side of the banner are only shown partially.

I don’t have a screenshot at the moment but I hope you know what I mean.

Hogletpie,

I’m in the same position as you are. At the moment, I do not want to update any of my iOS apps because one of them were flagged for 4.3 design spam. I emailed my admob representative to ask if on the back-end admob can turn off ads served to iPhone X devices for my account, because I cannot update my iOS apps for the time being. It’s been a week since my email and I haven’t gotten a reply, even though they usually reply to me the same day or next day. I’ll keep you posted if I hear back from them.

Of course, because new plugin update hasn’t been released yet.  ;) All layout inconsistencies will be fixed on all devices.

@karpovpw - thanks for the reply. I will watch with interest what happens on the 21st November - the day after their “deadline” date. I suspect even AdMob aren’t sure how they will respond as yet after the 20th…?

@sararose - that’s most interesting. I feel that many will not update due to Apple reviewers’ arbitrary interpretation of the guidelines. I’d be interested to know what reason you gave AdMob for not updating (if you gave them a reason at all).

It really does make sense for AdMob to continue to serve ads to all devices and simply switch off those ad requests from iPhone X (for those developers who have not updated). Alternatively serve the ads for iPhone X (assuming that the app displays with black bars). The nightmare scenario is AdMob simply flicking a switch and stopping all ads being served for all developers who have not updated.

I have the option to remotely switch ad providers without updating. I really do not want to do that. Not only will I lose banners across all my apps but no network (in my experience) comes close to AdMob. 

It pains me to be even having this discussion about not updating. Apple are a dictatorship and completely unpredictable with their review guideline interpretation. Many developers have posted in several forums about the “spam rejection” and “put all related apps into a container app” rejections. It’s caused great anxiety and consternation for many! Rant over! :wink:

@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