MediaAdEntity

data class MediaAdEntity @JvmOverloads constructor(var adId: String, var name: String? = null, var creativeId: String? = null, var podPosition: Int? = null, var duration: Double? = null, var skippable: Boolean? = null)

Properties for the ad context entity attached to media events during ad playback. Entity schema: iglu:com.snowplowanalytics.snowplow.media/ad/jsonschema/1-0-0.

Parameters

adId

Unique identifier for the ad.

name

Friendly name of the ad.

creativeId

The ID of the ad creative.

podPosition

The position of the ad within the ad break, starting with 1. It is automatically assigned by the tracker based on the tracked ad break start and ad start events.

duration

Length of the video ad in seconds.

skippable

Indicating whether skip controls are made available to the end user.

Constructors

Link copied to clipboard
constructor(adId: String, name: String? = null, creativeId: String? = null, podPosition: Int? = null, duration: Double? = null, skippable: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var name: String?
Link copied to clipboard
Link copied to clipboard