Hi Amir,
I work with Teejay and will try to assist you. Thank you for giving us a Charles log of the offset Creative. I was able to track down the creative and load it in a Chrome browser and found that the body of the creative is 268 pixels tall as seen in the screenshot. The slotsize set for the ad is 300 wide by 250 high. The image itself could be the right height yet the body could be bigger depending on measurements and templates used by the creative. This is a problem that has surfaced since Apple has recommended using WKWebView instead of UIWebView in apps. We have seen this problem where creatives that would appear correctly in UIWebView even with added pixels will not necessarily appear in WKWebView correctly. The problem is that the creative is too tall for the slot. GMA SDK had moved from UIWebView to WKWebView in 7.55.0, and in WKWebView sometimes the scroll bar doesn't start all the way at the top, thus seeing the cut off. Unfortunately we don't have any control over how WKWebView behaves.
We have also seen viewability measurements added to the creative that made the ad bigger.
A simple test for this issue is to isolate a creative with a line item for an ad unit Id, then add the Id to our sample
banner app and resizing the view to correct height. You will be able to use Safari developer features to see the size of the returned html of the ad.
As per why the issue is not reliably reproducible, it's because it seems to be a race condition with WKWebView as to whether the scroll starts at the top or not, but not scrolled down 100% of the time. The best guess is that when content is loaded dynamically the web view scrolls down to it, and the tracking pixels for example seem to be loaded dynamically.
A solution could be to contact the owner of the creative and have them update the creative to render at the correct size. They can be told that Google updated the Ad Manager creative templates to not generate any extra pixels. So if they use the Ad Manager default templates and don't add to the height with other viewability pixels of their own they should be fine. We are working on fixing the Campaign Manager templates to not have extra pixels. The latest I heard is that 20% of all traffic randomly is using the new templates and the expectation soon is to ramp up to 100%.
Another solution could be to downgrade your SDK version to 7.53.1 where we aren't using WKWebView. Updates to App Store apps with UIWebView are accepted until December, 2020. There are known tradeoffs with this approach though, but I have heard that a surprise benefit is that you can may be able to avoid a battery draining issue that started happening with WKWebView in background in iOS 13.5.1.
Kind regards,
Aryeh Baker