Control running ads manually

166 views
Skip to first unread message

ansh sachdeva

unread,
Sep 16, 2019, 3:00:14 PM9/16/19
to Interactive Media Ads SDK
Hi. I am a novice developer from India trying to understand ima sdk by implementing in a personal project.

I am quite confused regarding the working of IMA SDK. I tried the exoplayer approach in which we pass a content url along with an vast ad xml to exoplayer ima extension. This vast ad xml contains the timestamps at which the ad needs to be run and all the stuff like loading ads at the beginning, switching streams and changing timelines are handled by exoplayer and/or ima sdk extension.

But what if i don't want that automation? I want to manually recieve exoplayer's playback and want to control when the call to fetch ad would be made,and when the streams would be played/paused/changed.

What is the way to do so?

IMA SDK

unread,
Sep 16, 2019, 4:28:25 PM9/16/19
to anshsach...@gmail.com, ima...@googlegroups.com
Hi,

Thank you for reaching out to us. We're not familiar with the Exoplayer-IMA plugin, we don't know how such feature could be implemented using the Exoplayer. However, the IMA SDK for Android provides a way to manually launch your ad playback instead of having the SDK handling and scheduling the ad playback itself. Feel free to take at the Manual Ad Break Playback guide that provides instructions on overriding the default ad break schedule and configuring your own ad break playback timings.
If your implementation needs to be specific to the Android Exoplayer, we would recommend you to reach out to the Exoplayer-IMA Github issue tracker for further assistance.

Regards,
Arnaud Casame
IMA SDK Team

ref:_00D1U1174p._5001UHGy2W:ref
Reply all
Reply to author
Forward
0 new messages