@@ -22,17 +22,17 @@ var _ = Describe("Audio", func() {
2222 MaxDuration : 30 ,
2323 Protocols : []int {AudioProtocolDAAST1 , AudioProtocolDAAST1Wrapper },
2424 Sequence : 1 ,
25- BAttr : []int {13 , 14 },
25+ BAttr : []int {CreativeAttributeUserInitiated , CreativeAttributeWindowsDialogOrAlert },
2626 MaxExtended : 30 ,
2727 MinBitrate : 300 ,
2828 MaxBitrate : 1500 ,
29- Delivery : []int {2 },
29+ Delivery : []int {ContentDeliveryProgressive },
3030 CompanionAd : []Banner {
31- {W : 300 , H : 250 , ID : "1234567893-1" , Pos : 1 , BAttr : []int {13 , 14 }, ExpDir : []int {ExpDirRight , ExpDirDown }},
32- {W : 728 , H : 90 , ID : "1234567893-2" , Pos : 1 , BAttr : []int {13 , 14 }},
31+ {W : 300 , H : 250 , ID : "1234567893-1" , Pos : AdPosAboveFold , BAttr : []int {CreativeAttributeUserInitiated , CreativeAttributeWindowsDialogOrAlert }, ExpDir : []int {ExpDirRight , ExpDirDown }},
32+ {W : 728 , H : 90 , ID : "1234567893-2" , Pos : AdPosAboveFold , BAttr : []int {CreativeAttributeUserInitiated , CreativeAttributeWindowsDialogOrAlert }},
3333 },
34- API : []int {1 , 2 },
35- CompanionType : []int {1 , 2 },
34+ API : []int {APIFrameworkVPAID1 , APIFrameworkVPAID2 },
35+ CompanionType : []int {VASTCompanionStatic , VASTCompanionHTML },
3636 }))
3737 })
3838
@@ -42,16 +42,16 @@ var _ = Describe("Audio", func() {
4242 MaxDuration : 30 ,
4343 Protocols : []int {AudioProtocolDAAST1 , AudioProtocolDAAST1Wrapper },
4444 Sequence : 1 ,
45- BAttr : []int {13 , 14 },
45+ BAttr : []int {CreativeAttributeUserInitiated , CreativeAttributeWindowsDialogOrAlert },
4646 MaxExtended : 30 ,
4747 MinBitrate : 300 ,
4848 MaxBitrate : 1500 ,
49- Delivery : []int {2 },
49+ Delivery : []int {ContentDeliveryProgressive },
5050 CompanionAd : []Banner {
51- {W : 300 , H : 250 , ID : "1234567893-1" , Pos : 1 , BAttr : []int {13 , 14 }, ExpDir : []int {ExpDirRight , ExpDirDown }},
52- {W : 728 , H : 90 , ID : "1234567893-2" , Pos : 1 , BAttr : []int {13 , 14 }},
51+ {W : 300 , H : 250 , ID : "1234567893-1" , Pos : AdPosAboveFold , BAttr : []int {CreativeAttributeUserInitiated , CreativeAttributeWindowsDialogOrAlert }, ExpDir : []int {ExpDirRight , ExpDirDown }},
52+ {W : 728 , H : 90 , ID : "1234567893-2" , Pos : AdPosAboveFold , BAttr : []int {CreativeAttributeUserInitiated , CreativeAttributeWindowsDialogOrAlert }},
5353 },
54- CompanionType : []int {1 , 2 },
54+ CompanionType : []int {VASTCompanionStatic , VASTCompanionHTML },
5555 }).Validate ()).To (Equal (ErrInvalidAudioNoMimes ))
5656 })
5757
0 commit comments