
Multiple ads via API
Is there a way to use playAd in order to play 2 ads in a row?
without using ad pod / VAMP.
Is there a way to use playAd in order to play 2 ads in a row?
without using ad pod / VAMP.
I tried waiting to AdComplete event, and then run playAd again, its working ok on the preroll, but not working on postroll.
I mean when Im doing it on BeforePlay it work fine but when Im using it on BeforeComplete its not.
Hi, there.
I do not believe there is a way to play two ads in a row with our JavaScript API, as .playAd() can only be called in the following situations:
Please let me know if you need any more help or have any other questions.
Thank you!
Hey,
Thanks for your response,
Is there a way to configure 2 ads in a row on the setup phase?
like :
schedule: {
preroll1: {
offset: 'pre',
tag: 'http://adserver.com/vastResponse1.xml'
},
prerol2l: {
offset: 'pre',
tag: 'http://adserver.com/vastResponse1.xml'
},
}
Hi, there.
If your ad tags are VAST 3.0-compliant, then you can use Ad Pods to accomplish this. You can read more about it on this support article. If you are using VAST 2.0 tags, there is no built-in way in our player to enable two ads in a row.
Please let me know if you need any more help or have any other questions.
Thank you!