AdRequest

interface AdRequest

Represents base Ads request.

Inheritors

Properties

Link copied to clipboard

The list of AdOverlayUIScope instances describing views that are on top of the ad view group, but that are essential for controlling playback and should be excluded from ad viewability measurements.

Link copied to clipboard
abstract var adTagUrl: String?

The URL from which ads will be requested. NOTE: Concrete implementation MUST enforce semantics of this property. For example for Google IMA Client Side Ads Insertion case this property must not be null but in case of Google IMA Server Side Ads Insertion case this property may be null.

Link copied to clipboard
abstract val languageTag: String?

The specified IETF BCP 47 language subtag string for the language used to display text for ads related labels such as a label indicating the total number of ads in a pod or a label indicating the click through URL etc. NOTE: Check the list of common primary language subtags at https://en.wikipedia.org/wiki/IETF_language_tag

Link copied to clipboard
abstract val loadMediaTimeoutMs: Int?

Sets the ad media load timeout, in milliseconds.