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

Count the number of Ads Requested using adRequest


Hi,
We are using JWPlayer 7.5 (Self-Hosted) version and one of the variables we would like to track is the adRequest using VPAID. Is this possible with our current setup?

Apologies for the perhaps obvious question and thank you in advance for your help and assistance,
Hong

3 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi Hong,

The .on(“adRequest”) API event should fire with VPAID ads, as long as you’re using “vast” as your ad client. If this is not working for you, can you provide me with a URL to reproduction page?

Thanks!

i...

User  
0 rated :

Thanks Alex for the quick response.

The URL is https://insite.ipsosinteractive.com/InSitePortal_Test/home

Cheers,
Hong

Alex

JW Player Support Agent  
0 rated :

Hi Hong,

Can you point me to the exact page you are having issues with? I found our player on two pages on your site, one for the “Sully” movie trailer and another on the page for the “Kubo and the Two Strings” trailer. The second page had an ad embedded on it and when I visit that page and enter the following into the console before I begin playback:

jwplayer().on("adRequest", function(e) { console.log(e); });

The adRequest event fires properly when I click Play on the player and the ad is requested.

Please let me know. Thanks!

This question has received the maximum number of answers.