Hello,
Michael here from IMA SDK Team. Thank you for reaching out to us.
I believe the only other way you can do other than using an ad tag url is by providing adsResponse in your adsRequest method. adsResponse lets you specify a VAST 2.0 document to be used as the ads response instead of making a request through an ad tag url. This can be useful for debugging and other situations where a VAST response is already available.
Let me know if this would fit to your use case.
Regards,
|
||||||
adsRequest.adTagUrl="{ad tag url placeholder}";
with
adsRequest.adsResponse= `{VAST placeholder}`;
The ad in the VAST played.
Regards,
|
||||||