How do I implement admob using cocoon io?

Get help using Construct 2

Post » Thu Sep 28, 2017 5:47 pm

i followed tutorials online , made an admob account, copy pasted the ad unit id into the cocoon banner adds properties for android. For displaying them i have 2 events:
"On start of layout: load a banner add" and "on banner loaded:show banner add" . when i try to run the game i get this error:
"Javascript error!
TypeError: this.banner is undefined
http://localhost:50000/ATPAds_plugin.js, line 203 (col 13)

This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console."
if i disable the 2 events everything works fine and running it on android works fine aswell. Looking at forum posts about the error, somoene said that the error is normal and it doesn't matter because the game will work when compiled. I compiled it on cocoon.io, added this plugin "AdMob native Ads for Android cocoon-plugin-ads-android-admob" and compiled it. i installed the app and it only shows a black screen. Help me please!
B
8
Posts: 37
Reputation: 383

Return to How do I....?

Who is online

Users browsing this forum: 25games, Ashley and 27 guests