StorytellerClipsAdConfiguration

data class StorytellerClipsAdConfiguration(val bottomBannerEnabled: Boolean = true, val preRollEnabled: Boolean = true, val betweenClipsAdProviderOrder: List<Storyteller.StorytellerAdProvider>? = null)

Configuration for ad behavior in one Clips presentation.

Constructors

Link copied to clipboard
constructor(bottomBannerEnabled: Boolean)

Preserves the original positional one-Boolean API, where the value controls bottom banners.

constructor(bottomBannerEnabled: Boolean = true, preRollEnabled: Boolean = true, betweenClipsAdProviderOrder: List<Storyteller.StorytellerAdProvider>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional provider priority for ads shown between Clips. null preserves the SDK's existing module-order and custom-module behavior, an empty list disables standard between-Clip ads for this presentation, and a populated list restricts and orders recognized eligible providers. IMA, remote cadence, consent, and bottom banners remain independent.

Link copied to clipboard

If true, bottom banner ads can be requested and rendered when remote settings enable them. Default is true.

Link copied to clipboard

If true, an eligible standard zero-index opening ad or configured IMA module can show before the initially opened Clip. If false, both opening paths are suppressed while later between-Clip cadence and bottom banners remain eligible. Default is true.

Functions

Link copied to clipboard

Preserves the original one-property data-class copy method for compiled integrations.