clockbyte / admobadapter

It wraps your Adapter to display Admob native ads and banners in a ListView/RecyclerView data set. It based on the Yahoo fetchr project https://github.com/yahoo/fetchr
Apache License 2.0
237 stars 75 forks source link

I have a question. #93

Closed gaxfor closed 7 years ago

gaxfor commented 7 years ago

When does NativeExpressAdView's id initialize? In addition, the following error will continue to occur.

No fill from ad server. Failed to load ad: 3 com.clockbyte.admobadapter.sampleapp I/com.clockbyte.admobadapter.expressads.AdmobFetcherExpress: onAdFailedToLoad 3

kot331107 commented 7 years ago

@gaxfor Please check https://stackoverflow.com/questions/33566485/failed-to-load-ad-3. Seems everything is OK with your unit id. There's simply no suitable ads for your options (check your mediation options in Admob, or maybe you've set too high ECPM floor level). Sometimes I get the same.

gaxfor commented 7 years ago

Is it correct to initialize the ID with setSingleAdUnitId?

kot331107 commented 7 years ago

@gaxfor Absolutely correct, if you aren't going to use multiple unit ids.