StorytellerAdPricing

@Serializable
data class StorytellerAdPricing(val model: String? = null, val currency: String? = null, val value: Double? = null)

Pricing metadata sourced from a VAST <Pricing> element (VAST 4.x).

All fields are optional because pricing is rarely populated and never required by the IAB spec.

Constructors

Link copied to clipboard
constructor(model: String? = null, currency: String? = null, value: Double? = null)

Properties

Link copied to clipboard
val currency: String? = null

ISO-4217 currency code of value.

Link copied to clipboard
val model: String? = null

Pricing model. Typical values: cpm, cpc, cpe, cpv.

Link copied to clipboard
val value: Double? = null

Numeric pricing value in currency units. Null when the source body could not be parsed as a number.