Integrating ads in Libgdx html version

Anything about development not directly related to libgdx, e.g. OpenGL, Android APIs etc.

Integrating ads in Libgdx html version

Postby lazermann111 » Thu Feb 08, 2018 11:02 am

Hi guys!
I am working on .io game on libgdx, and trying to find out what is the approach on integration banner networks in html version of game. It seems that ligdx supports only mobile ads out of box. Any ideas?
Posts: 1
Joined: Thu Feb 08, 2018 11:00 am

Re: Integrating ads in Libgdx html version

Postby evilentity » Thu Feb 08, 2018 11:30 am

Libgdx doesnt support any ads out of the box. You always need to add relevant sdks on mobile. That said, html stuff is a pain.

Since you have control over entire page, it should be fairly simple. Add whatever ads you want in js and control them via jsni from the app. ... sJSNI.html
Looking for a freelancer? PM me!
Posts: 4461
Joined: Wed Aug 24, 2011 11:37 am

Return to General Development

Who is online

Users browsing this forum: No registered users and 1 guest