AdExpirationPolicy

data class AdExpirationPolicy(val fullScreenTtl: Duration = 1.hours, val appOpenTtl: Duration = 4.hours, val nativeTtl: Duration = 1.hours)(source)

Time-to-live policy for cached ads. Defaults: full-screen 1 hour, app-open 4 hours, native 1 hour.

Constructors

Link copied to clipboard
constructor(fullScreenTtl: Duration = 1.hours, appOpenTtl: Duration = 4.hours, nativeTtl: Duration = 1.hours)

Properties

Link copied to clipboard

TTL for cached app-open ads. Default 4h.

Link copied to clipboard

TTL for cached interstitial and rewarded ads. Default 1h.

Link copied to clipboard

TTL for cached native ads. Default 1h.