iOS FB Meta Audience Network Mediation: Adapter not found !! HELP

90 views
Skip to first unread message

Clement M.

unread,
May 14, 2024, 11:29:21 PMMay 14
to Google Mobile Ads SDK Developers
Hello,

I try to integrate some Facebook Meta Audience Network ads to my app that already integrate admob.

I did follow all the instruction and triple checked 10 times ;)

- I did setup mediation correctly in both UI (Meat and Admob side)
- I updated my Admob SDK in my SwiftUI iOS app (v11.4.0)
- I manually add both Meta SDK & Adapter SDK manually following the instruction (adding xcframework to project with embbed & sign). Integration seems OK as I can initialize FB SDK.

But when running the app the Adapter is not found/detected by Admob SDK.

I checked inside the .app and the frameworks are present.
IMG_4CE41C4DDEFB-1.jpeg

When running this code both SKD Google Mobile Ads and Meta Audience Network initialize correctly.

The Meta adapter framework seems to be present

FBAudienceNetworkAds.initialize(with: nil) { result in

            log.debug("Meta result: \(result.message)")

            }


// THEN LATER 


GADMobileAds.sharedInstance().start { status in

                status.adapterStatusesByClassName.forEach { (key, value) in

                    log.debug("Ads Starting Admob adapters : \(key) = \(value.state) lantency \(value.latency) s.")

                }

            }


Nevertheless, there is only the Google adapter logged by this code on startup.


Version used : 
- GoogleMobileAds  v11.4.0 (installed through Swift package Manager)
- Meta Audience Network iOs Mediation Adapter Version 6.15.0.0 (installed manually)
iOS Audience Network SDK 6.15.0 (installed manually)

I read everything about that and can't figure what I missed. I know that some third-party ad sources require an SDK and its GMA SDK specific adapter to load and display ads from that source and that this error means that the GMA SDK cannot find your third-party adapter or SDK....


Could you tell me what I coud do? Any help really appreciated!

Mobile Ads SDK Forum Advisor

unread,
May 15, 2024, 8:01:31 PMMay 15
to clemen...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Some third-party ad sources require an SDK and its GMA SDK specific adapter to load and display ads from that source. This error means that the GMA SDK cannot find your third-party adapter or SDK.

Please refer to this Adapter not found document for more information about the issue.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tIypp:ref" (ADR-00235013)

Thanks,
 
Google Logo Mobile Ads SDK Team


Clement M.

unread,
May 16, 2024, 2:12:23 AMMay 16
to Google Mobile Ads SDK Developers
Hello,

Sorry but it doesn't help at all. I said in my message that "I know that some third-party ad sources require an SDK and its GMA SDK specific adapter to load and display ads from that source and that this error means that the GMA SDK cannot find your third-party adapter or SDK...."

As I say I added both SDK and its specific adapter.

What could go wrong? 

Is there something specific to do with Meta Audience Network Adapter?

I try with and without initializing the SDK but in both case, GMA doest find the adapter. How could I debug that? Is there a way to verbose log while the GMA is looking for adapter?

Is there some specific settings on Xcode project that could prevent embedded frameworks to be detected?

Thanks a lot for your help,

Clement



Mobile Ads SDK Forum Advisor

unread,
May 16, 2024, 9:10:36 AMMay 16
to clemen...@gmail.com, google-adm...@googlegroups.com
Hi,

Can you please let us know at which point did you load the ad inspector before ad loading or after. Kindly share the ad unit ID via "Reply to author" option for further investigation.

Clement M.

unread,
May 20, 2024, 6:28:28 AM (13 days ago) May 20
to Google Mobile Ads SDK Developers
Hello, how can I be sure that you received my two previous message while they have not been approved? Is there a page where I can see message pending for approval?

Mobile Ads SDK Forum Advisor

unread,
May 20, 2024, 11:30:54 AM (12 days ago) May 20
to clemen...@gmail.com, google-adm...@googlegroups.com

Hi Clement,

We've already responded but it didn't reach the forum.

