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

Note: Ooyala Player V2 has been deprecated and is scheduled to be disabled. For details and alternatives, see the OVP Release Notes.

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?