Skip to content

Commit 98881bc

Browse files
committed
Add Creative Attributes based on OpenRTB 2.3
1 parent 5b61d39 commit 98881bc

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

openrtb.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,25 @@ const (
99
)
1010

1111
// 5.3 Creative Attributes
12-
// TODO
12+
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
30+
)
1331

1432
// 5.4 Ad Position
1533
const (

0 commit comments

Comments
 (0)