Comments (11)
Just did an other test and installed the demo app on the Android emulator (Pixel 2 API 25 x86 running Android 7.1.1) and has the same result. For the real device, I'm using a Samsung Galaxy Tab A 2019 tablet, so Android OS is recent...
from react-native-admob-native-ads.
@pperron did you test the demo app? I have no such issue in the demo app. Try it out there. The lack of inventory error occurs due to server not returning the ads, its not related to this library. You can clear the build folders etc and try again, remove the app from your phone/emulator then install fresh.
from react-native-admob-native-ads.
Hi,
yes I was using the demo app for my testing. Tested the IOS version on my Iphone 11 and was working OK, stopped and restarted the app and get the ad displayed each time. Right now I'M trying to compile my project with your lib for IOS, getting some errors, will finish make it work and see if integrated to my project it is working OK.
After that will come back to Android to see if still have the problem. That way I will know if my network is responsible for some reason (will take that possibility off the problem list at least !).
I working on that tonight, so will keep you informed.
Thanks !
from react-native-admob-native-ads.
@pperron Have you found any solution?
I am having the same problem.
from react-native-admob-native-ads.
@perrosnk I have been testing on IOS to see if I have same problem. So far I tested the example app and it was working OK. Then waisted long time to make my project (that in using in part the lib but was not the cause of me having problems to compile) compile for IOS. When I succedded, the ads were displaying OK too. Working again on that tonight, will see if I have time to get back to the Android version to see if problem still there.
Would be useful to know if any other users have the same problem for the Android version...
from react-native-admob-native-ads.
I using only Android and I have Admob configured:
- React Native 0.61.5 version like the example
- Always removing the App in the simulator and removing the build folder in android folder.
I did 2 tests (in simulator, mac)
- using my Admob IDs configuration:
- In my app: NOT show Ads
- In Example app: YES, show Ads - using the example Admod configuration:
- In my app: NOT show Ads
- In Example app: YES, show Ads
I have followed all the needed steps, I have reviewed all the example gradle configuration files, etc. and with the same configuration and I don't understand why with the same Admod IDs in the example I get Ads and in my app don't.
from react-native-admob-native-ads.
@albertocubero delete your app from the phone/clean build folders. Thats the only way I have fixed it ever. in android folder run ./gradlew clean
and run build again
from react-native-admob-native-ads.
It loads on Android only ones after installing the app (use this unit id: ca-app-pub-3940256099942544/1044960115). After I have the same error. Only with this test native video unit id. If I delete the app and install it again it will load.
from react-native-admob-native-ads.
So this happens if you don't immediately render the ad components inside the NativeAdView, for example:
<NativeAdView> {isVisible && <MediaView />} </NativeAdView>
from react-native-admob-native-ads.
Same issue. It loads on Android only ones after installing the app, after I have the same error "The ad request was successful, but no ad was returned due to lack of ad inventory."
from react-native-admob-native-ads.
Same issue here too. Ad loads for given example ad on the documentation example, doesn't work for other created ads
from react-native-admob-native-ads.
Related Issues (20)
- Google Ads intends to primarily move to real-time bidding
- [AD][FAILED]: The operation couldn’t be completed. ( error 3.) HOT 4
- Clicking on the Ad shows different Ad detail
- Clicking on the Ad shows different Ad detail
- Clicking on the Ad shows different Ad detail HOT 4
- I have added adchoicesPlacement but adchoices icon is not showing HOT 2
- I use NativeMediaView on iOS, but "Asset uses ImageView, not MediaView" is showing. HOT 13
- Invalid template ID: -1 affecting 40% of android user base HOT 5
- Getting template ID error... {"code": 0, "domain": "com.google.android.gms.ads", "message": "Invalid template ID: -1"} HOT 4
- [Question] Requested size
- NEED AN URGENT UPDATE (NOT WORKING)
- how to close native ad or render another ad?
- Adbadge, Headline, CallToActionView etc are showing in IOS but not showing in android HOT 1
- Successfully patched Failure to build "no visible @interface for 'GADRequestConfiguration' declares the selector 'tagForChildDirectedTreatment:'" HOT 3
- ERROR Ad failed to load {"code": 0, "domain": "com.google.android.gms.ads", "message": "Internal error."} HOT 5
- The Components Are Not Appearing
- "code": 0, "domain": "com.google.android.gms.ads", "message": "Internal error." HOT 3
- NativeAdView is not loading properly.
- Please Update NPM package with latest version HOT 2
- Component 'RNGADNativeView' re-registered bubbling event 'topAdLoaded' as a direct event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-admob-native-ads.