Got Admob working for Android :)

@ shark.androidlab
I think that they look more closely at the number of requests that you have.

I just had a look at your statistics that you posted in reply #136.
You have over 200k requests? WHOA! That’s a lot of requests! Over how many apps?
I also see that your CTR is extremely low (0.08%). From that alone it looks like you’re changing ads every few seconds. Have your changed the default refresh-rate of 30 seconds to something very low?

I only have one app using AdMob (It’s developed with Xcode, and I’m using the official AdMob SDK).
Per day, I have on average 8k requests, 99% fill-rate and a CTR of 1% (30s refresh rate).
With that I have a revenue of around $3/day.

[import]uid: 70847 topic_id: 8021 reply_id: 77536[/import]

fyi my CTR is between 1 and 1.5% usually. [import]uid: 8872 topic_id: 8021 reply_id: 77558[/import]

@kam187

Yeah, from my experience that’s what I would consider a normal CTR.
I think that’s why @shark.androidlab got blocked. Way too many requests/impressions with very few actual clicks. [import]uid: 70847 topic_id: 8021 reply_id: 77569[/import]

Dears,
I also have Admob running on my apps and it is working fine.
However I tried to set a house ad campaign to cross promote my own apps and it didn’t work.
I wonder if house ads campaigns do not work for Corona apps as they don’t go through the regular Admob adherence process that requires the Admob api.
Has anyone tried to set a house ad campaign for your aps? Is there any trick to make it work?

ps.: I would be interest to cross promote other publishers apps. I currently generate 2MM ad requests/ day on android.

Thanks for any help you guys can provide.
Best!
[import]uid: 75921 topic_id: 8021 reply_id: 81588[/import]

@luis.zlochevsky

Contact me offline for some cross-promotion help. We have our own network we’ve used for the past couple of years and are interested in opening it up to the public. It proves quite effective…

Best,
Richard [import]uid: 9046 topic_id: 8021 reply_id: 81594[/import]

Richard, thanks for replying. What’s your e-mail and Skype address? Best! [import]uid: 75921 topic_id: 8021 reply_id: 81857[/import]

Contact me offline at http://moonbeamdevelopment.com/?name=Contact and we can get going.

Richard
[import]uid: 9046 topic_id: 8021 reply_id: 81865[/import]

Hey, I just coded an ad mediation module which supports admob, inneractive, inmobi, herewead and house ads. My admob implementation mimics latest admob sdks http requests instead of using some hacky web html ad container. So you will get the best fillrate possible from admob.

Please check it out

Ad Mediator for Corona:
http://developer.anscamobile.com/code/ad-mediator-corona

Documentation:
https://github.com/deniza/Ad-Mediator-for-Corona/wiki/Documentation

[import]uid: 11686 topic_id: 8021 reply_id: 88361[/import]

deniz, you beat me to it!

I STRONGLY recommend everyone switch to deniz’s module. The only reason not to, is for your old 319 builds. The fill rates with this html hack are all over the place. [import]uid: 8872 topic_id: 8021 reply_id: 88363[/import]

This looks VERY promising!
Thanks for the share.

Once I have some spare time I’ll be attempting to create a Mobclix plugin (if nobody beats me to it).
[import]uid: 70847 topic_id: 8021 reply_id: 88380[/import]

