Namespace AdEvent
Stay organized with collections
Save and categorize content based on your preferences.
| Enumerations |
Type
|
Types of AdEvents. |
Enumerations
Type
Type
Types of AdEvents
| Enumeration Members |
AD_BREAK_FETCH_ERROR
|
Fires when an ad break will not play back any ads. |
AD_BREAK_READY
|
Fires when an ad rule or a VMAP ad break would have played if autoPlayAdBreaks
is false.
|
AD_BUFFERING
|
Fires when the ad has stalled playback to buffer. |
AD_CAN_PLAY
|
Fires when the ad is ready to play without buffering, either at the beginning
of the ad or after buffering completes.
|
AD_METADATA
|
Fires when an ads list is loaded. |
AD_PROGRESS
|
Fires when the ad's current time value changes. Calling getAdData() on
this event will return an AdProgressData object.
|
ALL_ADS_COMPLETED
|
Fires when the ads manager is done playing all the valid ads in the ads
response, or when the response doesn't return any valid ads.
|
CLICK
|
Fires when the ad is clicked. |
COMPLETE
|
Fires when the ad completes playing. |
CONTENT_PAUSE_REQUESTED
|
Fires when content should be paused. This usually happens right before an ad
is about to cover the content.
|
CONTENT_RESUME_REQUESTED
|
Fires when content should be resumed. This usually happens when an ad finishes
or collapses.
|
DURATION_CHANGE
|
Fires when the ad's duration changes. |
FIRST_QUARTILE
|
Fires when the ad playhead crosses first quartile. |
IMPRESSION
|
Fires when the impression URL has been pinged. |
INTERACTION
|
Fires when an ad triggers the interaction callback. Ad interactions contain an
interaction ID string in the ad data.
|
LINEAR_CHANGED
|
Fires when the displayed ad changes from linear to nonlinear, or the reverse.
|
LOADED
|
Fires when ad data is available. |
LOG
|
Fires when a non-fatal error is encountered. The user need not take any action
since the SDK will continue with the same or next ad playback depending on the
error situation.
|
MIDPOINT
|
Fires when the ad playhead crosses midpoint. |
PAUSED
|
Fires when the ad is paused. |
RESUMED
|
Fires when the ad is resumed. |
SKIPPABLE_STATE_CHANGED
|
Fires when the displayed ads skippable state is changed. |
SKIPPED
|
Fires when the ad is skipped by the user. |
STARTED
|
Fires when the ad starts playing. |
THIRD_QUARTILE
|
Fires when the ad playhead crosses third quartile. |
USER_CLOSE
|
Fires when the ad is closed by the user. |
VIDEO_CLICKED
|
Fires when the non-clickthrough portion of a video ad is clicked.
|
VIDEO_ICON_CLICKED
|
Fires when a user clicks a video icon. |
VOLUME_CHANGED
|
Fires when the ad volume has changed. |
VOLUME_MUTED
|
Fires when the ad volume has been muted. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-02 UTC.
[null,null,["Last updated 2026-02-02 UTC."],[],[]]