How do I show adsense ads in my application?

Get help using Construct 2

Post » Sun Jun 07, 2015 8:26 pm

Hello,
I'm hitting somewhat of an snag trying to display an ad from adsense using the plugin "HTML_Div_Pode"
So far i have placed the div object down and set it to the size of the ad, i have tried to set the inner HTML from the objects properties (no luck) and at start of layout.

Both of these gives the same result; Nothing
The div gets the content but nothing is displayed :s

Due to this im hoping someone have had success integrating ads from adsense on here and can help me out eather with this method or another way!

Thank you for your input!
B
15
S
3
Posts: 25
Reputation: 824

Post » Sun Jun 07, 2015 8:35 pm

Most likely it is blocked by Google. They don't want Adsense in games.
https://developers.google.com/interactive-media-ads/
They don't really have anything for html5 as of yet.
Best option is to place an ad somewhere in the index.html. The exporter has a template for that already.
Btw adblock would block it in game anyway if the user has it.
Image ImageImage
B
171
S
50
G
180
Posts: 8,394
Reputation: 113,982


Return to How do I....?

Who is online

Users browsing this forum: Coren8r, Yahoo [Bot] and 28 guests