BottomAppBarNativeAdBanner
fun BottomAppBarNativeAdBanner(modifier: Modifier = Modifier, adUnitId: String, enabled: Boolean = false, onAdLoaded: (Boolean) -> Unit = {})(source)
Native ad strip for a bottom app bar, using NativeAdSlot without a card container.
Disabled by default. The host must explicitly enable this placement after reviewing its layout.
Warning: native ads next to navigation or other frequently tapped controls can cause accidental clicks. Prefer a clearly labelled ad within scrolling content. See Google's placement guidance. Enabling this component does not establish policy compliance for the host's layout.
Parameters
enabled
Opts into loading and rendering this placement. When false, no ad is requested or rendered and onAdLoaded reports false.
onAdLoaded
Reports whether an ad is displayed so the host can collapse the bar.