The Ad Unit ID for the Interstitial Ad. You can find this on your Google Mobile Ads dashboard. You can destroy ad instance by setting this value to null.
OptionalrequestOptions: RequestOptions
Optional RequestOptions used to load the ad.
React Hook for Interstitial Ad.
Loads as soon as it can, unless autoLoad is false. Read status for the
ad's current position in its lifecycle, and the fields beside it for what has
already happened to it.
const { status, show } = useInterstitialAd({
adUnitId: TestIds.INTERSTITIAL,
autoLoad: consentReady,
});
return <Button title="Continue" disabled={status !== 'loaded'} onPress={() => show()} />;
React Hook for Interstitial Ad.