AdswizzAdZone

@JsonClass(generateAdapter = true)
data class AdswizzAdZone @JvmOverloads constructor(@Json(name = "zoneId") val zoneId: String? = null, @Json(name = "maxAds") val maxAds: Int? = null, @Json(name = "maxDuration") val maxDuration: Long? = null, @Json(name = "zoneAlias") val zoneAlias: String? = null)

AdswizzAdZone is used in AdswizzAdRequest to set the zones on which the request will be made. Mandatory. One AdswizzAdRequest can use more than one zone ID.

Parameters

zoneId

: Identifies the zone where the request is made.

maxAds

: maximum number of ads to be returned for the specified AdswizzAdRequest object.

maxDuration

: maximum duration (sum of each individual ad duration) to limit total ad time.

zoneAlias

: zone alias could be used instead of zone id ( only one of them should be set)

Constructors

Link copied to clipboard
constructor(@Json(name = "zoneId") zoneId: String? = null, @Json(name = "maxAds") maxAds: Int? = null, @Json(name = "maxDuration") maxDuration: Long? = null, @Json(name = "zoneAlias") zoneAlias: String? = null)

Properties

Link copied to clipboard
val maxAds: Int? = null
Link copied to clipboard
val maxDuration: Long? = null
Link copied to clipboard
val zoneAlias: String? = null
Link copied to clipboard
val zoneId: String? = null