AdProperties

class AdProperties @JvmOverloads constructor(val title: String? = null, durationInSeconds: Int? = null, val isMuted: Boolean? = null, val campaignId: String? = null, val creativeId: String? = null) : PermutiveParams

Model representing standard optional properties for all Ad events.

Parameters

title

Advert title

durationInSeconds

Duration of the advert in seconds, must not be negative

isMuted

Whether the advert was muted

campaignId

Campaign ID of the advert

creativeId

Creative ID of the advert

Throws

if the duration is negative

Constructors

Link copied to clipboard
fun AdProperties(title: String? = null, durationInSeconds: Int? = null, isMuted: Boolean? = null, campaignId: String? = null, creativeId: String? = null)

Types

Link copied to clipboard
class Builder

Builder for AdProperties.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val campaignId: String? = null

Campaign ID of the advert

Link copied to clipboard
val creativeId: String? = null

Creative ID of the advert

Link copied to clipboard

Duration of the advert in seconds

Link copied to clipboard
val isMuted: Boolean? = null

Whether the advert was muted

Link copied to clipboard
val title: String? = null

Advert title