googleads / googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Apache License 2.0
340 stars 284 forks source link

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: {}) #1183

Closed krupalieBizTrait closed 2 weeks ago

krupalieBizTrait commented 2 weeks ago

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'); }, ), );

_bannerAd!.load(); // Load the ad

}

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: {})

malandr2 commented 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!