Hi Max,
Thank you for raising your concern to the IMA SDK forum.
If you'd like to get the information regarding the file URL you can try the getMediaUrl() method which returns the URL of the media file chosen from the ad based on the media selection settings currently in use. Returns null if this information is unavailable. Refer here: https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/js/google.ima.Ad#getMediaUrl
Take note that is only available for IMA SDK for HTML5[https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side]. The IMA SDK for Android and iOS don't expose their VAST MediaFile URI through their API.
Let me know if you have any questions.
Regards,
IMA SDK Team |