Closed krupalieBizTrait closed 2 weeks ago
Hi @krupalieBizTrait, please take a look at https://support.google.com/admob/answer/9905175#9 to see the troubleshooting tip(s) for Publisher data not found.
- that should help resolve your issue. If not, please create a thread in the AdMob developers forum to triage your issue as this is an issue more related to ad serving which the flutter plugin does not control.
Closing this out - thanks!
I getting this type of error in below function
void _loadBannerAd() { bannerAd = BannerAd( adUnitId: 'ca-app-pub-XXXXXXXXXXXXXX', // Test Banner Ad Unit ID request: AdRequest(), size: AdSize.banner, listener: BannerAdListener( onAdLoaded: () { setState(() { _isBannerAdReady = true; // Set the flag when the ad is loaded }); }, onAdFailedToLoad: (ad, error) { ad.dispose(); // Dispose of the ad if it fails to load print('Banner Ad failed to load: $error'); }, ), );
}
Error:- LoadAdError(code: 3, domain: com.google.android.gms.ads, message: Publisher data not found. https://support.google.com/admob/answer/9905175#9, responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: , adapterResponses: [], loadedAdapterResponseInfo: null), responseExtras: {})