🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: misc.phone.mobile.iphone
Article #807

Re: Do you have a free app that you like that contains advertisements?

#807
From: Maria Sophia
Date: Mon, 30 Nov 2026 14:10
92 lines
6034 bytes
Maria Sophia wrote:
> I'll keep digging as I lost the cability to display ads accidentally.

I'm digging to see what exactly it is that kills ads on our devices.
I press unlock features and it says billing error 3 (BILLING_UNAVAILABLE). 

This shows AdMob initializing successfully when "touching" FlightRadar24.
 adb logcat -c
 (then I move around in FlightRadar24)
 adb logcat -v threadtime | findstr /i "Ads AdMob GMA AdsSdk"
  ...
  ads_mobile_sdk.r31.<init>(SourceFile:37)
  ads_mobile_sdk.lz3.invokeSuspend(SourceFile:238)
  ...

Looking it up, ads_mobile_sdk is the Google Mobile Ads SDK, which is
apparently running inside FR24's process (PID 4842). It's constructing 
a WebView (which is the component AdMob uses to render HTML creatives). 
The WebView then registers a network callback, which is normal behavior.

So AdMob is not dead. 
 a. It initialized, it spun up a WebView, a
 b. and it's reaching for the network. 
 c. But the request went out and came back empty, or was never filled.

Digging deeper... 
 adb logcat -c
 adb logcat -v threadtime | findstr /i /c:"AdsSdk" /c:"onAdFailedToLoad" /c:"AdRequest" /c:"NoFill" /c:"onAdLoaded"
 (then I moved around in FlightRadar24 to try to trigger an ad)

adb logcat -v threadtime | findstr /i /c:"AdsSdk" /c:"onAdFailedToLoad" /c:"AdRequest" /c:"NoFill" /c:"onAdLoaded"
 11-30 04:48:03.725 26715 20944 D ConnectivityManager: StackLog: 
 [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4300)] 
 [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4864)] 
 [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4831)]
 [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4805)]
 [com.google.android.gms.ads.internal.state.e.d(:com.google.android.gms@264531029@26.45.31 
 (190400-1020418964):156)] [ajoh.e(:com.google.android.gms@264531029@26.45.31 (190400-1020418964):58)] 
 [com.google.android.gms.ads.AdRequestBrokerChimeraService.a(:com.google.android.gms@264531029@26.45.31 
 (190400-1020418964):4)] [docu.a(:com.google.android.gms@264531029@26.45.31 (190400-1020418964):3)] 
 [doem.d(:com.google.android.gms@264531029@26.45.31 (190400-1020418964):3)] 
 [doen.a(:com.google.android.gms@264531029@26.45.31 (190400-1020418964):230)] 
 [brng.onTransact(:com.google.android.gms@264531029@26.45.31 (190400-1020418964):60)]

Reading this bottom up, 
 AdRequestBrokerChimeraService.a(...)
 com.google.android.gms.ads.internal.state.e.d(...)
 registerDefaultNetworkCallback(...

Looking it up, AdRequestBrokerChimeraService is apparently the GMS-side
service that handles ad requests on behalf of apps. It's executing in 
the GMS process (PID 26715) and it's registering a network callback.

So the chain is alive that AdMob is running inside Play Services 
and actively building an ad request so the ad request goes out, 
but there's no onAdLoaded or onAdFailedToLoad afterward.

Maybe it's related to the billing error 3 (BILLING_UNAVAILABLE)?
But maybe it's due to the DNS? Dunno. 

Let me check as it's important to know HOW to block all ads.
 adb shell settings get global private_dns_mode
  hostname
 adb shell settings get global private_dns_specifier
  adblock.dns.mullvad.net
 adb shell ping -c 1 googleads.g.doubleclick.net
  ping: unknown host googleads.g.doubleclick.net
 adb shell ping -c 1 pagead2.googlesyndication.com
  ping: unknown host pagead2.googlesyndication.com

So we have DNS blocking going on:
 private_dns_mode = hostname
 private_dns_specifier = adblock.dns.mullvad.net

Where ad domains fail to resolve:
 ping: unknown host googleads.g.doubleclick.net
 ping: unknown host pagead2.googlesyndication.com

Ah. It was so simple. This can be replicated on any phone.
 adb shell settings put global private_dns_mode hostname
 adb shell settings put global private_dns_specifier adblock.dns.mullvad.net

I may write a script which can compare against various DNS blocks.
 adb shell settings put global private_dns_mode hostname
 adb shell settings put global private_dns_specifier dns.adguard-dns.com

To check your current DNS ad-blocking setup:
 adb shell settings get global private_dns_mode
 adb shell settings get global private_dns_specifier
 adb shell ping -c 1 googleads.g.doubleclick.net
-- 
On Usenet, we teach what we know and learn from others what we don't.
Technical Details
Message-ID: <11ek040$9p6$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
References: <11ehrme$2fnr$1@nnrp.usenet.blueworldhosting.com> <11ejba1$820h$1@dont-email.me> <11ejh02$2toq$1@nnrp.usenet.blueworldhosting.com> <11ejlvq$11nk$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: misc.phone.mobile.iphone,comp.mobile.android,comp.sys.mac.advocacy
Subject: Re: Do you have a free app that you like that contains advertisements?
Date: Mon, 30 Nov 2026 16:10:08 +0200
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11ek040$9p6$1@nnrp.usenet.blueworldhosting.com>
References: <11ehrme$2fnr$1@nnrp.usenet.blueworldhosting.com> <11ejba1$820h$1@dont-email.me> <11ejh02$2toq$1@nnrp.usenet.blueworldhosting.com> <11ejlvq$11nk$1@nnrp.usenet.blueworldhosting.com>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 30 Nov 2026 14:10:08 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM";
	logging-data="10022"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mojibake v24p7
Cancel-Lock: sha1:B1yoJ6XsL0mKsLMR9pWIk1JBzPw= sha256:zI2CJJ6JvCDjRvk0X8C2le3OnFtyfw+KUhilrpZhZxM=
	sha1:6lIneLPz1Ih5Dm3lfZuly3gGAks= sha256:7sBfEmTIasmu3ZTzS1Dj3Ihdi9Gg1nFCEDrd+0TiCAo=
Content-Language: en-GB