GADMAdapterGoogleAdMobAds not Ready - Meta integration

1,031 views
Skip to first unread message

chri...@norapps.no

unread,
Sep 11, 2022, 11:43:15 AM9/11/22
to Google Mobile Ads SDK Developers
Hi, 

We've had Meta integrated before, removed them, and now are adding them back again. 

We have removed all Cocoapods from our app so we are integrating them manually since the Meta adapter and Meta AN doesn't support SPM. 

When I dragged in the MetaAdapter.xcframework and tried to run it, I got an error message that it couldn't inspect my application. I removed it from "Embed frameworks" in xCode, ran it again and it seems to work. Can you update the documentation if this is a required step? FBAudienceNetwork is still in the Embed Framework list though. 

But my real question is that I get an error that GADMAdapterGoogleAdMobAds doesn't exist from the adapters. Do you know why this error appears and can we resolve it somehow? 

GADMobileAds.sharedInstance().start { status in
            let status = status.adapterStatusesByClassName
            for s in status.keys {
                Logging.debug("\(s) - \(status[s]?.description)")
            }
        } 

17:30:51:010 {UI} AppDelegate.swift > application(_:didFinishLaunchingWithOptions:)[393]: "GADMAdapterGoogleAdMobAds - Optional(\"<GADAdapterStatus: 0x28350bae0; state = Not Ready;No such adapter in the application.>\")"

✅ 17:30:51:011 {UI} AppDelegate.swift > application(_:didFinishLaunchingWithOptions:)[393]: "GADMobileAds - Optional(\"<GADAdapterStatus: 0x28350bb40; state = Ready>\")"

✅ 17:30:51:011 {UI} AppDelegate.swift > application(_:didFinishLaunchingWithOptions:)[393]: "GADMediationAdapterFacebook - Optional(\"<GADAdapterStatus: 0x28350bba0; state = Ready>\")"


Mobile Ads SDK Forum Advisor

unread,
Sep 12, 2022, 2:33:15 PM9/12/22
to chri...@norapps.no, google-adm...@googlegroups.com
Hi Chris,

Thank you for reaching out to us. Let me do the best I can to assist you in this.

For Meta - Since you mentioned that you've formerly added the META adapter, removed it, then added it again. Could you confirm if you encounter the reported issue when you add the said adapter on your first time? I'm asking this as it seems the issue only triggers after you've removed the said adapter.

For GADMAdapterGoogleAdMobAds error - This usually occurs if the Mobile Ads SDK were not properly imported. Could you please try to import the said SDK once again by following this guide, then let me know how it goes?

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2eN5Ip:ref

chri...@norapps.no

unread,
Sep 13, 2022, 3:46:55 AM9/13/22
to Google Mobile Ads SDK Developers
Hi, 

We had the Meta adapter years ago (when it was called FAN) and back then we used Pods and everything was working but this is 1+ year ago. 

Now we have removed Pods and want to be 100% on SPM but I see in the guide: 
Key Point: Mediation adapter libraries are not yet available on Swift Package Manager. If you use mediation, we recommend integrating with CocoaPods.

I tried remove all AdMob references from SPM and followed the guide, doing everything via CocoaPods, but still I end up in the same place where everything seems to be working but I don't get the Meta ads and I still have the error about GADMAdapterGoogleAdMobAds. 

The AdMob ads are still working fine and I get non-SDK mediated ads like Pubmatic but it doesn't want to load the Meta ads. Is this due to the GADMAdapterGoogleAdMobAds error? The ad inspector says that everything is fine and the Meta adapter is initialized and ready. 

- Christer

Mobile Ads SDK Forum Advisor

unread,
Sep 13, 2022, 12:45:39 PM9/13/22
to chri...@norapps.no, google-adm...@googlegroups.com
Hi Christer,

Since you mentioned that ad inspector returns no error, then it's safe to assume that your integration of META adapter is fine. What you can do now is try to lower the eCPM of your AdMob, then increase the other (META) to help prioritize a particular Ad source from the other. Let me know how it goes.

