AdValue

class AdValue


The monetary value earned from an ad.

Summary

Nested types

@Retention(value = SOURCE)
@IntDef(value = [PrecisionType.UNKNOWN, PrecisionType.ESTIMATED, PrecisionType.PUBLISHER_PROVIDED, PrecisionType.PRECISE])
annotation AdValue.PrecisionType

Allowed constants for getPrecisionType.

Public functions

Int

The precision type of the reported ad value.

Public properties

String!
Long

Public functions

getPrecisionType

@AdValue.PrecisionType
fun getPrecisionType(): Int

The precision type of the reported ad value.

Public properties

currencyCode

val currencyCodeString!

valueMicros

val valueMicrosLong