Browser games

Playable Ads: How They Work and How They're Built

A playable ad is a short, interactive HTML5 mini-game that runs inside an ad slot and ends with a call to action, usually to install an app. Instead of watching a trailer, the viewer plays a slice of the real game for a few moments. Building one well means distilling a core mechanic into a tiny, self-contained package that meets each ad network's technical rules and still feels good in the first seconds.

How a playable ad works

From the viewer's side, the flow is simple. An ad appears, often after a video or as a full-screen interstitial in another app. A hint shows what to do, the viewer taps or swipes, something satisfying happens, and an end card invites them to download the full game. Tapping the button opens the app store page.

Technically, the ad is a web page rendered in a web view inside the host app. The ad network's SDK loads it, tells it when it is visible and gives it a way to open the store. Most in-app networks support MRAID, the IAB's Mobile Rich Media Ad Interface Definitions, which is a standard JavaScript API for ads in mobile apps. Some networks add their own functions on top or instead, especially for the click-through. Playables are one of the formats covered by our HTML5 game and playable ad development work.

The technical constraints

Playables live under stricter rules than almost any other web content. The exact numbers differ between networks and change over time, so always work from each network's current specification. The kinds of constraints you will meet are consistent:

  • File size caps. Networks limit the total package size, and some limit the initial load separately. These limits are small compared with a normal web game.
  • Packaging format. Many networks want a single HTML file with every asset inlined, usually as base64 data. Others accept a zip with an index file.
  • No external requests. Most networks forbid or restrict loading anything from outside the package, which rules out CDNs, web fonts and analytics calls you would use on a normal site.
  • A specific click-through call. The store must be opened through the network's mandated function, such as MRAID's mraid.open() or a network-specific equivalent, not a plain link.
  • Lifecycle events. The ad should wait for the SDK to report it is ready and visible before starting, and pause when hidden.
  • Audio and orientation rules. Policies cover whether sound may play automatically, and many networks expect support for both portrait and landscape.
  • Content policies. The ad must represent the real product. Misleading gameplay can be rejected by networks and can fall foul of store and advertising rules.

Designing the first seconds

A playable has very little time to make its point. The design questions are different from those of a full game:

ElementWhat good looks like
HookSomething moving and readable on the very first frame, with no title screen
InstructionA single animated hand or arrow showing one gesture, not text paragraphs
Core mechanicThe one action that makes the real game fun, isolated and slightly exaggerated
PayoffClear feedback: particles, sound, a satisfying reaction within a moment of the first input
ChallengeA short ramp that makes the viewer want a little more, ending before they get bored
End cardGame name, icon, a strong visual and one obvious install button

A common pattern is to let the viewer "fail" near the end, then present the end card as the way to try again. Another is a short "win" that leaves an obvious next step unfinished. Both work best when they reflect what the full game actually offers.

How playables are built

We treat a playable as a small product with its own pipeline. The steps look like this:

  1. Pick the mechanic. Agree which moment of the full game sells it best. Mobile game marketers often already know from video creative which moments perform.
  2. Storyboard. Sketch each beat: first frame, prompt, first interaction, payoff, ramp, end card, and what happens if the viewer does nothing.
  3. Choose a lean tech stack. A light 2D renderer such as PixiJS, a stripped framework, or plain canvas code keeps the package small. A full engine export is usually far too large.
  4. Recreate the assets. Use the game's art, reduced and atlased for the size budget. Audio is trimmed to the few sounds that matter.
  5. Build an abstraction layer. Wrap ready, visibility, pause and click-through behind one small interface, so the same game code works on every network.
  6. Generate network builds. A build script inlines assets and produces each network's package from one source.
  7. Test in network tools. Most networks provide preview or validation tools. Test there and on real devices, both platforms, both orientations.
  8. Make variants. Change the hook, difficulty, colour or end card to create versions for testing.

Packaging checklist

  • Total size within the current limit for each target network.
  • Every image, sound, font and script inlined or bundled as the network requires.
  • No calls to external URLs, unless a network explicitly allows them.
  • Waits for the SDK ready and viewable signals before starting gameplay or sound.
  • Click-through uses the network's required function and correct store link per platform.
  • Pauses on visibility change and resumes cleanly.
  • Works in portrait and landscape, on small and tall screens.
  • Behaves sensibly if the viewer never interacts.
  • Passes the network's own validator or preview tool.

Measuring and iterating

Networks report metrics such as impressions, engagement, click-through and installs, though what they expose varies. Because you cannot usually add your own analytics calls, the main lever is variant testing: build several versions that differ in one way and compare them. Keep a log of what each variant changed so results turn into reusable lessons for the next creative.

Iteration speed matters more than perfection on the first version. A pipeline that can turn around a new hook or end card quickly is often worth more than one heavily polished build.

Common mistakes

  • Exporting a slice of the real game from its engine and finding it is many times over the size limit.
  • Starting with a menu or title screen instead of gameplay.
  • Text-heavy tutorials that viewers never read.
  • Using a normal link for the install button, which some networks block or fail to track.
  • Testing only in a desktop browser, where web view quirks do not appear.
  • Showing gameplay that the full game does not contain.

The size discipline here is the extreme version of making any browser game load fast. If you are choosing a renderer, see Phaser vs PixiJS vs Three.js vs Babylon.js. Playables also sit naturally alongside a mobile launch; our guide to soft launching a mobile game covers that stage.

When to bring in a studio

Playables reward specialist experience: knowing each network's quirks, keeping a reusable multi-network build pipeline and squeezing art into tight budgets without losing quality. If you need a steady flow of creatives or your first playable is stuck over the size limit, our playable ad and HTML5 development services can help. We can also build the full game itself through our mobile game development team.

FAQ

What is MRAID?

MRAID stands for Mobile Rich Media Ad Interface Definitions, a standard from the IAB. It defines a JavaScript API that ads use inside mobile apps to learn when they are ready and visible, and to open links such as app store pages through the host SDK.

Can I make a playable ad in Unity?

Some tools and services convert Unity content into playables, but a standard Unity web build is far too large for typical network limits. Most playables are built with lightweight HTML5 code using the game's art, which gives much more control over size.

How long should a playable ad last?

Long enough to show the core mechanic and a payoff, then move to the end card. Networks have their own rules about duration and when a close button appears, so check each network's current specifications when planning the pacing.

Planning something like this?

See how paxl.co handles browser & webgl games, or tell us about your project and we will reply within two working days.

Keep reading