Important: this documentation is not applicable to your currently selected format websites!
amp-mraid
Description
Supports interaction with the MRAID host API within Ad webviews in mobile apps
Required Scripts
<script async custom-element="amp-mraid" src="https://cdn.ampproject.org/v0/amp-mraid-0.1.js"></script>
Overview
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.
Validation
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.
Você já leu este documento várias vezes, mas ainda ficou com dúvidas sem respostas? Talvez outras pessoas pensem da mesma forma. Procure entrar em contato com elas no Stack Overflow.
Ir para o Stack Overflow Encontrou um bug ou sente falta de um recurso?The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.
Ir para o GitHub