![](https://secure.gravatar.com/avatar/a85f641e3cb1c37f71d834d64b2871ad?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Call Vast Tag Later (Or Leave Blank Variable)?
Right now I have:
,advertising: {
client: 'vast'
,'skipoffset':5
,tag: ['https://v.vasturl.com/']
}
During instance.setup. But, is it possible to create the VAST tag later or through different javascript? I want to do an if/else, on whether to include VAST or not. Or, can I at least use a javascript variable for the VAST tag URL? So something like:
var finalvast = 'https://v.vasturl.com/';
,advertising: {
client: 'vast'
,'skipoffset':5
,tag: ['finalvast']
}
And, if no variable created -- making it blank -- the vast will just be skipped?
Cheers
Ryan