Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

2 Community Answers

George

JW Player Support Agent  
-1 rated :

Hello Jeremy,

This is George from JW Player. For me to better understand the issue I would need you to fill out this questionnaire for me.

Website that is hosting the JW Player:

JW Player setup code:

Video being played:

Ad tag being played:

Other than that a 400 Http error corresponds to this:
10.4.1 400 Bad Request
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

So someone, somewhere is sending a bad request, you could test your ad tag here:

http://demo.jwplayer.com/ad-tester/

Thank you for using JW Player, I’m awaiting your response.

Sincerely,
George
JW Player
Support Engineer

video

User  
0 rated :

Hi George,

Thanks for your reply. Here's my answers to your questionnaire:

1. Website that is hosting the JW Player:
Apache Web server

2. JW Player setup code:
Flash mode, Chrome, desktop. JSON:
'advertising': {
'admessage': "Your video won't play for xx seconds",
'client': "vast",
'schedule': {
'adbreak1': {
'offset': "pre",
'tag': requestUrl
},
'adbreak2': {
'offset': "post",
'tag': requestUrl
}
}
}

3. Video being played:
rtmp://01cbfe8ce8f1.fv01.bitsngo.net/a9675/v1/vj/CelebNews/01_acdc_f0.mp4

4. Ad tag being played:
http://ads.adaptv.advertising.com/a/h/chvMwg9NlorUX9ALtpiS3459hFNjPYDG76CVF4PcswBzww6IDxbm8A==?cb=860730286221951200&pageUrl=cnn.com&eov=eov&ip_addr=89.4.5.9

Anything else?

Thanks
J

This question has received the maximum number of answers.