Monday, August 25, 2008

AdMob Ads break in UIWebView

AdMob ads are broken in UIWebViews (a UIWebView is an iPhone native browser control) for two reasons.
  • AdMob requires a user agent and when you tell AdMob you are on an iPhone AdMob will provide ads with direct links to the App Store. This would be great, but Apple servers respond with "Internal Server Error" when AdMob ads link to the appstore through UIWebView. The same links work great in iPhone Safari.
  • When a page containing a UIWebView loads with an AdMob ad, the page is instantly redirected to about:blank. Canceling this redirect in shouldStartLoadWithRequest causes other links on the page to become unresponsive!
  • If you know how to get this working please comment.

Update: after some badgering AdMob has responded here.

Labels: , , ,

1 Comments:

Blogger Andrew Paul Simmons said...

This post has been removed by the author.

August 27, 2008 10:02 AM  

Post a Comment

<< Home