Slow loading of ads

211 views
Skip to first unread message

Mads Kverneland

unread,
Dec 23, 2024, 1:24:29 AM12/23/24
to Google Mobile Ads SDK Developers
Hello hello, hope you can help me here.

My Android app loads ads with a >20 sec latency, often close to 40 sec, measured from i make the AdManagerAdView.loadAd(adRequest) to i get a callback in the AdListener.onAdLoaded.

As a reference, test ads are within a few sec.
The ios app is also within a couple of seconds, and im testing on the same wifi.

My ad  is - >  ed0e0faf-d47a-4c10-bb3f-3220c05be769 and the app is 

Im unsure how to debug it further. If i enable ad-debuggin as described here https://developers.google.com/ad-manager/mobile-ads-sdk/android/network-tracing the ads dosnt even show any more....

Here is some logs:
2024-12-20 14:25:24.476 29859-29908 Ads                     dk.bold                              I  Updating ad debug logging enablement.
2024-12-20 14:25:24.484 29859-29918 nativeloader            dk.bold                              D  Load /data/app/~~ltr7I6FerdoKGvJzge9lvg==/com.google.android.trichromelibrary_677810433-ovS23JZZ_8pVC5OJdanZ7A==/base.apk!/lib/arm64-v8a/libmonochrome_64.so using ns clns-13 from class loader (caller=/data/app/~~IJtw1oWeXoaDoxq0FtPcNQ==/com.google.android.webview-ryU7WthC6kwhPH00iAPNpw==/base.apk): ok
2024-12-20 14:25:24.485 29859-29918 nativeloader            dk.bold                              D  Load /system/lib64/libwebviewchromium_plat_support.so using ns clns-13 from class loader (caller=/data/app/~~IJtw1oWeXoaDoxq0FtPcNQ==/com.google.android.webview-ryU7WthC6kwhPH00iAPNpw==/base.apk): ok
2024-12-20 14:25:25.094 29859-29964 cr_LibraryLoader        dk.bold                              I  Successfully loaded native library
2024-12-20 14:25:25.459 29859-29931 Ads                     dk.bold                              W  Update ad debug logging enablement as true
2024-12-20 14:25:25.604 29859-29993 Ads                     dk.bold                              I  HTTP timeout: 60000 milliseconds.
2024-12-20 14:25:25.606 29859-29993 Ads                     dk.bold                              I  GMA Debug BEGIN
2024-12-20 14:25:25.606 29859-29993 Ads                     dk.bold                              I  GMA Debug CONTENT {"timestamp":1734701125606,"event":"onNetworkRequest","components":["network_request_61b0eebe-91d8-47b7-a989-dcb5c8d424ff"],"params":{"firstline":{"uri":"https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.html","verb":"GET"},"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Linux; Android 15; Pixel 6 Build/AP4A.241205.013.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.104 Mobile Safari/537.36 (Mobile; afma-sdk-a-v244410999.234310000.1)"},{"name":"sec-ch-ua","value":"\"Android WebView\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?1"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"sec-ch-ua-platform","value":"\"Android\""}]}}
2024-12-20 14:25:25.606 29859-29993 Ads                     dk.bold                              I  GMA Debug FINISH
2024-12-20 14:25:26.443 29859-29859 AdLoader                dk.bold                              D  ad_start_load: /83172459/bold_app/bold_app_forside/bold_app_forside_swedishhalftakeover, fragment: NewsFragment
2024-12-20 14:25:26.459 29859-29859 AdLoader$h...wLifeCycle dk.bold                              D  resume AdView: /83172459/bold_app/bold_app_forside/bold_app_forside_swedishhalftakeover
2024-12-20 14:25:27.014 29859-29859 PrebidBidLoader         dk.bold                              D  Schedule refresh timer
2024-12-20 14:25:27.014 29859-29859 PrebidBidLoader         dk.bold                              D  setupRefreshTimer(): refreshTimeMillis is: 0. Skipping refresh timer initialization
2024-12-20 14:25:27.022 29859-29859 ApplicationLoaders      dk.bold                              D  Returning zygote-cached class loader: /system/framework/org.apache.http.legacy.jar
2024-12-20 14:25:27.022 29859-29859 ApplicationLoaders      dk.bold                              D  Returning zygote-cached class loader: /system_ext/framework/androidx.window.extensions.jar
2024-12-20 14:25:27.022 29859-29859 ApplicationLoaders      dk.bold                              D  Returning zygote-cached class loader: /system_ext/framework/androidx.window.sidecar.jar
2024-12-20 14:25:27.034 29859-29859 Ads                     dk.bold                              I  Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("786E68ECED6C53F0337D57121666BB9F")) to get test ads on this device.
2024-12-20 14:25:27.093 29859-29859 AdWorker(Defaul         dk.bold                              W  type=1400 audit(0.0:6888): avc:  granted  { execute } for  path="/data/data/dk.bold/app_pccache/5/A417903C461FBA99C463D28D39FB7BE16C7A378B/pcam.jar" dev="dm-67" ino=406098 scontext=u:r:untrusted_app:s0:c60,c260,c512,c768 tcontext=u:object_r:app_data_file:s0:c60,c260,c512,c768 tclass=file app=dk.bold
2024-12-20 14:25:27.095 29859-30099 nativeloader            dk.bold                              D  Configuring clns-14 for other apk . target_sdk_version=35, uses_libraries=ALL, library_path=, permitted_path=/data:/mnt/expand
2024-12-20 14:25:27.095 29859-30099 nativeloader            dk.bold                              D  Extending system_exposed_libraries: libedgetpu_dba.google.so
2024-12-20 14:25:27.096 29859-30099 nativeloader            dk.bold                              D  Load /data/user/0/dk.bold/app_pccache/5/A417903C461FBA99C463D28D39FB7BE16C7A378B/pcam.jar!/libd49E02C5960C3.so using isolated ns clns-14 (caller=/data/user/0/dk.bold/app_pccache/5/A417903C461FBA99C463D28D39FB7BE16C7A378B/pcam.jar): ok
2024-12-20 14:25:27.173 29859-30112 Ads                     dk.bold                              W  Not retrying to fetch app settings
2024-12-20 14:25:27.199 29859-30108 AdvertisingIdClient     dk.bold                              D  Creating AdvertisingIdClient
2024-12-20 14:25:27.199 29859-30108 AdvertisingIdClient     dk.bold                              D  AdvertisingIdClient already created.
2024-12-20 14:25:27.200 29859-30108 AdvertisingIdClient     dk.bold                              D  AdvertisingIdClient is not bounded. Starting to bind it...
2024-12-20 14:25:27.209 29859-30108 AdvertisingIdClient     dk.bold                              D  AdvertisingIdClient is bounded
2024-12-20 14:25:27.210 29859-30108 AdvertisingIdClient     dk.bold                              I  shouldSendLog -1
2024-12-20 14:25:27.211 29859-30108 AdvertisingIdClient     dk.bold                              I  GetInfoInternal elapse 10ms
2024-12-20 14:25:27.215 29859-29859 AdvertisingIdClient     dk.bold                              I  getting error as 17: API: ClientTelemetry.API is not available on this device. Connection failed with: arr{statusCode=API_DISABLED_FOR_CONNECTION, resolution=null, message=null}
2024-12-20 14:25:27.237 29859-29994 Ads                     dk.bold                              I  HTTP timeout: 60000 milliseconds.
2024-12-20 14:25:27.238 29859-29994 Ads                     dk.bold                              I  GMA Debug BEGIN
2024-12-20 14:25:27.238 29859-29994 Ads                     dk.bold                              I  GMA Debug CONTENT {"timestamp":1734701127237,"event":"onNetworkRequest","components":["network_request_acd7afc0-60af-4e65-9a90-85b388901c34"],"params":{"firstline":{"uri":"https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html","verb":"GET"},"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Linux; Android 15; Pixel 6 Build/AP4A.241205.013.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.104 Mobile Safari/537.36 (Mobile; afma-sdk-a-v244410999.234310000.1)"},{"name":"sec-ch-ua","value":"\"Android WebView\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?1"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"sec-ch-ua-platform","value":"\"Android\""}]}}
2024-12-20 14:25:27.238 29859-29994 Ads                     dk.bold                              I  GMA Debug FINISH
2024-12-20 14:26:27.203 29859-29859 AdLoader$c...cessOrFail dk.bold                              D  ad_failed_load: /83172459/bold_app/bold_app_forside/bold_app_forside_swedishhalftakeover, code: 2, domain: com.google.android.gms.ads, message: Network error., cause: null
2024-12-20 14:26:27.205 29859-29859 Ads                     dk.bold                              I  Ad failed to load : 2





Mobile Ads SDK Forum Advisor

unread,
Dec 23, 2024, 7:41:14 AM12/23/24
to mads.kv...@shortcut.io, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Could you kindly provide the below information via reply to author option for further investigation:

  • app ID
  • ad unit ID
  • Mobile Ads SDK Version 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGqBX:ref" (ADR-00279581)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Zauzau Francis

unread,
Jan 31, 2025, 11:46:04 AM1/31/25
to Mads Kverneland, Google Mobile Ads SDK Developers

Enoch Francis  invites you to earn money together! No investment required, everyone can withdraw money! -> https://www.freeagqstar.top/p?0129797803862207069&s=mail someone has just cash out today


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-admob-ads-sdk/da7f0e86-38ff-4e75-b47b-c497a0d7f6fan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages