admob getting an ad response. ErrorCode: 0 Failed to load ad:0

后端 未结 21 1310
余生分开走
余生分开走 2020-11-29 04:12

I have followed many answers about that error here, but my problem is not solved. Every time I run my app no ads appear and I get this error message in Logcat:

21条回答
  •  无人及你
    2020-11-29 05:05

    If you have just implemented ads and want to test it only and still not getting ads seen then use this test ads ids Sample Ads Ids

    One more thing, if you are testing it in emulator then use this in Kotlin

    val adRequest = AdRequest.Builder()
                    .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
                    .build()
    

    Also go through this

提交回复
热议问题