How do you implement AdMob's Native Ads in React Native? The best I've found is react-native-admob, but it only does fixed banners and full screen interstitials. How could I implement native ads inside my React Native app with AdMob or any other native ad provider?
Asked
Active
Viewed 9,949 times
2 Answers
8
There's also react native facebook ads Have a look: React Native Facebook Ads
This plugin allows you to implement native ads, only downside is that the installation process is a bit of a handful but it does work. It also requires react-native-fbsdk to be installed too so that your ads produce relevant ads to your users once they've logged in.
At this moment react-native-admob doesn't support native ads just yet, but you can implement it in a way that it's not fixed like so:
<ScrollView>
<View>
<Text>Add some content here</Text>
<AdMobBanner
bannerSize="smartBannerPortrait"
adUnitID="you-ad-unit-id"
testDeviceID="EMULATOR"
didFailToReceiveAdWithError={this.bannerError} />
</View>
</ScrollView>
![](../../users/profiles/3594871.webp)
A-Man
- 505
- 4
- 12
-
It's too difficult to get FB ads in your app, even some test banners. Then I went with Admob though it doesn't support native ads at this moment. – Tien Do May 29 '17 at 03:27
-
1Displaying banner ads in a scrollview is against google's admob policies and can get your ads/app suspended. They recommend to have fixed place in your layout to display banner ads and that they should not move with scroll. – Vinay Nov 05 '19 at 09:50
-
is there is way to integrate https://www.npmjs.com/package/react-native-admob-dfp/v/2.0.0-beta.3.9.? or any dfp google ads. – vicky keshri Jan 21 '20 at 17:48
0
Appodeal provides native ads. It asks you when creating your app which framework you want to use.
EDIT: Appodeal now discontinues the support of their react-native wrapper
![](../../users/profiles/7172902.webp)
Jobeso
- 553
- 1
- 7
- 11