Please provide the following:
- SDK Version: 35.0.0
- Platforms(Android/iOS/web/all): Android/iOS
I am using expo-ads-admob package to display AdMobBanner advertisement in my app as:
<AdMobBanner
bannerSize="fullBanner"
adUnitID="MY_AD_UNIT_ID"
testDeviceID="EMULATOR"
onDidFailToReceiveAdWithError={err => {
console.log(err)
}}
onAdViewDidReceiveAd={() => {
console.log("Ad Recieved");
}}
/>
but nothing shows up, when i execute my app, and just blank space is visible where the Ad should be.
Console log prints nothing. Neither an error nor “Ad Recieved”.
I have also configured my app.json accordingly:
"ios": {
"bundleIdentifier": "my.package.name",
"config": {
"googleMobileAdsAppId": "my-app-id"
}
},
"android": {
"package": "my.package.name",
"config": {
"googleMobileAdsAppId": "my-app-id"
}
}