# [ima](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/roku/reference/ima).AdEvent

class static

## Constructor

### AdEvent

new
AdEvent()

Events fired by the ads manager.

## Properties

### AD_PERIOD_ENDED

static

<br />

Fired every time the stream switches from advertising or slate to content.
This will be fired even when an ad is played a second time or when seeking
into an ad.

### AD_PERIOD_STARTED

static

<br />

Fired every time the stream switches from content to advertising or slate.
This will be fired even when an ad is played a second time or when seeking
into an ad.

### COMPLETE

static

<br />

Fired when the ad completes playing.

### ERROR

static

<br />

Fired when an error occurs.

### FIRST_QUARTILE

static

<br />

Fired when the ad playhead crosses the first quartile.

### ICON_FALLBACK_IMAGE_CLOSED

static

<br />

Fired when the user closes the icon fallback image dialog.

### ICON_FALLBACK_IMAGE_SHOWN

static

<br />

Fired when the icon fallback image is displayed.

### LOG

static

<br />

Fired for non-fatal ad errors.
The event payload includes an ima.LogEvent.

### MIDPOINT

static

<br />

Fired when the ad playhead crosses the midpoint.

### PROGRESS

static

<br />

Fired when there is an update to the progress of an ad.

### SKIPPABLE_STATE_CHANGED

static

<br />

Fired when an ad skippable state changes.

### SKIPPED

static

<br />

Fired when an ad is skipped.

### START

static

<br />

Fired when an ad starts playing.

### THIRD_QUARTILE

static

<br />

Fired when the ad playhead crosses the third quartile.