googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
450 stars 284 forks source link

Ad data like getAdId issue supported? #904

Closed abi3 closed 4 years ago

abi3 commented 4 years ago

Hello,

I m checking if i can get ads related data that is listed under google.ima.Ad class.

Thanks,

Kiro705 commented 4 years ago

Hello @abi3 ,

You can call the event.getAd() method on any IMA event to return the ad that is currently playing.

To set up IMA events you can follow the setup detailed in our Advanced Example.