thecodrr / react-native-google-admob

The most definitive Google Admob library for React Native.
BSD 2-Clause "Simplified" License
17 stars 4 forks source link

The ad request was successful, but no ads #6

Open Rob2k9 opened 5 years ago

Rob2k9 commented 5 years ago

Using this version of admob i constantly get this issue

The ad request was successful, but no ad was returned due to lack of ad inventory.

but using react-native-admob it works fine my app is in production using react-native-admob and ads show fine on that version but when building a new app using react-native using 0.60 this is the only error i get everything else works fine but this

whats causing this because i know the ad account and app are active and working just not using react-native-google-admob

thecodrr commented 5 years ago

I will take a look and see what's the problem. I also use this library and ads are fine. What type of ad are you using? Can you show your code?

Rob2k9 commented 5 years ago

I use all three types of ads

banner / int / reward

I used the code from your own example project

Rob2k9 commented 5 years ago

just done a clean app creation with react-native init and installed only your packae entered my app id in manifest and entered ad codes in index and launched app and again now i get this error

The ad request was successful, but no ad was returned due to lack of ad inventory.

the app id is from a live android application with the same package name as the fresh app i just created the live app runs on android tv and mobile devices both platforms currently showing ads with react-native-admob

when i create a blank project and install react-native-admob and enter my add information it instantly displays test ads the moment the ads loads only issue is the amount of errors that need fixed before it works and dosent support auto linking

so definetly seems like an issue with this package

thecodrr commented 5 years ago

I didn't make that many changes in the code but I will certainly take a look. It seems there's a bug in the changes I made.