Whack thanks for helping. But the tutorial says I need to integrate the Leadbolt library. The zip file has a file named "libMopubLeadbolt.a". I have no idea how to integrate this library into my game. All other steps are achievable.
thesecretweapon No all you have to do is make a Leadbolt account then go to the APP TAB "Left Side Of Screen" make a HTML5 ad on there it will then give you a URL for the ad you just made and in that URL delete ".JS"
"Don't Worry" as you do not need to code this in anywhere!
Download the iFrame plugin then ad the iFrame object to your game, Make the iFrame the same size as your ad you made on leadbolt and place it where you want the ad to be shown during gameplay, and now on the properties in Construct 2 paste the ad code into where it says URL in the iFrame properties in C2.
When copied from leadbolt it will look like this below:
<script type="text/javascript" src="http://ad.leadboltmobile.net/show_app_ad.js?section_id=xxxxxxxxx"></script>
Cut it down to look like this:
http:// ad.leadboltmobile.net/show_app_ad.js?section_id=xxxxxxxxx
After taking out the .JS it should look like this Below this is what you should copy and paste in the properties of iframe ON C2! :
http:// ad.leadboltmobile.net/show_app_ad.section_id=xxxxxxxxx
Note: The X's will obviously be replaced with the section id for your specific ad
Also to note that leadbolt will not display ads during previewing through construct 2 so don't worry about it being broke if it says cannot display at this time, this is normal. if it does say 404 error in your iframe i would check to see if your ad URL is correct!
Method has worked great for me. i have been talking to the support team, they are trying to integrate interstitial ads but for a alternative
I am going to make a short tutorial video on this today or tomorrow! so i will let you know when it is up.