Receive an error when loading NativeAds with Google Ad Manager.

310 views
Skip to first unread message

Kakata Kyun

unread,
Mar 19, 2024, 8:36:18 PM3/19/24
to Google Mobile Ads SDK Developers
Hi, I am using googleads-mobile-android-examples/admanager/NativeAdsExample but cannnot show the ads and it show this error when try to reload the ads:
```
Couldn't create RTB adapter :
                                                                                                    android.os.RemoteException
                                                                                                    at com.google.android.gms.internal.ads.zzbsr.zzc(com.google.android.gms:play-services-ads-lite@@23.0.0:4)
                                                                                                    at com.google.android.gms.internal.ads.zzbsu.zzbO(com.google.android.gms:play-services-ads-lite@@23.0.0:8)
                                                                                                    at com.google.android.gms.internal.ads.zzayh.onTransact(com.google.android.gms:play-services-ads-base@@23.0.0:3)
                                                                                                    at android.os.Binder.transact(Binder.java:1169)
                                                                                                    at m.ajm.bb(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:8)
                                                                                                    at com.google.android.gms.ads.internal.mediation.client.c.c(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:9)
                                                                                                    at com.google.android.gms.ads.nonagon.adapter.e.b(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:5)
                                                                                                    at com.google.android.gms.ads.nonagon.signals.ek.a(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:58)
                                                                                                    at m.cdv.a(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:3)
                                                                                                    at m.cdd.run(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:21)
                                                                                                    at m.cdx.run(:com.google.android.gms.policy_ads_fdr_dynamite@240304709@240304704034.602821767.602821767:5)
                                                                                                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                                                                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                                                                                    at java.lang.Thread.run(Thread.java:1012)
```
Here is my libraries setup:
app/build.gradle

implementation 'com.google.android.gms:play-services-ads:23.0.0'
implementation 'com.google.android.ump:user-messaging-platform:2.2.0'
//mediation ads
implementation 'com.facebook.android:audience-network-sdk:6.14.0'
implementation 'com.google.ads.mediation:facebook:6.14.0.0'
implementation 'com.google.ads.mediation:inmobi:10.5.4.0'


The application ID is: ca-app-pub-9900137687416646~1260084231

The ad unit ID is: /214571812/TM24/TM24-App/TM-App-News-Center
The attachment is the example with above setup. [Attachment] Please help me why this error is show up? And how to fix it? Thank you Google Mobile Ads SDK Technical support team for supporting me.

Mobile Ads SDK Forum Advisor

unread,
Mar 20, 2024, 8:38:20 AM3/20/24
to kyunk...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for contacting the Mobile Ads SDK Support team. 

I'v tried running your shared sample project, and i am able to load the ads perfectly in emulator, i've used same library configuration in it. 

I am using Android Studio Hedgehog | 2023.1.1 Patch 2
Could you try re-run the same shared sample project by cleaning/ resetting gradle and builds cache files ?
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02s05Cz:ref" (ADR-00227940)

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages