Developing an ad with MRAID.js

1.9k views Asked by At

I need to develop an ad that's MRAID compliant. I'll be hand-coding the ad in HTML5 and not using any authoring software with an MRAID SDK. According to the spec, mraid.js gets injected by the SDK where the ad is hosted. How do I get access to the MRAID functions to test when developing the ad? As far as I can tell there is no centralized library of functions for MRAID (like there is for jQuery), and its left up to the SDK developers to build these functions? Am I misunderstanding MRAID entirely? I have reviewed the spec and while it defines the properties of these functions, I'm still not really understanding how the initial mraid.js file would be compiled

-Matt-

1

There are 1 answers

2
Kesty On

You can test MRAID ads using the MRAID Test Page here: http://webtester.mraid.org/

It's good for basic testing of your ad. You may want to do some testing on actual devices which you can do on mopub.com.