LunarAds (http://lunarads.com) is a server based ad model that currently supports admob, leadbolt, leadbolt app walls, and tapit ads. This week we are adding Pontiflex ads and a couple other ad new networks as well.

Our model is “One SDK to Rule them all” and is tailored to Corona users. Our belief is simple, why use multiple ad network SDK’s in your app source code and have to do imminent app updates to support newer network SDK’s? Just use one (LunarAds) and support all of them in one bang!

Using Lunar Ads
Using our system is a snap. Simply login at http://LunarAds.com, create a new app channel, specify which ads networks you want that app to run (including your own in-house ads), then put the Lunar.lua file in your project folder and call it from any Corona page with a simple require statement. You can adjust which ad networks you want to use at anytime, and our list is growing rapidly - by the end of February we will have over 8 ad networks to choose from!

Reporting
LunarAds also keeps track of the following analytics for you for each app channel you create as well;
Deviceid
Screen width
Screen height
OS build
Lunar channel
Device IP
App Version

With our reporting engine, you can instantly grab valuable information about how your app is being used.

Google Analytics
Want more? How about using Google analytics tracking inside your app as well?
No problem, just select your channel to use Google tracking code and specify the code channel provided by Google, and you can instantly send tracking stats to Google servers and watch real time data.
[import]uid: 9046 topic_id: 8021 reply_id: 88465[/import]

Just dropping a note to let everyone know about some awesome changes to LunarAds.

We now support multiple mobile ad networks and app cross promotion at the same time!

You can select your app to run Admob, Leadbolt, Tapit, Pontiflex networks, and cross promote with other developers! And if that is not enough, turn on Google Analytics for your app with the click of a mouse and watch your app being used in real time!

Also - we’ve added a new feature to make things a bit more fair when it comes to cross promotion. We are now tracking the app promotion balance for every developer, so we make sure one of your apps are promoted for every impression you are giving another app - a 1 to 1 ratio.
More info about that here https://lunarads.com/?page=How_App_Cross_Promotion_Works

More updates coming soon, follow us on Twitter, https://twitter.com/#!/LunarAds

I personally hope you will join http://LunarAds.com so you can take advantage of all we have to offer the Corona community :slight_smile:

[import]uid: 9046 topic_id: 8021 reply_id: 89157[/import]

I’ve extensivly tested Deniz’s module and he’s implemented my recomendations to handle all the wierd scaling in the web popups. I’d very strongly recommend you all switch to his module. It even works on 319 if you add this file to your project (Rename to json,lua):

http://chiselapp.com/user/dhkolf/repository/dkjson/home

[direct link]
http://chiselapp.com/user/dhkolf/repository/dkjson/raw/dkjson.lua?name=6bb6b9b6a57c0013caaf74a0be212c20ce6cf689

EDIT: IT DOESNT WORK on build 319 :confused: This is because ansca didn’t implement network/request until build 336 :confused: [import]uid: 8872 topic_id: 8021 reply_id: 89050[/import]

So i tried to implement network.request using luasockets for build 319. The only workable way to do it is to use coroutines so that the main game doesn’t block. Unfortunatley the webpopup code corona use breaks when you try to overide the protect method.

Long story short, if you’re using Build319, you’ll have to stick to this admob hack. I’ve made two builds - arm6 for < android 3.0 using the this admob hack, and and arm7 build for 3.0+ using deniz’s module. I may switch to the lunar ads module shortly as I’m fairly sure I can trigger a download and replace the protect method in time for the webpopup. Right now tho i’ve had enough ! [import]uid: 8872 topic_id: 8021 reply_id: 90849[/import]

I’m curious, how many out there are using 319?

Also, great news on the horizon for Lunar Ads as we are about to switch on full reporting for analytics and trust me when I say - you will not find any more detailed reporting anywhere…

[import]uid: 9046 topic_id: 8021 reply_id: 90858[/import]

Hi, where can I download 319 build?

Thanks
[import]uid: 109913 topic_id: 8021 reply_id: 93914[/import]

Are you asking in order to use the LunarAds SDK? Any of the new daily builds work just fine with it.
By the way, SDK version 1.3 has been released…
[import]uid: 9046 topic_id: 8021 reply_id: 93918[/import]

Thanks for your code Kam. At the moment, it seems to work better for me on Android, than ad mediator. I do still have a few issues when using it on Android though:

  • The ads don’t seem to display whenever the test mode is disabled. I’ve tried both disabling test mode in admob settings, and disabling test mode in the html files.
    Tested this on both tablet (Android v3.2) and smartphone HTC Desire (Android v2.2.2)

  • When testing on a Samsung Galaxy Tab 10.1 tablet with Android version 3.2, with test ads enabled, it seems the test ad won’t scale, but stays the original 320x48 size, even though android_ad15.html is used (checked via debug print statements).

I was wondering if you, or anyone else here, knows of some common thing that I might have missed? Any insight would be appreciated. Using Corona build 784, and I double checked that our own AdMob app id is being used. [import]uid: 105661 topic_id: 8021 reply_id: 102328[/import]

prodesuka, have you tried using our LunarAds SDK?

Richard [import]uid: 9046 topic_id: 8021 reply_id: 102335[/import]

prodesuka, if the test mode works, then your code is good. Go into admob and check that your site is showing green and active. It can take a while for this to go green.

Regarding the scale, its really annoying! Basically its due to the discrepancy between dpi and resolution of devices.

Some devices refactor the scaling because they know that their own screen size is large. So there’s no need to scale up to 1.5 for example to be able to read the same text. Other devices ignore the zoom field altogether on first launch of the browser (the first time anything gets loaded).

There’s a few workarounds to this, one being using the new webview stuff in corona to scale it instead.

I’m on irc right now if you want to discuss it further live. I can also lend u my admob id if you want to make sure you can see ads properly.

one last thing… for android, you will need to add this into the html to allow android > 2 to view ads:

<script type="text/javascript"><br> var userAgentTemp = navigator.userAgent;<br> if (!(RegExp("Android (1|2).").test(userAgentTemp))) {<br> navigator = {}<br> if (userAgentTemp.search(/Android/) != -1) {<br> userAgentTemp = userAgentTemp.replace(/Android 3[&#092;.&#092;d]*/, "Android 2.3.3");<br> navigator.userAgent = userAgentTemp.replace(/Android 4[&#092;.&#092;d]*/, "Android 2.3.3");<br> } else {<br> navigator.userAgent = userAgentTemp + "; Android 2.3.3";<br> };<br> };<br>	</script>  

right above this line

[code]