Reputation: 815
I implemented a new AdMob Native Ads for Android, but it work only if I adding device id into AdRequest.addTestDevice()
After loading I have a next LogCat
stack:
I: Starting ad request.
I: Use AdRequest.Builder.addTestDevice("241E542ADB6B0EDC7765DAAC7107523B") to get test ads on this device.
W: Received error HTTP response code: 403
W: There was a problem getting an ad response. ErrorCode: 0
W: Failed to load ad: 0
I tried different network(VPN) and different devices. AdMob placement was created 25 hours ago.
I tried use google sample app id, placement id and google-services.json and all work fine, but with real data I have only error
I found link1 and link2 , but did not get an answer whether it will work after I deploy application in Google Play?
Upvotes: 3
Views: 2563
Reputation: 755
I´m not sure why, I couldn´t find any info about that, but if you change in your google-services.json
"ads_service": {
"status": 2
}
to
"ads_service": {
"status": 1
}
your native adds will appear. This only happens with native, the regular banner is displayed even with status 2.
EDIT: This solution stopped working in my app.
Upvotes: 1