Quick Links: Download Gideros Studio | Gideros Documentation | Ultimate Guide | Gideros Development Center
Ads in HTML5 games - Gideros Forum

Ads in HTML5 games

totebototebo Member
edited February 11 in General questions
Has anyone successfully used ads in HTML5 games exported from Gideros? It would simplify monetising games on sites like itch.io.

A plugin for AdSense is probably a good start:
https://support.google.com/adsense/answer/7170212?hl=en

Comments

  • hgy29hgy29 Maintainer
    Accepted Answer
    @totebo, AdSense plugin actually exists for HTML5/Gideros, you should have received it as part of the KS rewards several months ago...

    I reckon it should be released publicly now, along with Facebook plugin for HTML5...
    +1 -1 (+4 / -0 )
  • I was a KS backer and don't mind it being released publicly - anyone object?
    +1 -1
  • Oh wow, you're probably right, but must have missed it! Look forward to playing with it.
    My Gideros games: www.totebo.com
    +1 -1
  • No objection here, even i will be pleased that it will benefit new comers. Maybe some of them will start to contribute even.

    Aye: Apollo14

    +1 -1 (+1 / -0 )
  • olegoleg Member
    where can I download the plugin?

    Aye: Apollo14

    +1 -1 (+1 / -0 )
  • SinisterSoftSinisterSoft Maintainer
    edited November 27
    Just add the ads plugin to the project plugins (right-click then add it). You can then double-click the plugin to tick various options. If you create a html5 player and upload it to a website then you can send to it from the editor to test things.

    Aye: oleg

    +1 -1 (+1 / -0 )
  • olegoleg Member

    You can then double-click the plugin to tick various options. .

    I do not have AdSense options.
    +1 -1
  • hgy29hgy29 Maintainer
    For HTML5 there is only one ad provider, AdSense, so just adding Ads plugin by itself is enough to add AdSense support, and it doesn't require export-time options.
    +1 -1 (+2 / -0 )
  • SinisterSoftSinisterSoft Maintainer
    edited November 28
    I think adsense is automatically included if you add the ads plugin.

    This is the bit regarding html5 export in the gplugin file ( this type of file describes what Gideros should do to add the plugin ):
     <target name="Html5">
    <template name="binaries" path="[[[sys.pluginDir]]]/bin/Html5"/>
    <template name="Activity" path="">
    <replacelist wildcards="gideros.html">
    <append orig="/*GIDEROS_DYNLIB_PLUGIN*/" by="&quot;Ads.js&quot;,"/>
    <append orig="/*GIDEROS_JS_PLUGIN*/" by="&quot;AdsAdSense.js&quot;,"/>
    </replacelist>
    </template>
    </target>


    Edit: I was typing this and looking for the code snip, but @hgy29 was faster! :)

    Aye: oleg

    +1 -1 (+1 / -0 )
  • olegoleg Member
    in adsense there are the following ad variations:

    1.Standard Instream: Non-skippable video ads
    2.TrueView: Skippable video ads
    3.Bumper: Six second video ads
    4.Fullslot:Skippable image and text ads

    which format supports Gideros?
    How do I specify an ad format in Gideros?
    +1 -1
  • I believe AdSense on HTML only supports static banners, but would also like to know if someone has tried it.
    My Gideros games: www.totebo.com
    +1 -1
  • Ninjadoodle Member
    edited November 29
    Hi guys

    I don't want to be a party pooper, but I would double check about the legality of putting Adsense inside games. AFAIK they have a separate program for this that you have to be accepted into (have to have a lot of traffic for this).

    I'm pretty sure that putting regular adsense inside a game is agains the TOS and might get your account suspended.

    Again, I could be wrong and things might have changed - but I would be careful as your Adsense account is hard to get back once they suspend it :(
    +1 -1
  • olegoleg Member
    edited November 29
    @Ninjadoodle you just submit your game to them for consideration, https://services.google.com/fb/forms/html5-adsense-for-games/


    "Monthly number of game plays" - not necessarily filled in

    Aye: antix

    +1 -1 (+1 / -0 )
  • Hi @oleg

    Thank you for letting me know, I didn't know you could do that.

    Did you have any games approved / is it hard to get them to accept games?

    Thanks again!
    +1 -1
  • olegoleg Member
    @Ninjadoodle

    games I have not sent yet
    I sent the sites - the sites approved quickly
    +1 -1
  • @oleg - Thanks for the info :)
    +1 -1
  • olegoleg Member
    oleg said:

    in adsense there are the following ad variations:

    1.Standard Instream: Non-skippable video ads
    2.TrueView: Skippable video ads
    3.Bumper: Six second video ads
    4.Fullslot:Skippable image and text ads

    which format supports Gideros?
    How do I specify an ad format in Gideros?

    the issue is still relevant
    +1 -1
  • Did you test it? What kind of ad is served?
    My Gideros games: www.totebo.com
    +1 -1
  • olegoleg Member
    @totebo I have not yet decided on a hosting for HTML5
    +1 -1
Sign In or Register to comment.