Our iOS app has started running into strangely rendered interstitial ads, where the same implementation seems to have worked fine in the past. The following interstitial is being served in our production app (see: attachment 1). Note that the close button, while incorrectly placed, is actually functional.
This issue is reproducible in a testing environment, and after debugging the view hierarchy in Xcode, it appears that the GADOAdView is given the correct frame, but the GADOVideoPlayerView has an incorrect frame (see attachments 2 and 3). The
UIViewController that is presenting this interstitial is confirmed to have the correct frame (a print statement of the frame right before
ad.present(fromRootViewController: self) reveals a frame of
(0.0, 0.0, 375.0, 768.0) on an iPhone X, which amounts to the total screen size).
The occurrence of this issue seems to be dependent on the ad unit ID, because serving ads using the provided test ad unit ID (DFPInterstitial(adUnitID: "/6499/example/interstitial")) renders the test ad correctly (see attachment 4).
General information:
SDK version: 7.34.0
Tested on: iPhone X (iOS 12, real device)
Relevant ad unit ID: Will provide privately upon request
Any more information that may benefit us in finding the origin of this issue:
1) While the modal presentation of the ad is animating in, the cross button originally comes in at the top-left corner. Only once the ad is fully in view does it screw up its sizing and positioning.
Any information that may help resolve this issue is highly appreciated. Thank you.