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.

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

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

Link copied to clipboard
val maxDuration: Long? = null

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

Link copied to clipboard
val zoneAlias: String? = null

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

Link copied to clipboard
val zoneId: String? = null

Identifies the zone where the request is made.