AMP

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.

Benötigst du noch Hilfe?

Du hast dieses Dokument mehrmals gelesen, hast aber immer noch Fragen? Vielleicht hatten andere Nutzer das gleiche Problem: Schau doch bei Stack Overflow vorbei und lass dir von ihnen helfen.

Zu Stack Overflow wechseln
Möchtest du einen Bug oder ein fehlendes Feature melden?

Das AMP Projekt ist auf deine Teilnahme und deine Beiträge angewiesen! Wir hoffen natürlich, dass du dich aktiv an unserer Open Source Community beteiligen wirst. Aber wir freuen uns auch über einmalige Beiträge zu den Themen, die dich besonders interessieren.

Zu GitHub wechseln