{% setvar book_path %}/admob/android/_book.yaml{% endsetvar %} {% include "/admob/android/reference/_dackka-meta-tags.html" %}

AdValue

{% setvar page_path %}com/google/android/gms/ads/AdValue.html{% endsetvar %} {% setvar doc_root_path %}/admob/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

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