When designing Web applications for IPhone, it could be useful to add advertising to your mobile application. My first idea was to use Google Ad for mobile but the product is only available for early access and i have not the possibility to use it.
After some googling, i have found that AdMob solution was a good alternative.
WebApp.Net is for me one of the best IPhone Web micro framework. It provides many powerful and easy to use items to help you designing great and must seen web applications for Apple's latest mobile devices.
After the presentation, let’s go to the integration…
Step1: Registering an AdMob account
This step needs only to be executed 1 time (and takes 5 minutes). It provides you an account and an access to the AdMob portal.
Step2: Registering a new web application
Click on the Add IPhone Site link
Click on the IPhone Site icon. You need yet to provide information regarding your web site and the look and feel of the advertising. After feeling the form, click on the Add button.
If the step has been successfully completed, you should see the newly registered application in the list.
Copy the script in the clipboard…
…and then simply past it in the section just after the iHeader section (before the iGroup).
Pay attention that you only need to insert the code one time, all the other layers will display the advertising.
Step4 Testing the result…and activating the script
The sample application is available at : http://visticot.frederic.perso.neuf.fr/webapp/admob/index.html
The result of the previous sample code is shown in the next picture.
Do not hesitate to give your feedback regarding AdMob and WebApp.Net !!!