Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

I found a good way to do app ads with appcelerator

I asked, and now I'll answer my own question. I went to admob.com, and you can set up an application on a specific platform, and they will give you code you can put in an HTML page to generate an ad. So you could make a small web view on your app and put the ad there. Don't select the iPhone app or they will give you objective-c code.

You can select an iPhone webapp. You can also select a mobile website, and they'll give you php code that generates ads anywhere, not just on an iphone browser. You can then use this for any app or website you make. But then, you need to host that page somewhere because it is php.

The iPhone site has all the code there that you can put in your web view. But it only works on an iphone browser or web view.

For example, on a web view or safari iphone browser you can go to here

It generates an iPhone-specific ad
or go to here

and it generates an ad that runs on any (mobile or otherwise) browser.

Hope this helps.
Shawn Gordhamer

— asked April 28th 2010 by shawn gordhamer
  • ads
  • iphone

4 Answers

  • How much do they pay?

    — answered April 28th 2010 by Stan Thompson
  • Awesome job, Shawn, and thanks for sharing! I'm sure that'll make lots of folks here happy. :)

    — answered April 28th 2010 by Dan Giulvezan
  • From what I see, it's around 20-80 cents per 1000 ad views. More if someone clicks on the ad. You are allowed to refresh the ad no more than once per minute.

    So if 1 million people play your app for 1 hour, you would get between 12,000 and 48,000. But then there's the fill rate - how many ads they have. That can go below 100%, so your amount goes down.

    I don't have my app updated yet, so I don't have a good feeling for what this really means.

    — answered April 28th 2010 by shawn gordhamer
  • Thank you for sharing. I was wondering how we could do it?

    — answered May 14th 2010 by Peter Lum
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.