On the other hand, I wasn't able to reproduce the reported behavior on my end using our sample app. If you still wasn't able to load a meta ad on your end after doing the suggestion above, could you please provide to us at least a test project, so we could further investigate? Kindly provide it via Reply privately to author option.
 

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=5004Q00002eN5IpQAK&entry.80707362=00123126

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.

chri...@norapps.no

unread,
Sep 13, 2022, 12:52:24 PM9/13/22
to Google Mobile Ads SDK Developers
Hi, 

Thanks. I'll try the sample app. Did you try to: 
- Use AdMob with SPM
- Use META by embedding the frameworks for META + META adapter directly

So no PODs involved at all and you got no errors when deployed to a physical device with using just the instructions for embedding META + META adapter via embedded framework? 

I used the ad inspector to force testing of META ads only so I guess that should have worked. 

Mobile Ads SDK Forum Advisor

unread,
Sep 13, 2022, 11:12:53 PM9/13/22
to chri...@norapps.no, google-adm...@googlegroups.com

Hi Christer,

Thank you for your response.

As my colleague mentioned, it would be best if you could provide a project instead, so we could have full visibility in your implementation as well. Rest assured that the shared project file will not be shared externally and will be used for investigation purposes only. You can provide it at 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=5004Q00002eN5IpQAK&entry.80707362=00123126

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
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2eN5Ip:ref

chri...@norapps.no

unread,
Sep 14, 2022, 3:17:59 AM9/14/22
to Google Mobile Ads SDK Developers
Hi, 

Good news is that it was very easy to reproduce. 

1. Check out the banner sample and add code snippet that gives the adapter status
2. Remove pods
3. Add AdMob via SPM
4. Add META SDK via dynamic framework
5. Add META mediation framework
6. Run on simulator => missing plist error
7. Remove embed framework for META mediation framework
8. Got the error: Adapter Name: GADMAdapterGoogleAdMobAds, Description: <GADAdapterStatus: 0x600001267ae0; state = Not Ready;No such adapter in the application.

I've attached the sample projects to show both step 6 and step 8.  

Mobile Ads SDK Forum Advisor

unread,
Sep 14, 2022, 12:41:20 PM9/14/22
to chri...@norapps.no, google-adm...@googlegroups.com
Hi Christer,

Thank you for getting back to us. 

I've checked your app and was able to reproduce the reported issue on my end. It's odd that I'm not able to reproduce it on my end at first. I've downloaded a new copy of our sample app, followed your steps and can now confirm the issue. With that all said, I'll be sharing this to the rest of the team for further investigation. I'll update this thread the soonest I hear back from them.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2eN5Ip:ref

Mobile Ads SDK Forum Advisor

unread,
Sep 22, 2022, 5:26:28 AM9/22/22
to chri...@norapps.no, google-adm...@googlegroups.com

Hi Christer,

I hope you're doing well.

I just want to circle back on this. The team mentioned that mediation via SPM is not supported yet as most third party mediation partners SDKs and mediation adapters are not available via SPM. They also mentioned that if you want to use mediation, kindly keep integrating it via CocoaPod.

chri...@norapps.no

unread,
Sep 22, 2022, 6:22:57 AM9/22/22
to Google Mobile Ads SDK Developers
Hi,

Ok, hopefully the documentation can state that a bit more clear 🙂 We've moved away from Cocoapods a year ago and won't move back but we'll just put this on hold and focus on the other networks that doesn't require SDKs. It doesn't sound like mediation via SPM will be supported in the near future? I would imagine with META being on SPM that you would be fine moving over and getting the other mediation partners to follow? 

- Christer

Mobile Ads SDK Forum Advisor

unread,
Sep 22, 2022, 2:18:58 PM9/22/22
to chri...@norapps.no, google-adm...@googlegroups.com

Hi Christer,

Thanks for getting back to us.

I understand that you’ve moved away from the Cocoapod, however, CocoaPod will help you to use mediation since mediation via SPM is not supported yet.

Also, my team has already raised a feature request to support this, but there is no timeline when it will be supported. For now, you may keep an eye to our blog for any future updates on this.

Regards,

Google Logo
Yasar
Mobile Ads SDK Team
 


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