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

    Type Alias AdPoolAvailability

    Snapshot of pool buffer readiness from AdPool.getAvailability().

    iOS and both Android backends expose a count for SDK-managed preloaders (getNumAdsAvailable on Android classic and Next-Gen, numberOfAdsAvailableWithPreloadID: on iOS). Library-managed (emulated) pools report the library's own buffer depth. observedCount is therefore always present — not optional.

    Caveat: on the Android V2 path neither the boolean nor the count sweeps for expiry, so both are upper bounds rather than a count of ads the SDK would still consider valid. Whether iOS sweeps is UNKNOWN.

    type AdPoolAvailability = {
        available: boolean;
        observedCount: number;
    }
    Index
    available: boolean

    True when observedCount > 0.

    observedCount: number

    Observed buffer depth. Upper bound: does not sweep for expiry on Android V2; iOS sweep UNKNOWN.