change VastAd creatives to match closer to library type

This commit is contained in:
John Gainfort Jr
2017-07-17 11:00:09 -06:00
parent ababb9cd46
commit 3c6525ef95
+6 -1
View File
@@ -231,9 +231,14 @@ export interface VastError {
ERRORCODE: string;
}
export interface VastCreative {
0: VastCreativeLinear,
1: VastCreativeCompanion
}
export interface VastAd {
advertiser: any;
creatives: VastCreativeLinear | VastCreativeCompanion[];
creatives: VastCreative[];
description: string;
errorURLTemplates: string[];
extensions: VastAdExtension[];