HTML5 banner build guide

Call MRAID methods

This information is for methods outside those available in the Studio Enabler or API. For core functionality like expands and exits, fullscreen, and video, always use the Studio Enabler or API to ensure metrics are properly implemented.

If you need to call an MRAID method that isn't supported by the Studio Enabler, use invokeMraidMethod. See the below code snippet for an example. Use this if you're running on a publisher that's using either MRAID 1.0 or 2.0.

// Invoking an mraid call and receiving the results.
    function(result) {
      console.log('Are pictures supported?', result);

To invoke an MRAID method, call the Enabler.invokeMraidMethod .

For more information about MRAID, see the IAB's Mobile Rich Media Ad Interface Definitions (MRAID).

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Clear search
Close search
Google apps
Main menu