I'm trying to integrate AdMob into my app. I've imported GoogleMobileAds into my MainViewController, but Xcode is showing an error message.
Error message - Cannot find type 'GADRequestError' in scope
The SDK reference declares the method as:
optional func bannerView(_ bannerView: GADBannerView, didFailToReceiveAdWithError error: Error)
Try using that instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With