id

abstract val id: String?

Identifier for the ad. This might be autogenerated.

For LinearAds with type AdSourceType.Bitmovin the value of the first UniversalAdId is returned. If this is not available, the Creative id will be returned as fallback. As last fallback a generated UUID will be returned.

For NonLinearAds with type AdSourceType.Bitmovin the NonLinear id is returned first, as a Creative can hold several NonLinear alternatives with individual ids. If this is not available, the same fallback hierarchy as for LinearAds applies, i.e. the value of the first UniversalAdId, then the Creative id and finally a generated UUID.