Admob not work properly ErrorCode: 2

2019-09-03 04:00发布

I make app with Admob ads and it not work properly. When I want to test this on smartphone I get error

W/Ads: There was a problem getting an ad response. ErrorCode: 2 Failed to load ad: 2

To add admob to this app I used code from oficial tutorial https://developers.google.com/admob/android/quick-start#give_your_app_an_ad_unit_id

I test it on Xiaomi Redmi note 2. When I use test mode in that code I get the same error.

标签: android admob
1条回答
乱世女痞
2楼-- · 2019-09-03 04:30

The same thing happens to me on my Redmi note 2. But it works on other devices. I assume there's an adblocker installed initially that I just haven't been able to find yet.

查看更多
登录 后发表回答