Before loading ads, have your app initialize the Google Mobile Ads SDK by calling initialize which initializes the SDK and returns a promise once initialization is complete (or after a 30-second timeout).
This needs to be done only once, ideally at app launch.
Ads may be preloaded by the Mobile Ads SDK or mediation partner SDKs upon calling initialize. If
you need to obtain consent from users in the European Economic Area (EEA), set any
request-specific flags (such as tagForChildDirectedTreatment), or otherwise take action before
loading ads, ensure you do so before initializing the Mobile Ads SDK.
import mobileAds from 'react-native-google-mobile-ads';
mobileAds()
.initialize()
.then(adapterStatuses => {
// Initialization complete!
});If you are using mediation, you may wish to wait until the promise is settled before loading ads, as this will ensure that all mediation adapters are initialized.
See Configure outbound requests for request configuration that must be set
before initialize, and Consent & privacy basics for gathering consent first.