Follow

General Events XREF FROM EACH MODULE ARTICLE TO THE APPROPRIATE SECTION IN THIS ARTICLE

The following events are triggered when any of the modules are loaded.

Event Description
EBG.EventName.EB_INITIALIZED Triggers when the API is initialized.
EBG.EventName.COLLAPSE Triggers when any expandable panel belonging to the ad is collapsed.
EBG.EventName.DEVICE_MOTION Triggers when the 'devicemotion' event is detected in the parent window.
EBG.EventName.EXPAND Triggers when an expandable panel belonging to the ad is expanded.
EBG.EventName.PAGE_LOAD Triggers when the page is fully loaded.
EBG.EventName.SCREEN_ORIENTATION Triggers when the screen orientation changes. Only works on mobile devices.
EBG.EventName.SDK_DATA_CHANGE

Triggers each time data changes as a result of an event. Use when building ads that are compliant with MRAID (Mobile Rich Media Ad Interface Definitions).

EBG.EventName.VISIBILITY

Triggers when the viewability of the ad changes. For example, when the user scrolls the ad up above the fold. You might prefer to access this information synchronously via method EB.getVisibilityData()

EBCAT Events

The following events are triggered when the EBCAT modules are loaded.

Event Description
EBG.EventName.CATALOG_READY Triggers the event when the catalog data loads from the server.
EBG.EventName.CATALOG_FAILED Triggers the event when the catalog fails to load from the server.
EBG.EventName.VERSION_READY Triggers the event when the data for a single version loads from the server.
EBG.EventName.VERSION_FAILED Triggers the event when the data for a single version fails to load from the server

EBCMD Events

The following events are triggered when the EBCMD modules are loaded.

Event Description
EBG.EventName.collapseAd Triggers the event when MRAID or other mobile-device in-app container tells the ad to collapse.
EBG.EventName.expandAd Triggers the event when MRAID or other mobile-device in-app container tells the ad to collapse.
EBG.EventName.SDK_DATA_CHANGE  Triggers the event when MRAID or other mobile-device in-app container tells the ad to collapse.
EBG.EventName.SDK_EVENT Triggers the event when MRAID or other mobile-device in-app container sends a command to the ad.

EBSV Events

The following events are triggered when the EBSV modules are loaded.

Event Description
EBG.EventName.SV_DATA_READY Triggers the event when the version data has been loaded from the server.
EBG.EventName.SV_DATA_FAILED Triggers the event when the version data fails to load from the server.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments