sakebook / flutter_native_ads

Show AdMob Native Ads use PlatformView
https://pub.dev/packages/native_ads
Apache License 2.0
66 stars 32 forks source link

Ads wont show if using my own AdUnity ID, but if using test ads ID it's fine... #26

Closed mestartlearncode closed 4 years ago

mestartlearncode commented 5 years ago

Hi,

Ads won't show if using my Admob ID, but if using test ads it's fine...

I just get the error: {errorCode: 3}

any idea?

sakebook commented 5 years ago

The meaning of error code 3 is that there are no ads to retrieve.

The request is correct.

https://stackoverflow.com/questions/33566485/failed-to-load-ad-3

mestartlearncode commented 5 years ago

Hi @sakebook

is there a way to implement, if onAdFailedToLoad is triggered then widget to be able to destroy or replaced by another image (custom ads)?

currently, if ads failed, i just see a blank white screen, this generates wasteful space...

Thanks In Advance...

sakebook commented 5 years ago

I think it can be realized by using Provider.

https://pub.dev/packages/provider

Also, I thought it would be useful to have a fail back widget. so I'll create issue.