DoubleClick Studio AS3 API Reference

class com.google.ads.studio.events.VpaidEvent

The VpaidEvent class is used to create events that are fired by the VpaidEnabler and VpaidAdaptor.

Constants

NameValueDescription
CLICK_THRUAdClickThru

The VpaidEvent.CLICK_THRU property defines the value of the type property of the event object for the VPAID AdClickThru event.

DURATION_CHANGEAdDurationChange

The VpaidEvent.DURATION_CHANGE property defines the value of the type property of the event object for the VPAID AdDurationChange event.

ERRORAdError

The VpaidEvent.ERROR property defines the value of the type property of the event object for the VPAID AdError event.

EXPANDED_CHANGEAdExpandedChange

The VpaidEvent.EXPANDED_CHANGE property defines the value of the type property of the event object for the VPAID AdExpandedChange event.

IMPRESSIONAdImpression

The VpaidEvent.IMPRESSION property defines the value of the type property of the event object for the VPAID AdImpression event.

INTERACTIONAdInteraction

The VpaidEvent.INTERACTION property defines the value of the type property of the event object for the VPAID AdInteraction event.

LINEAR_CHANGEAdLinearChange

The VpaidEvent.LINEAR_CHANGE property defines the value of the type property of the event object for the VPAID AdLinearChange event.

LOADEDAdLoaded

The VpaidEvent.LOADED property defines the value of the type property of the event object for the VPAID AdLoaded event.

LOGAdLog

The VpaidEvent.LOG property defines the value of the type property of the event object for the VPAID AdLog event.

PAUSEDAdPaused

The VpaidEvent.PAUSED property defines the value of the type property of the event object for the VPAID AdPaused event.

PLAYINGAdPlaying

The VpaidEvent.PLAYING property defines the value of the type property of the event object for the VPAID AdPlaying event.

REMAINING_TIME_CHANGEAdRemainingTimeChange

The VpaidEvent.REMAINING_TIME_CHANGE property defines the value of the type property of the event object for the VPAID AdRemainingTimeChange event.

SIZE_CHANGEAdSizeChange

The VpaidEvent.SIZE_CHANGE property defines the value of the type property of the event object for the VPAID AdSizeChange event.

SKIPPABLE_STATE_CHANGEAdSkippableStateChange

The VpaidEvent.SKIPPABLE_STATE_CHANGE property defines the value of the type property of the event object for the VPAID AdSkippableStateChange event.

SKIPPEDAdSkipped

The VpaidEvent.SKIPPED property defines the value of the type property of the event object for the VPAID AdSkipped event.

STARTEDAdStarted

The VpaidEvent.STARTED property defines the value of the type property of the event object for the VPAID AdStarted event.

STOPPEDAdStopped

The VpaidEvent.STOPPED property defines the value of the type property of the event object for the VPAID AdStopped event.

USER_ACCEPT_INVITATIONAdUserAcceptInvitation

The VpaidEvent.USER_ACCEPT_INVITATION property defines the value of the type property of the event object for the VPAID AdUserAcceptInvitation event.

USER_CLOSEAdUserClose

The VpaidEvent.USER_CLOSE property defines the value of the type property of the event object for the VPAID AdUserClose event.

USER_MINIMIZEAdUserMinimize

The VpaidEvent.USER_MINIMIZE property defines the value of the type property of the event object for the VPAID AdUserMinimize event.

VIDEO_COMPLETEAdVideoComplete

The VpaidEvent.VIDEO_COMPLETE property defines the value of the type property of the event object for the VPAID AdVideoComplete event.

VIDEO_FIRST_QUARTILEAdVideoFirstQuartile

The VpaidEvent.VIDEO_FIRST_QUARTILE property defines the value of the type property of the event object for the VPAID AdVideoFirstQuartile event.

VIDEO_MIDPOINTAdVideoMidpoint

The VpaidEvent.VIDEO_MIDPOINT property defines the value of the type property of the event object for the VPAID AdVideoMidpoint event.

VIDEO_STARTAdVideoStart

The VpaidEvent.VIDEO_START property defines the value of the type property of the event object for the VPAID AdVideoStart event.

VIDEO_THIRD_QUARTILEAdVideoThirdQuartile

The VpaidEvent.VIDEO_THIRD_QUARTILE property defines the value of the type property of the event object for the VPAID AdVideoThirdQuartile event.

VOLUME_CHANGEAdVolumeChange

The VpaidEvent.VOLUME_CHANGE property defines the value of the type property of the event object for the VPAID AdVolumeChange event.

Properties

NameTypeDescriptionDefault
dataObject

Getter for the data property of the VPAID event.

Constructors

Expand
VpaidEvent(type:String, id:String=null, url:String=null, playerHandles:Boolean=false, message:String=null)

Creates a VpaidEvent object to pass as a parameter to event listeners.

Static Methods

Expand
VpaidEvent.createClickThruEvent(url:String, id:String, playerHandles:Boolean) : VpaidEvent

Factory method to create a new AdClickThru VpaidEvent.

Expand
VpaidEvent.createErrorEvent(message:String) : VpaidEvent

Factory method to create a new AdError VpaidEvent.

Expand
VpaidEvent.createEvent(type:String) : VpaidEvent

Factory method to create a generic VpaidEvent.

Expand
VpaidEvent.createInteractionEvent(id:String) : VpaidEvent

Factory method to create a new AdInteraction VpaidEvent.

Expand
VpaidEvent.createLogEvent(message:String) : VpaidEvent

Factory method to create a new AdLog VpaidEvent.

Instance Methods

Back to top

  1. com.google.ads.studio
    1. AssetLoader
    2. ContextualDiscovery
    3. F2fEnabler
    4. FullScreenButton
    5. HtmlEnabler
    6. ProxyEnabler
    7. VpaidEnabler
  1. com.google.ads.studio.configurable
    1. Configurable
  1. com.google.ads.studio.display
    1. StudioLoader
  1. com.google.ads.studio.events
    1. StudioEvent
    2. StudioVideoEvent
  1. com.google.ads.studio.expanding
    1. Expanding
  1. com.google.ads.studio.localconnect
    1. LocalConnectWrapper
  1. com.google.ads.studio.video
    1. ConfigurableVideoPlayer
    2. EnhancedVideoController
    3. PlayPauseButton
    4. Playlist
    5. Scrubber
    6. SoundToggleButton
    7. VideoController
    8. VideoEntry
    9. VideoPlayer
    10. VideoPlayerAdvanced
  1. com.google.ads.studio.vpaid
    1. VpaidTimer