IOS project "No type or protocol named 'GADNativeAdLoaderDelegate'"

247 views
Skip to first unread message

Syed.Faizan@pakdata

unread,
May 11, 2023, 6:41:04 AM5/11/23
to Google Mobile Ads SDK Developers

Google support team,


I am working on IOS project which in build on both Objective-c and swift language. I have successfully Added GoogleMobileAds in Objective-c code but when I add in swift file I am getting this error. 

“No type or protocol named 'GADNativeAdLoaderDelegate”.

I searched all the documentation but I failed to resolve this error. Please help me to resolve this. I will very thankful to your team.1.png

Mobile Ads SDK Forum Advisor

unread,
May 11, 2023, 8:29:02 AM5/11/23
to syed....@pakdata.com, google-adm...@googlegroups.com
Hello Syed,

Thank you for reaching out to us.

For clarification, have you implemented '#import <GoogleMobileAds/GoogleMobileAds.h>' into the .m file? If the issue persists even after implementing this, kindly send us a copy of the sample app project you are using. You can provide it via reply privately to author option or directly provide it to the link below.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002lGtS2QAK&entry.80707362=00178417

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Regards,
Google Logo Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2lGtS2:ref
Reply all
Reply to author
Forward
0 new messages