Playing audio-only ads in IMA HTML5 SDK (or Flash SDK)

455 views
Skip to first unread message

Arnaud Leyder

unread,
Sep 15, 2015, 12:27:08 PM9/15/15
to Interactive Media Ads SDK
Hi, 

I need to play audio-only ads with the IMA SDK. I see here: https://developers.google.com/interactive-media-ads/docs/sdks/html5/compatibility that it should work.

I cannot get this to work with my player or the Video Suite Inspector:
HTML5 logs:
(6:22:53 PM) Ads loaded.
(6:22:53 PM) Ad event: loaded
(6:22:53 PM) Ad error: AdError 403: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.
Flash logs: 
(6:23:25 PM) Ads requested
(6:23:25 PM) adsManagerLoaded
(6:23:25 PM) adError Ad error (code 403): No media found in the VAST ad.
(6:23:25 PM) Error: No media found in the VAST ad.


My question is how to make it work with IMA SDK HTML5 or Flash? Preferably with the HTML5 SDK.
Is there a thing that audio-only ads will only play in HTML5 audio tag or should it work with HTML5 video tag as well?

Thanks
Arnaud

Tyler Sidell (IMA SDK Team)

unread,
Sep 15, 2015, 4:07:27 PM9/15/15
to Interactive Media Ads SDK
Hi Arnaud, 

You are correct that the HTML5 supports audio ads. The audio is not playing in this particular use case due to the mimetype specification. Change "audio/x-mpeg-3" to "audio/mpeg" and that should work. I've tried this change out in our Video Suite Inspector and was able to get the audio ad to play.

Thanks,
Tyler Sidell
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages