react-native-admob icon indicating copy to clipboard operation
react-native-admob copied to clipboard

No ad to show

Open rafWork opened this issue 8 years ago • 8 comments

Hello, it's me again...

I keep getting "no ad to show" error on iOS simulator. Actually it doesn't happen all the time but when I refresh the simulator, error shows up sometimes and it takes 10-20 refreshes to disappear. It happens with both admob test id and my own ad unit id. Android emulator just works fine btw. I am about to publish my app end of this week so is there any chance to solve that? Or is it just problem with simulator?

screen shot 2017-12-21 at 14 10 41

rafWork avatar Dec 21 '17 11:12 rafWork

It can always happen that there’s no ad to show. But the error is actually caused by the console.error in the onAdFailedToLoad prop. If you remove that you should be safe.

koenpunt avatar Dec 21 '17 18:12 koenpunt

How can this happen with the admob test id? isn't supposed to serve a video for the purpose of the test?

Maxwell2022 avatar May 25 '18 04:05 Maxwell2022

I have the same issue with @rafWork. By using test id in IOS is fine but real id will show the error, as @koenpunt advise i remove onAdFailedToLoad to fix the error problem but my admob screen still doesn't show admob. Should i ignore it or try to fix it next ?

motogod avatar May 29 '18 05:05 motogod

@motogod when did you setup your AdMob account? it takes up to 24h to activate sometime, you'll receive an email when activated. Also I think you need to setup AdSense:

https://www.google.com/adsense

Also I found that the test_ids are only working in the simulators, if you test your app on a physical device it's not working

Maxwell2022 avatar May 29 '18 05:05 Maxwell2022

@Maxwell2022 Thanks for your information, i just created the Admob id several hours ago for IOS project. I know what happen now, thank you.

motogod avatar May 29 '18 08:05 motogod

I am also getting this error. Is there anyone who has solution? Screen Shot 2020-06-01 at 10 25 22 PM

fspider avatar Jun 02 '20 05:06 fspider

I am also getting this error. Is there anyone who has solution? Screen Shot 2020-06-01 at 10 25 22 PM

The same error on iOS, any solution???

Ildar7sins avatar Oct 26 '20 07:10 Ildar7sins

SoMe PrObLem

Mrjavaci avatar Nov 27 '20 20:11 Mrjavaci