Thank you!
Of the big marketing examples of playable ads that circulate around blogs and industry news, it seems like the ads that are not linked to an app, either partner with an ad platform for a custom solution, or are absolutely enormous brands that can get exceptions with the bigger ad networks. We’ve been reaching out to different networks and checking if there are any running betas or pilot programs for playables that don’t promote only an app.
Absolutely! Google seems to be a bit more lenient with Playables than Facebook in some ways, but have stricter requirements in others.
They do allow for external libraries, if they’re on the approved list.
All code and assets must be referenced using a relative path to resources included in the .ZIP file.
No external references are allowed except references to:
- Google Fonts
- Google-hosted jQuery
- Google-hosted Greensock (files should work regardless of version)
- Google-hosted CreateJS
Ultimately, all we had to do to pass Google’s tests were to ad three lines of code to the one-page generated file, using the settings from the Facebook file.
The first was to define the orientation of the ad:
<meta name="ad.orientation" content="portrait">
Next was the size (We just used the recommended size from the guide above:
<meta name="ad.size" content="width=320,height=480">
And finally, we included the ExitApi before the app
<script type="text/javascript" src="https://tpc.googlesyndication.com/pagead/gadgets/html5/api/exitapi.js"></script>
Naturally, this required changing our button event to call ExitApi.exit(); //Custom locations are no longer allowed
to trigger the CTA.
I’m traveling today, so my hands are a little full, but I can take a look tomorrow at submitting a PR. I suppose the questions that would remain would be whether it’s preferred to require the user to define the actual ad size, or just the orientation and then just default to Google’s recommendations based on the orientation provided. I would assume that selecting a google configuration would just automatically include the ExitApi as a requirement.