I am trying to load Admob Native ads. Previously (before app was updated) ads used to show but now they are not showing. I have posted the code, xml and the Logcat below.
In my case I had enabled Debug logging for ads previously and this ironically caused them not to work...
Go to your device's settings > Google > Ads > Enable debug logging for ads (Disable)
It can also help if you choose Reset advertising ID on the top.
After this Test Ads started working again.
Good luck!
I know this question is from 4 years ago, but I stumbled on this because I was having the same error code. My problem is caused by using my own app-id instead of test app id in the manifest file. Once I changed it to the test-app id, I got error-code 2 instead. It's because DNS is not configured properly in my environment. So anyone having the same issue, make sure you are using correct app id and DNS is configured (Follow this link on how to set it up - Android emulator not able to access the internet)