ConditionalAd

fun ConditionalAd(showWhenPurchased: Boolean = false, content: @Composable () -> Unit)

Composable function to conditionally render ads based on purchase status.

Parameters

showWhenPurchased

Whether to show the content when user has purchased (default: false)

content

The ad content to display