Documentation

User Acquisition

Playable specifications

Review the build and MRAID requirements for playable creatives with Unity Ads.
Read time 12 minutesLast updated 8 days ago

A playable is a short interactive experience that gives players an impression of what your game or app is about. Playables run inside the Unity Ads webview, either as a standalone playable ad or as a playable end card after a video ad. For recommendations on how to design playables that engage players, refer to Playable best practices.
For the details of each requirement, refer to the linked section. Every playable creative must meet the following requirements to pass moderation:

Requirement

Summary

A single minified
index.html
file less than 5 MB, with all assets inlined, that runs on Android 5 or later and iOS 13 or later
One responsive build for portrait and landscape, with interactive content clear of Unity's controls
Respects the iOS mute switch, stops audio when the ad isn't viewable, and hides native video controls
No network requests at runtime, and no attribution events of its own

Build requirements

Build requirements describe how you package and code the playable file itself, including its file format, layout, audio, and network behavior. Your playable file must meet the build requirements in the following tabs:

File requirements

The device downloads only the HTML file from the content delivery network (CDN), and Unity Ads ignores anything outside that file. Your playable file must meet the following requirements:

Requirement

Specification

File format
A single HTML file (
index.html
)
File size
Less than 5 MB
Asset encoding
Every image, audio, and video asset inlined as base64 data
Asset references
No references to other files, folders, or assets through relative paths or remote URLs
Note
A playable that works locally but shows a blank screen in the ad unit usually still references an asset by path or URL.
Minification
Whitespace removed and names shortened
Minimum operating system version
  • Android 5 or later
  • iOS 13 or later

MRAID requirements

Playables must support Mobile Rich Media Ad Interface Definitions (MRAID) 3.0, the common API for rich media ads that run in mobile apps. The Unity Ads webview injects MRAID, so your playable doesn't need an MRAID script tag. For the full specification, refer to Mobile Rich Media Ad Interface Definitions (MRAID) (Interactive Advertising Bureau).
Your playable must meet the MRAID requirements in the following tabs:

MRAID feature support

Unity Ads supports only MRAID 3.0 full-screen ads.
Ensure that your playable doesn't use any of the following unsupported MRAID features:
  • expand
  • resize
  • Custom close buttons
  • sms
  • tel
  • calendar
  • storePicture
Custom close buttons aren't supported because the Unity Ads SDK controls when players can close or skip an ad.

Additional requirements

Playable end cards, gambling creatives, and playables for iOS apps must meet the following additional requirements:

Playable end card requirements

A playable end card is a playable that runs after a video ad. Playable end cards must meet all the build and MRAID requirements for playables.
Additionally, playable end cards must include a call to action (CTA) button that opens the Google Play store or Apple App Store.
Note
A playable end card can start at the same time as the video in the creative pack.