
Impression Delay
HI,
I want call/delay impression by x seconds for example the after playing video ad for 5 seconds the impression url should be called.
Let me know any suggestions
Thanks in Advance
HI,
I want call/delay impression by x seconds for example the after playing video ad for 5 seconds the impression url should be called.
Let me know any suggestions
Thanks in Advance
I’m not sure I fully understand what you are trying to do, but would a setTimeout() inside of a jwplayer().onAdImpression() call work for you?
Thanks for the reply Todd Grunow ,
the jw player calls impression when video ad started, i want jw player to call impression at particular time (for eg: , after video ad played for 10 secs, after then only jw player to call the impression).
A delay in the impression call thats it.
Let me know any suggestions
Thanks in Advance
So you want the ad to start 10 seconds after the video plays? You can easily schedule that in the advertising schedule block. Please see http://support.jwplayer.com/customer/portal/articles/1432024-scheduling-ad-breaks- for more details.
Thanks for the reply Todd Grunow ,
No i am not asking video ad delay , i am asking in delay in the impression,
for example the video ad is being viewed , in 10th second i want jw player to call impression. In Default Jw player calls impression on the spot of video delivery but i want a delay after viewer is watched the video ad for 10 seconds .
Let me know any suggestions
Thanks in Advance
I think I better understand what you are trying to do. IAB standards mandate that an ad impression is triggered as soon as the ad playback begins. If you are trying to send your own ad impression analytics, you could also define your own ad tracking events inside the VAST tag.
You can use the onAdTime() API call to fire an event x seconds into ad playback:
var runOnce = false;
jwplayer().onAdTime(function(adTime){
console.log(adTime.position);
if (adTime.position > 10) {
if (runOnce == false) {
console.log(‘You watched 10 seconds of this ad!’);
runOnce = true;
}
}
});