googleads/googleads-ima-ios

Incompatible file type is not available

Opened this issue · 0 comments

Hey there!

I'm receiving this error:
Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.

I would like to know which file types the ad server is returning that the SDK cannot play(.acc, .ogg, or others). If I'm correct the func adsManager(_ adsManager: IMAAdsManager, didReceive event: IMAAdEvent) is the place to see the content type by this way event.ad?.contentType. This works when Google IMA doesn't return any error, but in this case, the IMAAdEventType.LOADED isn't called. The only event called is IMAAdEventType.ALL_ADS_COMPLETED, but here the event.ad is nil(also the content type).

Test URL: https://run.mocky.io/v3/1dd99480-8d4d-4fa6-b7f6-849585d95be9

Thanks in advance!