googlecodelabs / admob-native-advanced-feed

Apache License 2.0
53 stars 30 forks source link

Use of undeclared type 'GADUnifiedNativeAdLoaderDelegate' #8

Closed Tapaniya25 closed 6 years ago

Tapaniya25 commented 6 years ago

I am trying to make a demo of this ads. While i follow this tutorial. Getting this error Use of undeclared type 'GADUnifiedNativeAdLoaderDelegate'. I am using the latest version of GoogleMobileAds.framework.

stowy commented 6 years ago

That doesn't sound correct. GADUnifiedNativeAdLoaderDelegate is part of the framework as of Google-Mobile-Ads-SDK version 7.28.0 - here's the reference docs - https://developers.google.com/admob/ios/api/reference/Protocols/GADUnifiedNativeAdLoaderDelegate.

Are you sure you have at least version 7.28.0 installed? You can check by calling [GADRequest SDKVersion] as documented here.

Tapaniya25 commented 6 years ago

Sorry, I am using an older version(7.25.0) of Admob. The latest one is 7.29.0. When i have written pod 'Firebase/AdMob' in podfile at that time i got version 7.25.0. Then after i write pod 'Google-Mobile-Ads-SDK' so i got 7.29.0 version of AdMob.