Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add type property to AdEvent #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ima.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,10 @@ export namespace google {
* This event type is raised by the ad as a notification when the ad state changes and when users interact with the ad. For example, when the ad starts playing, is clicked on, etc. You can register for the various state changed events on AdsManager.
*/
class AdEvent {
/**
* Types of AdEvents
*/
public type: AdEvent.Type;
/**
* Get the current ad that is playing or just played.
* @returns The ad associated with the event, or null if there is no relevant ad.
Expand Down