Я хочу добавить и рекламный баннер, я использовал google framework
pod 'Google-Mobile-Ads-SDK'
в моем подфайле
Я добавил представление в свой uiViewController> GoogleBannerView
это мой код
импортировать GoogleMobileAds
в viewdidLoad:
GoogleBannerView.adUnitID = "ca-app-pub-5462393278951241/1172515484"
GoogleBannerView.delegate = self
GoogleBannerView.rootViewController = self
GoogleBannerView.load(GADRequest())
Но он ничего не отображает в представлении и выдает мне сообщение в консоли:
Чтобы получить тестовые объявления на этом устройстве, вызовите: request.testDevices = @[ kGADSimulatorID ];
Любая помощь приветствуется! Спасибо..