load

abstract suspend fun load(geometry: BannerGeometry? = null, sizePolicy: AdSizePolicy = placement.bannerSizePolicy, requestOptions: AdRequestOptions = placement.requestOptions): AdLoadState(source)

Loads a banner sized for geometry using sizePolicy and requestOptions.

geometry is host-supplied because the controller is process-cached and has no layout context of its own. Pass null only for headless use, where the controller falls back to a platform-provided width; that fallback is best-effort and returns a AdLoadState.Failed when the platform cannot determine one.

Prefer BannerAdView, which measures its own container and supplies geometry automatically.