react-native-google-mobile-ads
    Preparing search index...

    Type Alias UseAppOpenAdManagerOptions

    Options for useAppOpenAdManager.

    Options-form only: there is no positional overload. Keep useAppOpenAd for one-shot load/show; this hook owns Google's AppOpenAdManager lifecycle (preload, 4-hour freshness, warm-foreground show, reload after close).

    type UseAppOpenAdManagerOptions = {
        adUnitId: string | null;
        autoLoad?: boolean;
        requestOptions?: RequestOptions;
    }
    Index
    adUnitId: string | null

    The ad unit to manage.

    null means there is no unit yet, so no request is issued and status stays 'idle'. Changing this value destroys any owned AppOpenAd.

    autoLoad?: boolean

    Master switch for issuing ad requests, on every path. Defaults to true.

    While false — set it so until consent / SDK init is ready — no path issues a load: not the automatic preload, not a warm foreground, not UseAppOpenAdManagerResult.showAdIfAvailable, and not a post-close reload. Warm foreground and showAdIfAvailable still show an ad that is already held and fresh, but they never start a request while it is false. Flip it to true once consent is resolved to begin preloading.

    requestOptions?: RequestOptions

    Request options forwarded to AppOpenAd.createForAdRequest. Changing them destroys any owned ad and, when autoLoad is true, loads again.