final case class AdUnit(overrideCallbacks: Boolean = false, expirationTime: Int = 0, adUnitId: String = "", requestAgent: String = "", price: Double = 0.0, customTargeting: Map[String, String] = _root_.scala.collection.immutable.Map.empty, sleepTimeBefore: Option[Int] = _root_.scala.None, sleepTimeAfter: Option[Int] = _root_.scala.None, serverParams: Option[String] = _root_.scala.None) extends GeneratedMessage with Updatable[AdUnit] with Product with Serializable
- overrideCallbacks
Indicates that the SDK should overrides callbacks or not
- expirationTime
Loaded Ad instance storing interval in milliseconds
- adUnitId
Ad Unit identifier
- requestAgent
Request agent for GAM Request
- price
Price point
- customTargeting
Custom Targeting for GAM Request
- sleepTimeBefore
Time interval in milliseconds to wait before starting poll ad unit
- sleepTimeAfter
Time interval in milliseconds to wait after ad unit has been polled.
- serverParams
Encoded server custom parameters [price_source, price_coef, custom_targeting params]
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- AdUnit
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AdUnit(overrideCallbacks: Boolean = false, expirationTime: Int = 0, adUnitId: String = "", requestAgent: String = "", price: Double = 0.0, customTargeting: Map[String, String] = _root_.scala.collection.immutable.Map.empty, sleepTimeBefore: Option[Int] = _root_.scala.None, sleepTimeAfter: Option[Int] = _root_.scala.None, serverParams: Option[String] = _root_.scala.None)
- overrideCallbacks
Indicates that the SDK should overrides callbacks or not
- expirationTime
Loaded Ad instance storing interval in milliseconds
- adUnitId
Ad Unit identifier
- requestAgent
Request agent for GAM Request
- price
Price point
- customTargeting
Custom Targeting for GAM Request
- sleepTimeBefore
Time interval in milliseconds to wait before starting poll ad unit
- sleepTimeAfter
Time interval in milliseconds to wait after ad unit has been polled.
- serverParams
Encoded server custom parameters [price_source, price_coef, custom_targeting params]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val adUnitId: String
- def addAllCustomTargeting(__vs: Iterable[(String, String)]): AdUnit
- def addCustomTargeting(__vs: (String, String)*): AdUnit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearCustomTargeting: AdUnit
- def clearServerParams: AdUnit
- def clearSleepTimeAfter: AdUnit
- def clearSleepTimeBefore: AdUnit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: AdUnit.type
- Definition Classes
- AdUnit → GeneratedMessage
- val customTargeting: Map[String, String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expirationTime: Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- AdUnit → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AdUnit → GeneratedMessage
- def getServerParams: String
- def getSleepTimeAfter: Int
- def getSleepTimeBefore: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val overrideCallbacks: Boolean
- val price: Double
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestAgent: String
- def serializedSize: Int
- Definition Classes
- AdUnit → GeneratedMessage
- val serverParams: Option[String]
- val sleepTimeAfter: Option[Int]
- val sleepTimeBefore: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- AdUnit → GeneratedMessage
- def update(ms: (Lens[AdUnit, AdUnit]) => Mutation[AdUnit]*): AdUnit
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAdUnitId(__v: String): AdUnit
- def withCustomTargeting(__v: Map[String, String]): AdUnit
- def withExpirationTime(__v: Int): AdUnit
- def withOverrideCallbacks(__v: Boolean): AdUnit
- def withPrice(__v: Double): AdUnit
- def withRequestAgent(__v: String): AdUnit
- def withServerParams(__v: String): AdUnit
- def withSleepTimeAfter(__v: Int): AdUnit
- def withSleepTimeBefore(__v: Int): AdUnit
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AdUnit → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)