View Single Post
  (#19) Old
Forum Sprinter
Default 12-04-2010, 12:05 PM

Originally Posted by carsafety View Post
Can you please clarify on how to setup your Admob account? It would seem that you want to setup an app for iPhone App, Android App and maybe even iPad App. But, there is only one entry box for the script in Forum Runner Settings.

Will any one of them work on all platforms, or do you choose iPhone Web as mentioned by Ibrin above as a one script fits all platforms kind of thing?

Or, can you paste all three into the script box and somehow they will auto-detect and only the right one will display?

The Admob instructions aren't very clear but seem to indicate you want the specific type for your app platform. I'm going with iPhone web only for testing, but once I have a custom app I'm wondering if I should use the App options instead.
You use Mobile Web. In the box, you put the following javascript:

<script type="text/javascript">
 var admob_vars = {
  pubid: '[PUBLISHER_ID]', // publisher id
  bgcolor: '000000', // background color (hex)
  text: 'FFFFFF', // font-color (hex)
  test: true // test mode, set to false if non-test mode
 <script type="text/javascript" src=""></script>
Replace publisher ID with your publisher ID and set test:false when you are ready to deploy.

Rob J
Forum Runner Developer