Detection of iAd