AdsConfig

data class AdsConfig(val bannerAdUnitId: String = "", val adSize: AdSize = AdSize.BANNER)(source)

Data class representing the configuration for displaying ads.

Constructors

Link copied to clipboard
constructor(bannerAdUnitId: String = "", adSize: AdSize = AdSize.BANNER)

Properties

Link copied to clipboard
val adSize: AdSize

The size of the ad to be displayed. Defaults to AdSize.BANNER.

Link copied to clipboard

The unique identifier for the banner ad unit. Defaults to an empty string.