ImaAdsProvider
class ImaAdsProvider @JvmOverloads constructor(context: Context, imaCountdownEnabled: Boolean = false, imaAttributionEnabled: Boolean = false) : TimelineAdsProvider
Google IMA implementation of the ogplayer ads SPI. Maps IMA AdEvents and AdPodInfo into the SDK ad model — pod data (position/size/break type) is first-class, end to end.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
IMA only honors a programmatic skip when it is NOT rendering its own skip button (audio ads / companion-less use). For regular video ads the IMA-rendered skip button is the only way to skip — verified empirically: AdsManager.skip() no-ops and the ad completes.