feat(ads): allow adsResponse for making ad request#2946
feat(ads): allow adsResponse for making ad request#2946TheModMaker merged 2 commits intoshaka-project:masterfrom
Conversation
Currently, shaka throw an error if adTagUrl is not set in imaRequest. This add the possibility to use a VAST document directly using adsResponse property instead of making a request with an ad tag url. Resolves shaka-project#2892
|
I'm not sure if that's necessary, I wanted to add unit in I added properties to IMA mock, but I don't know how to mock |
TheModMaker
left a comment
There was a problem hiding this comment.
I don't think this needs a test. It might be nice to have an integration test to verify IMA allows the adTagUrl to be not set, but we don't have any other integration tests.
bf35d7b to
fc47665
Compare
I can try to make an integration for that but this is not my forte, I will need some help for that. |
|
Test Failure: |
fc47665 to
d17d522
Compare
|
All tests passed! |
Currently, shaka throw an error if adTagUrl is not set in imaRequest.
This add the possibility to use a VAST document directly using adsResponse property instead of making a request with an ad tag url.
Resolves #2892