Ads ActionScript APIs (Player V2 Deprecated)

Ads ActionScript APIs can be used to respond to events such as starting, clicking, completing and skipping ads.

Ads Event Handling

Important: Ooyala Player V2 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V2 will no longer play your video or audio content. Customers still using Player V2 need to migrate to Player V4 (see Player V4.

The following table describes the ActionScript events that are associated with ads.

Event Parameters of the third argument to callback Description
adClicked

adClicked Cancelable. Parameters: (format, source, type) Example: video, doubleClick, adClicked

An ad has been clicked on. The event is only fired for VAST ads, Google AFV, DoubleClick, and YuMe.
adCompleted

adCompleted Cancelable Parameters: (format, source, type) Example: video, doubleClick, adClicked

An ad has finished playing.
adStarted

adStarted Cancelable Parameters: (format, source, type) Example: video, doubleClick, adClicked

An ad has started playing.

Related Information

The following list provides links to Backlot documentation that provides some general information about ads and monetization.

Was this article helpful?