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

    Type Alias MultiFormatAdRequestOptions

    MultiFormatAdRequestOptions: RequestOptions & {
        adServer?: "ad-manager";
        bannerSizes?: MultiFormatBannerSize[];
        formats: MultiFormatAdFormat[];
        requestCount?: 1;
        stalenessWindowMillis?: number;
    }

    One AdLoader-style request where native and/or GAM banner formats compete for a single winner.

    This is multi-format, not multi-count: requestCount is fixed at 1. Banner requires bannerSizes; adaptive and FLUID sizes are excluded because no view width exists at request time. The banner arm is Google Ad Manager only, so adServer accepts only 'ad-manager'.

    TypeScript excludes known-illegal size/count values. Runtime creation still validates facts types cannot express, including an empty format list, banner without sizes, and an AdMob unit used with banner.

    Type Declaration

    • OptionaladServer?: "ad-manager"
    • OptionalbannerSizes?: MultiFormatBannerSize[]
    • formats: MultiFormatAdFormat[]
    • OptionalrequestCount?: 1
    • OptionalstalenessWindowMillis?: number

      Publisher staleness window in milliseconds. When omitted, the request applies the one-hour guidance default for display formats and records that source on each handle. Not the SDK's cache timeout.