I’ve managed to get leadbolt (my affliate link) ads working on my apps and so far i’ve seen a good increase in revenues over the various alternative networks. Their ECPM seems to be around $1 allthough I’ve seen a fair bit higher and somewhat lower on indvidual days.
The code I’ve been using is based around the admob code found on these forums.
So here’s the various bits of code needed to get leadbolt working
place the following in a file called ad.html and place inside the root of your aps folder
br\> "http://www.w3.org/TR/html4/loose.dtd"\>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<title>ad</title>
<script type="text/javascript" src="http://ad.leadboltads.net/show_app_ad.js?section_id=your_app_id"></script>
[/html]
Replace your_app_id with your own leadbolt app id.
Then place the following 2 functions in your main.lua
function showAd(event)
if not string.find(event.url, "ad.html", 1, false) then
system.openURL(string.gsub (event.url, "Corona:", ""))
else
return true
end
end
function adSpace()
native.cancelWebPopup()
native.showWebPopup(0, 436, 322, 48, "ad.html", {baseUrl = system.ResourceDirectory, hasBackground = false, urlRequest = showAd})
end
Then just call adspace() to call the ads, I put it on a timer so
timer.performWithDelay(30000,adSpace,0)
so that will refresh the ads every 30 seconds, I’ve not noticed any slowdown in my aps, but obviously test, test, test.
Ap approval with leadbolt is straight forward, I upload my apps to my own host and get approval done on those before updating on the Android play market. I’ve also not seen any inappropriate ads, or had complaints of inappropriate ads, through android market reviews. Fill rates are unpublished but comparing ad counts with my own stats they seem to be pretty good, but either way I’m earning more money through leadbolt than any previous network, and I’ve tried all the usual suspects.
Full Disclaimer: I’m not connected to leadbolt in anyway, but the link above is my referal code, using this link won’t affect your revenues in anyway, but I do get rewarded, so if you do signup up using my link I would be very grateful.
[import]uid: 36590 topic_id: 27261 reply_id: 327261[/import]