Ads Across Targets

Monkey Forums/Monkey Programming/Ads Across Targets

c.k.(Posted 2013) [#1]
Do we, the community of monkey programmers, have any code that will display ads across all targets? I want something that will pull for HTML5 and Android right now, but iOS and Flash won't be far behind, and I'd love to not have to make adjustments in each target's specific build process. Know what I mean?

Thank you!


Tibit(Posted 2013) [#2]
It is more a service problem than a programming problem.

Those that pay for your Ads usually don't support all those platforms and those that support more than one usually does not have a good fillrate or eCPM on the others.

At the end of the day you can question why use ads in a game if they return little to no profit.

And so you end up using different providers for different platforms anyway.

Haven't done flash myself yet, but I think those I have looked at "wrapped" the codebase so I don't have to integrate anything.


c.k.(Posted 2013) [#3]
I'm wondering if we shouldn't develop an API, then be able to just plug-in modules for the various platforms.

getAd() would work on any platform, because if you're on Android, it accesses Admob, on iOS, it accesses iAds, and on HTML5, it accesses... uh... whomever works on HTML5!

[monkeycode]
Import xplat_ads
...
#If TARGET="html5" Then
Import ads.html
#End
...
init_ads()
get_ad()
...
[/monkeycode]

etc...