libGDX HTML5 Adsense tutorial

Anything libgdx related goes here!

libGDX HTML5 Adsense tutorial

Postby abecko » Mon Sep 02, 2019 1:53 pm

Is there any tutorial, how to integrate adsense ads into libGDX HTML game?

Currently I have AdInterface for Android and iOS and expect it to work similar way with AdSense and web. But I havent found any tutorial related to libGDX and Adsense.

Can I have any help?
abecko
 
Posts: 2
Joined: Mon Sep 02, 2019 1:50 pm

Re: libGDX HTML5 Adsense tutorial

Postby shatterblast » Mon Sep 02, 2019 5:05 pm

I believe AdMob would be the preferred way to go. To my understanding, the same ad publisher handles it. I haven't included it in my own project, though. You can find two references below for integrating AdMob into your project.

https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx

http://www.norakomi.com/tutorial_admob_introduction.php
shatterblast
 
Posts: 414
Joined: Sun Jul 06, 2014 1:14 pm

Re: libGDX HTML5 Adsense tutorial

Postby abecko » Tue Sep 03, 2019 7:23 am

shatterblast wrote:I believe AdMob would be the preferred way to go. To my understanding, the same ad publisher handles it. I haven't included it in my own project, though. You can find two references below for integrating AdMob into your project.

https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx

http://www.norakomi.com/tutorial_admob_introduction.php


I mean, I've already implemented AdMob for Android and iOS and have app in all stores.
Now, my boss want implement HTML5 version of games, with web ads. As I saw, AdMob is only for native apps, and you should use "AdSense for games" - https://support.google.com/adsense/answ ... ic=1705821.

Any ideas maybe? :)
abecko
 
Posts: 2
Joined: Mon Sep 02, 2019 1:50 pm

Re: libGDX HTML5 Adsense tutorial

Postby shatterblast » Tue Sep 03, 2019 4:38 pm

To my knowledge, you have to go the the subscription or paid DLC route with Desktop or similar if you want to expand past making money on Mobile. AdMob really will go so far as to disable their ads and temporarily lock your account with them if they detect both the lack of Mobile and you forcing their ads out.

Otherwise, maybe you can learn something else on LibGDX's Discord server.
shatterblast
 
Posts: 414
Joined: Sun Jul 06, 2014 1:14 pm


Return to Libgdx

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest