DoubleClick Ad Events
This test page demonstrates ad events flow. Using an ad blocker software will also trigger ad error events.
The expected events:
For pre-roll ads:
- preSequenceStart: is triggered by the Kaltura player to mark the beginning of the pre-sequence event
- AdSupport_StartAdPlayback: is triggered by the Kaltura player when the first pre-sequence ad starts
- onAdPlay and onAdComplete events are triggered by the DoubleClick plugin for each ad in the sequence *
- AdSupport_EndAdPlayback: is triggered by the Kaltura player when the last pre-sequence ad finish
- preSequenceComplete: is triggered by the Kaltura player to mark the end of the pre-sequence event
For mid-roll ads:
- midSequenceStart: is triggered by the Kaltura player to mark the beginning of the mid-sequence event
- AdSupport_StartAdPlayback: is triggered by the Kaltura player when the first mid-sequence ad starts
- onAdPlay and onAdComplete events are triggered by the DoubleClick plugin for each ad in the sequence *
- AdSupport_EndAdPlayback: is triggered by the Kaltura player when the last mid-sequence ad finish
- midSequenceComplete: is triggered by the Kaltura player to mark the end of the mid-sequence event
For post-roll ads:
- postSequenceStart: is triggered by the Kaltura player to mark the beginning of the post-sequence event
- AdSupport_StartAdPlayback: is triggered by the Kaltura player when the first post-sequence ad starts
- onAdPlay and onAdComplete events are triggered by the DoubleClick plugin for each ad in the sequence *
- AdSupport_EndAdPlayback: is triggered by the Kaltura player when the last post-sequence ad finish
- postSequenceComplete: is triggered by the Kaltura player to mark the end of the post-sequence event
Additional events:
- adClick: is triggered by the Kaltura player when the ad is clicked
- onAdSkip: is triggered by the Kaltura player when the ad is skipped
- onAllAdsCompleted: is triggered by the Kaltura player when all ads were shown
Ad error events:
- adErrorEvent: is triggered when the ad fails to load (usually caused by ad blocker usage)
Playing content events
- playerPlayed is triggered for every play request ( including between ads and between pause and resume )
- firstPlay is triggered for the first time content is played back.
* Note: onAdPlay and onAdComplete events are triggered per ad and are not part of the player event flow.
Event log for DoubleClick ads: