AdMob Ads break in UIWebView
AdMob ads are broken in UIWebViews (a UIWebView is an iPhone native browser control) for two reasons.
Update: after some badgering AdMob has responded here.
- 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: Cocoa, iPhone, Objective-C, UIKit


1 Comments:
This post has been removed by the author.
Post a Comment
<< Home