Do you build things with AMP? Fill out the AMP Developer Survey!

Important: this documentation is not applicable to your currently selected format stories!



Supports interaction with the MRAID host API within Ad webviews in mobile apps

Required Scripts

<script async custom-element="amp-mraid" src=""></script>


When the amp-mraid extension is included in an AMPHTML ad it will load mraid.js and register MRAID functions as host services. This allows amp-analytics, amp-ad-exit, and amp-lightbox to operate in mobile app ads.


The amp-mraid extension is intended for AMPHTML ads. It is intended to be injected by the ad network after validation, and as such a creative with amp-mraid will not validate.


您多次阅读的资料未能涵盖您的所有问题?也许其他人也这么觉得 在 Stack Overflow 上与他们取得联系。

前往 Stack Overflow
找到一个 bug 或者缺失某项功能?

AMP 项目强烈鼓励您参与其中并作出贡献!我们希望您能成为我们开源社区的持续参与者,但我们也欢迎您对热衷问题做出单次贡献。

前往 GitHub