Open madelinemckune opened 4 years ago
I believe that if you create the account and test immediately after that you receive an error because the account isn't completely known yet. Maybe try after a day?
I'm not sure if this also applies to the test apps because you use a different adUnitId. With my test (a day or two after creating the adMob account) the testcode worked inmediatly with just copying the code from the example.
Same things happening for me, @madelinemckune did you come up with a solution for this?
you should change adUnitId to adUnitID.
This is my first RN app and I wanted to use the Admob library to monetize my app. However, I cannot see ANY ads (yes, including the test ad) in my emulator. I am using RN -v 0.60.5. Any help is appreciated since I am just starting with RN!
Steps taken:
pod 'Google-Mobile-Ads-SDK'
pod install --repo-update
created admob account for iOS app
added to info.plist (with my app id)
<key> GADApplicationIdentifier </key> <string>ca-app-pub-3940256099942544~1458002511</string>
@import GoogleMobileAds; [GADMobileAds configureWithApplicationID:@"ca-app-pub-3940256099942544~1458002511"];
npm install react-native-admob
pod install
react-native run-ios