The single-file playable
Inspect a compact single-file HTML5 playable ad with MRAID-compatible hooks, conversion flow, exact CSP hashes and device preview.
Keep the package self-contained
Inline the CSS and game script. Draw the visuals and synthesize sound with browser APIs. Avoid fonts, images, ad-network SDK scripts and libraries that require a fetch. SDK objects are injected by the host when it supports them.
Start, show the game, close with a call to action
Give a player one obvious gesture and reward it quickly. In the Pebble Ricochet demo, popping a golden prism starts a cascade. A three-shot limit takes the player to a score and an install or play action.
Choose the host bridge
Call the host that is present and let it open the configured destination. Test ready, viewability, CTA and replay behavior in each campaign environment. The iframe showcase receives telemetry from its own frame, which is useful before working inside a host SDK.
Validate the final asset
Compare the final package against the network’s current limits. Test from a file and from a strict web origin. Changing the inline CSS or script changes its hash, so regenerate the response headers after each build.