Chrome / IMA SDK / HTML5 / VAST MP4 / Error 400

521 views
Skip to first unread message

Geoffray Veyssié

unread,
Apr 26, 2018, 11:14:00 AM4/26/18
to Interactive Media Ads SDK
Hello,

we are using the IMA SDK in our wrapper, and we've encountered an error that we didn't have before.
If you test here : https://developers.google.com/interactive-media-ads/docs/sdks/html5/vastinspector with : https://player.mediabong.com/epa/1/12345678/8.xml?url=http://vuble.tv/

You will see that IMA loads the xml, it loads the mp4, it does throws the ad loaded event, but for some reason, once we called adsmanager.start() method, the ad starts and we receive a google.ima.AdErrorEvent.Type.AD_ERROR right away with this error :
Error 400 : There was an error playing the video ad.
I sometime see the first frame before getting the error.

This is a simple MP4 VAST, we haven't had this issue before and haven't made any change lately.
Could you help us with this ?

It was tested on both Chrome and FF on desktop.

Thank you,
Geoffray

Message has been deleted

Geoffray Veyssié

unread,
Apr 26, 2018, 12:33:53 PM4/26/18
to Interactive Media Ads SDK
More information on the matter : this error 400 is caused by the error 1205 : "The browser prevented playback initiated without user interaction.". As it is a click to play I don't understand why I get this issue.
Geoffray

Le jeudi 26 avril 2018 18:00:07 UTC+2, Geoffray Veyssié a écrit :
Hello,

quick update : I made a change and forced the ad volume to 0 before start, though it shouldn't have to be because it is click to play. For some reason the click event doesn't go thourgh ?

The issue is still here though on this player : https://developer.jwplayer.com/tools/ad-tester/, configured with IMA and vpaid mode "Enabled".
The issue seems to be the same but forcing the volume to 0 doesn't do anything. Chrome seems to block the ad play.

Geoffray

ima-sdk-adv...@google.com

unread,
Apr 26, 2018, 2:12:55 PM4/26/18
to ima...@googlegroups.com
Hi Geoffray,

When I load the ad tag that you shared it is returning a VPAID ad: 

<VAST version="2.0">
<Ad id="1524762762">
<InLine>
<AdSystem>Mediabong Ad</AdSystem>
<AdTitle>Campaign</AdTitle>
<Impression>
<![CDATA[ https://static.mediabong.com/imp.js ]]>
</Impression>
<Creatives>
<Creative id="5ae2088a66c0c">
<Linear>
<AdParameters>
<![CDATA[
~~ REMOVED THE AD PARAMETERS TO SAVE SPACE ~~
]]>
</AdParameters>
<Duration>00:00:30</Duration>
<MediaFiles>
<MediaFile delivery="progressive" width="640" height="480" type="application/javascript" apiFramework="VPAID">
<![CDATA[
https://static.mediabong.com/wrapper/external_player.1803211.js
]]>
</MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
</InLine>
</Ad>
</VAST>

Loading the tag in the VSI, I see an error 901 (VPAID error), rather than the error 400 that you mentioned. Has the tag changed? Our team isn't able to support issues caused by VPAID creatives. I would suggest reaching out to your creative provider about their VPAID creative.

I should also mention that we do not support third party SDK implementations. So if you're using JW Player with their IMA Plugin, you'll need to reach out to their team for support.

Regards,
Chris Feldman
IMA SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+unsubscribe@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Geoffray Veyssié

unread,
Apr 27, 2018, 4:18:48 AM4/27/18
to Interactive Media Ads SDK
This is weird as I do get an ad on my end. Can you try with this one https://player.mediabong.com/ad/10999046/1/3.xml?url=http://ww.vuble.tv ? On here https://developers.google.com/interactive-media-ads/docs/sdks/html5/vastinspector .
You see a vpaid because this is a wrapper. What it does is load IMA to load the VAST MP4 afterwards. But for some reason, the user gesture from the user that starts the player doesn't go through anymore, though it did before. This tag does play on other players but doesn't on the player on the vast inspector or any other player with IMA in secure mode. It seems that the user gesture doesn't get from IMA to us.

Thank you,
Geoffray

ima-sdk-adv...@google.com

unread,
Apr 27, 2018, 11:50:54 AM4/27/18
to ima...@googlegroups.com
Hi Geoffray,

Not all VPAID creatives are compatible with IMA's ENABLED VPAID setting. If your creative requires access to the DOM of the parent page, you'll likely need to use INSECURE mode. You can read more about IFrame security in our VPAID overview.

Regards,
Chris Feldman
IMA SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Reply all
Reply to author
Forward
0 new messages