import { AdMobBanner, setTestDeviceIDAsync } from "expo-ads-admob";
const RequestScreen = ({ route, navigation }) => {
useEffect(() => {
setTestDeviceIDAsync("EMULATOR");
}, []);
return(
<View style={{ flex: 1 }}>
<AdMobBanner
bannerSize="fullBanner"
adUnitID="ca-app-pub-xxxxxxxxxxxxxxxxx/yyyyyyyyyyy"
servePersonalizedAds
onDidFailToReceiveAdWithError={(e) => console.log(e)}
/>
</View>
)
}
I android emulator shows the ads perfectly, but when there is no ads in the production version!
pls. help?