How do I insert custom code from MoPub

Get help using Construct 2

Post » Tue Apr 29, 2014 11:17 pm

I want to insert full screen ads from MoPub. The provided code snippet is

Code: Select all
<script type="text/javascript"><!--
    mopub_ad_unit = "??????????????????????????";
    mopub_ad_width = 320; // optional
    mopub_ad_height = 480; // optional
    mopub_keywords = "custom keywords"; // optional
    //-->
</script>
<script src="http://ads.mopub.com/js/client/mopub.js"></script>


Is that possible? I am using Ejecta to export to iOS.
B
4
Posts: 8
Reputation: 246

Post » Tue Apr 29, 2014 11:24 pm

You would need to download the SDK and include it in Xcode.
https://github.com/mopub/mopub-ios-sdk/wiki

It would be much easier to just use CocoonJS since Mopub is the ad network they support anyway.
B
100
S
32
G
11
Posts: 1,552
Reputation: 21,612


Return to How do I....?

Who is online

Users browsing this forum: el3um4s and 8 guests

cron