Native Ads Not Working, Error Code 2 | Network Error | Android TV

250 views
Skip to first unread message

Ravindra Verma

unread,
Oct 23, 2024, 8:38:14 PM10/23/24
to Google Mobile Ads SDK Developers
Hi ,

We have noticed that native ads are suddenly stop rendering on Google Tv devices. 
After Observation we found that with the latest version of Google Play Services (24.x) it is not working though downgrading Play Services to 22.x resolves the issue. 


We tried with official google sample app , and even the sample app not able to render ad on Device with PlayServices version 24.x
https://github.com/googleads/googleads-mobile-android-examples/tree/main/kotlin/admob/NativeAdvancedExample 

Getting Below Error in Logs : 

Native ad failed to load
                                                                                                    com.google.android.gms.ads.nonagon.load.a
                                                                                                    at com.google.android.gms.ads.nonagon.load.aa.a(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:6)
                                                                                                    at m.cft.g(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:3)
                                                                                                    at m.cfv.run(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:130)
                                                                                                    at m.chh.execute(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:1)
                                                                                                    at com.google.android.gms.ads.internal.util.future.d.execute(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:3)
                                                                                                    at m.cij.execute(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:3)
                                                                                                    at m.cgl.q(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:1)
                                                                                                    at m.cgl.m(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:101)
                                                                                                    at m.cgl.e(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:19)
                                                                                                    at m.ciu.run(:com.google.android.gms.policy_ads_fdr_dynamite@243220707@243220703034.668972300.668972300:96)
                                                                                                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
                                                                                                    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
                                                                                                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
                                                                                                    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)


{
                                                                                                      "Code": 2,
                                                                                                      "Message": "Network error.",
                                                                                                      "Domain": "com.google.android.gms.ads",
                                                                                                      "Cause": "null",
                                                                                                      "Response Info": {
                                                                                                        "Response ID": "null",
                                                                                                        "Mediation Adapter Class Name": "",
                                                                                                        "Adapter Responses": [],
                                                                                                        "Response Extras": {}
                                                                                                      }



Shubham Chauhan

unread,
Feb 10, 2025, 4:03:30 PM2/10/25
to Google Mobile Ads SDK Developers
Hello, 

Have you got any solution for the same. I am still facing this issue from so long.

Mobile Ads SDK Forum Advisor

unread,
Feb 10, 2025, 5:31:12 PM2/10/25
to shubham...@horizonind.org, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team. 

Please note that the Google Mobile Ads SDK for Android does not support Android TV.

The Google Mobile Ads SDK does support devices that don't have Google Play, but the library cannot automatically update itself the way it does on devices with Google Play. To update such devices, you must manually update the Google Play services SDK in your app. For more information, kindly refer to the Android TV

Since you are facing an issue with the error code 2: Network error, the error code 2 means the ad request was unsuccessful due to network connectivity that wasn't caused by the Google Mobile Ads SDK. This could be due to a phone switching networks or network disturbances distorting the communication between the app and the Ad Server. Some Telecom providers may also limit specific traffic due to policy, which can also lead to such an error. Kindly  refer to Network error.

I hope this helps! Let me know if you have any other questions. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02vH1Bs:ref" (ADR-00287803)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Reply all
Reply to author
Forward
0 new messages