LinearPriceGranularity

class LinearPriceGranularity @JvmOverloads constructor(val min: Int, val max: Int, val step: Int = 20) : Mapping

A mapping using a linear step function to generate the target dynamic price value

Parameters

min

the minimum line item bid in cents

max

the maximum line item bid in cents

step

the step size, defaults to 20 cents

Constructors

Link copied to clipboard
constructor(min: Int, max: Int, step: Int = 20)

Properties

Link copied to clipboard
val max: Int
Link copied to clipboard
val min: Int
Link copied to clipboard
val step: Int

Functions

Link copied to clipboard
open override fun getTarget(ad: NimbusAd): String