Hi i am trying to add admob ads into an application that is already uploaded to the appstore using swift. I made an app in the admob and copied appid, and ads ids and showed respective banner and interstitial ads. The problem here is that when i write this line
request.testDevices = [ "53441f52e531b870fe8c34151a2f6013" ]
the test ads show and work perfectly but when i comment this line the following error is shown in the console.
Request Error: No ad to show.
This message is printed in the overloaded method of GADBannerViewDelegate
public func interstitial(_ ad: GADInterstitial, didFailToReceiveAdWithError error: GADRequestError){
print("Inter error: \(error.localizedDescription)")
}
Please help me through this problem. I am really not sure why is it happening?