ORTB
MRAID 分册导航

2.0 → 3.0 变更

本页目录
数据状态:人工整理稿(first-draft)。官方无机器可读源,与官方原文如有出入以官方 PDF 为准;溯源见 data/mraid-spec/PROVENANCE.json。

新增9

新增
对象描述
MRAID_ENVHost-provided global object with environment details (version, vendor, supports, placementType, positions, sizes), set before mraid.js loads — reliable MRAID detection and early initialization.
exposureChangeExposure percentage, visible rectangle and occlusion rectangles — the correct basis for viewability measurement.
audioVolumeChangeAudibility measurement: volume changes delivered to the ad.
openOpen URLs / deep links outside the ad (external browser, in-app browser, other apps).
unloadGraceful self-unload and host notification for broken or unwanted ads.
setOrientationPropertiesControl device orientation behavior (with getOrientationProperties).
getCurrentAppOrientationRead the current app orientation and lock state.
getLocationDevice location access behind the location supports feature.
initVpaidVPAID appendix integrated: optional host bridge for MRAID+VPAID creatives.

废弃5

废弃
对象描述
isViewableKept for compatibility; superseded by exposureChange.
viewableChangeSuperseded by exposureChange.
useCustomCloseHosts always provide the close control; customClosePosition governs placement.
playVideoUse open() instead.
expand(url)Two-part creatives remain compatible but new 3.0 features do not support them.

变更1

变更
对象描述
initializationExplicit guidance for pre-loading and ad readiness: hosts detect ad readiness before showing interstitials, avoiding blank-screen experiences.
内容忠实于 IAB Tech Lab MRAID 3.0 官方规范(CC-BY 3.0);规范收录数据为英文原文,译文为机器生成初稿(draft)。 · API 参考