Skip to content

Commit 0b6b116

Browse files
committed
Change Banner for Creative due Dim's Feedback
1 parent 464443e commit 0b6b116

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

banner_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var _ = Describe("Banner", func() {
1919
H: 90,
2020
Pos: AdPosAboveFold,
2121
BType: []int{BannerTypeFrame},
22-
BAttr: []int{BannerAttributeWindowsDialogOrAlert},
22+
BAttr: []int{CreativeAttributeWindowsDialogOrAlert},
2323
Api: []int{APIFrameworkMRAID1},
2424
}))
2525
})

openrtb.go

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ const (
1010

1111
// 5.3 Creative Attributes
1212
const (
13-
BannerAttributeAudioAdAutoPlay = 1
14-
BannerAttributeAudioAdUserInitiated = 2
15-
BannerAttributeExpandableAuto = 3
16-
BannerAttributeExpandableUserInitiatedClick = 4
17-
BannerAttributeExpandableUserInitiatedRollover = 5
18-
BannerAttributeInBannerVideoAdAutoPlay = 6
19-
BannerAttributeInBannerVideoAdUserInitiated = 7
20-
BannerAttributePop = 8
21-
BannerAttributeProvocativeOrSuggestiveImagery = 9
22-
BannerAttributeExtremeAnimation = 10
23-
BannerAttributeSurveys = 11
24-
BannerAttributeTextOnly = 12
25-
BannerAttributeUserInitiated = 13
26-
BannerAttributeWindowsDialogOrAlert = 14
27-
BannerAttributeHasAudioWithPlayer = 15
28-
BannerAttributeAdProvidesSkipButton = 16
29-
BannerAttributeAdobeFlash = 17
13+
CreativeAttributeAudioAdAutoPlay = 1
14+
CreativeAttributeAudioAdUserInitiated = 2
15+
CreativeAttributeExpandableAuto = 3
16+
CreativeAttributeExpandableUserInitiatedClick = 4
17+
CreativeAttributeExpandableUserInitiatedRollover = 5
18+
CreativeAttributeInBannerVideoAdAutoPlay = 6
19+
CreativeAttributeInBannerVideoAdUserInitiated = 7
20+
CreativeAttributePop = 8
21+
CreativeAttributeProvocativeOrSuggestiveImagery = 9
22+
CreativeAttributeExtremeAnimation = 10
23+
CreativeAttributeSurveys = 11
24+
CreativeAttributeTextOnly = 12
25+
CreativeAttributeUserInitiated = 13
26+
CreativeAttributeWindowsDialogOrAlert = 14
27+
CreativeAttributeHasAudioWithPlayer = 15
28+
CreativeAttributeAdProvidesSkipButton = 16
29+
CreativeAttributeAdobeFlash = 17
3030
)
3131

3232
// 5.4 Ad Position

0 commit comments

Comments
 (0)