
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