
JW6, onAdError call back message and code for no ad found is different to the documentation
Hi,
I am using jwplayer v 6.12.4945.
I am trying to find out from the onAdError callback if an advert was NOT found by a VAST request.
According to http://support.jwplayer.com/customer/portal/articles/2051720-javascript-api-reference-legacy#advertising this callback should inform me of:
a) ad tag empty
b) no compatible creatives
Currently, my VAST response is:
<VAST version="2.0">
<Error> </Error>
<Extensions>
<Extension type="adaptv_error">
<Error code="2"><![CDATA[No ad could be found matching this request.]]></Error>
</Extension>
</Extensions>
</VAST>
But the onAdError() JSON for this VAST response says there was a problem playing the advert! Its event object contains:
code: 400
message: "Error Playing Ad Tag"
1. What does the '400' code really mean?
2. Is this 'Error Playing Ad tag' a bug in jwplayer.js?
Many thanks
Jeremy