# Creatives > MRAID

Source: https://help-display-sdk.equativ.com/creatives/mraid.html

---

## What is MRAID?

MRAID or _Mobile Rich Media Ad Interface Definitions_ is the common API for rich media ads that will run in mobile apps. This API is defined by the _Interactive Advertising Bureau_ (IAB).

You can find more information about the MRAID API [on the IAB website](https://www.iab.com/guidelines/mraid/). You can also look at [the complete MRAID 3.0 specifications](https://www.iab.com/wp-content/uploads/2017/07/MRAID_3.0_FINAL.pdf) for more details on the API available and how to use them.

## MRAID support

The **Equativ Display SDK** supports **MRAID 3.0**.

Here is the list of the main supported features:

| Feature | Supported | Additional Information |
| --------- | :---------: | ------------------------- |
| Expand | Supported | |
| Resize | Not supported | *An call to mraid.resize() will be ignored starting with the SDK 8.0* |
| Close | Supported | |
| Unload | Supported | |
| URL Open | Supported | *URLs will be opened as post click modals* |
| Custom close button | Not supported | *The SDK close button will always be displayed in top right position* |
| Viewability events | Supported | |

## Implementation details

### Viewability events

The viewability events will be emitted:

* when the ad view is added or removed from the view hierarchy
* when the ad view is moved in or out of the screen
* when the keyboard is displayed on top of the ad view
* when an interstitial ad is shown or closed
* when the app goes into background or foreground

### MRAID close & unload

Calling the `mraid.close()` method will have a different behavior on banner and interstitial:

* **Interstitials:** the interstitial will be closed immediately, even if there is an ad countdown running.
* **Banner:**
    * If the banner is _expanded_: the ad expand will close and go back in its initial container
    * If the banner is _not expanded_: the close will be ignored

Calling the `mraid.unload()` method will close the interstitial and will destroy the currently displayed ad in a banner. Note that the banner view will not be removed and will stay empty in the view hierarchy.

### Old / unsafe MRAID features

Some older and/or unsafe MRAID features have been removed in the SDK 8.0, including:

* `mraid.storePicture()`
* `mraid.playVideo()`
* `mraid.createCalendarEvent()`

### Custom MRAID features

The custom API `sasSendMessage` has been removed in the SDK 8.0.
