NoDataNativeAdCard

fun NoDataNativeAdCard(modifier: Modifier = Modifier, adUnitId: String, containerColor: Color = Color.Unspecified, onAdLoaded: (Boolean) -> Unit = {})(source)

Media-led NativeAdSlot for empty and error states.

Parameters

containerColor

Overrides the card color to match the host surface.

onAdLoaded

Reports whether an ad is displayed so the host can remove empty spacing.