The response given is as below:

Thank you for providing additional information.

I ran a Banner Sample application integrated with Meta and I can see Meta Audience Network. All you need to do is follow Integrate Meta Audience Network with bidding. Also, refer to Add the Audience Network SDK to your iOS App. Add the following SKAdNetwork IDs to your Xcode project’s Info.plist as shown in the following example:

<array>
    <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>v9wttpbfk9.skadnetwork</string>
    </dict>
    <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>n38lu8286q.skadnetwork</string>
    </dict>
</array>

To verify that you are receiving test ads from Meta Audience Network, enable single ad source testing in the ad inspector using the Meta Audience Network (Bidding) ad source(s). If this didn’t help, kindly provide a sample project privately replicating the issue, so that we can debug your issue and may provide a solution.

You can provide the following details via reply privately to the 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=5004Q00002tIyppQAC&entry.80707362=00235013

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. 

Clement M.

unread,
May 21, 2024, 3:07:40 PM (11 days ago) May 21
to Google Mobile Ads SDK Developers
Hello,

One of my messages must have been lost but impossible to track the messages sent that were not approved. Here's what my message said:

I have followed three times since the start the procedures indicated to integrate the "Meta Audience Network" SDK and adapt it without success.

You will find in attachment a sample project in SwiftUI in which I followed the procedures step by step and which reproduces my problem.

[FILE ATTACHED THROUGH YOUR FORM]

I noticed that:

1) When I use the example ID application provided by Google, the GMA SDK detects several adaptors but it only initialises that of Admob... (see log below)

2) When I use my own ID application, the GMA SDK detects only one adaptor. (see log below)

In any case, the Meta Network Audience SDK and adaptor are not detected. My Application is in SwiftUI. There are some differences in the life cycle of the app. Maybe there is a problem at this level. Could you please take a look at the attached project?




1) With Google App ID - GMA SDK detect multiple Adapters

Info.plist

<key>GADApplicationIdentifier</key>

   <string>ca-app-pub-7470918338491260~1675838356</string>


Log

Ads Starting Meta result: initialized

AdMobVersion: 11.4.0

Ads Starting Admob adapters : MediationExample.SampleCustomEventSwift = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : SampleCustomEventRewarded = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : SampleCustomEventRewardedBasedVideoSwift = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : MediationExample.SampleCustomEventBannerSwift = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMediationAdapterTapjoy = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMediationAdapterVungle = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : SampleCustomEventSwift = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMediationAdapterAppLovin = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMediationAdapterInMobi = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : SampleCustomEventNativeAd = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMediationAdapterAdColony = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMediationAdapterSample = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : GADMobileAds = GADAdapterInitializationState(rawValue: 1) lantency 0.02798008918762207 s.

Ads Starting Admob adapters : SampleCustomEvent = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : SampleCustomEventBanner = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : SampleCustomEventInterstitial = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : MediationExample.SampleCustomEventInterstitialSwift = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.

Ads Starting Admob adapters : MediationExample.SampleCustomEventNativeAdSwift = GADAdapterInitializationState(rawValue: 0) lantency 0.0 s.




2 With My personal App ID - GMA SDK detect only one Adapter
Info.plist

   <key>GADApplicationIdentifier</key>

   <string>ca-app-pub-7470918338491260~1675838356</string>


Ads Starting Meta result: initialized

AdMobVersion: 11.4.0

Ads Starting Admob adapters : GADMobileAds = GADAdapterInitializationState(rawValue: 1) lantency 0.0006259679794311523 s.



Mobile Ads SDK Forum Advisor

unread,
May 21, 2024, 8:14:14 PM (11 days ago) May 21
to clemen...@gmail.com, google-adm...@googlegroups.com
Hi Clement,


Thank you for providing additional information.

Can you confirm whether the same issue is replicating in our Google SwiftUI Demo
Note that the sample project that you have attached has not been received yet. Can you please re-share the sample project privately?
Reply all
Reply to author
Forward
0 new messages