How to Create IronSource Playable Ads in 2DKit

Follow these steps to create and publish playable ads for IronSource.


This guide will show you how to create and publish playable ads for IronSource ad network (DAPI or MRAID) with 2DKit in just a couple minutes.

The total file size of this playable ad, a Shoot ‘Em Up game will be 239 KB (without gzip).

Sample Project

Handling the Call to Action

Handling the call to action with an Action in 2DKit Creator.

Drag the NotifyAdClicked action from the ez package folder.

This will call dapi.openStoreUrl().

A good place to put this call to action is in an end card game over screen.

Handling the call to action with code.

Add the following code to your game to handle the call to action.


This will call dapi.openStoreUrl().

Publishing the Ad

To publish select the following menu option in 2DKit Creator:

Build->Playable Ads->Publish IronSource Playable Ad

2DKit will handle building the output in a way that is consistent with IronSource requirements, including the DAPI format.

In addition 2DKit will also automatically optimize all files in a way that typically results in a 70-90% reduction in file size.

In the received zip file, unzip and locate the folder named dapi-ad.

The single index.html is what you should use.  It has all assets included in it.

If you prefer IronSource’s MRAID option you can also publish using Publish MRAID Playable Ad from 2DKit’s build menu.


To test go here and select the DAPI option and follow the steps to verify that the exported build meets IronSource’s requirements.  This tool also allows you to verify that the CTA click will properly go to the app store.


After testing is complete follow the steps here to submit your playable:

Relevant Classes