You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While testing an integration in AMP environment, I encountered the issue of it not resizing the iframe. It turns out that the isSafeFrame check does not work for the forced SafeFrame by AMP.
The moment SafeFrame is being enabled in GAM, the detection works.
Describe the bug
While testing an integration in AMP environment, I encountered the issue of it not resizing the iframe. It turns out that the
isSafeFrame
check does not work for the forced SafeFrame by AMP.The moment SafeFrame is being enabled in GAM, the detection works.
prebid-universal-creative/src/environment.js
Lines 26 to 28 in 907ca91
The only workaround seems to be to create dedicated line items and creatives for AMP, which has SafeFrame enabled in GAM.
It might make sense to always send the resize message for AMP, if there is no possibility without SafeFrame.
prebid-universal-creative/src/mobileAndAmpRender.js
Line 65 in 907ca91
To Reproduce
Steps to reproduce the behavior:
isSafeFrame
, in amp.jsExpected behavior
Outgoing AMP
embed-siz
message when the creative does not have SafeFrame checked.The text was updated successfully, but these errors were encountered: