@@ -25,7 +25,7 @@ type Audio struct {
25
25
// Attribute:
26
26
// minduration
27
27
// Type:
28
- // integer; recommended
28
+ // integer; default 0; recommended
29
29
// Description:
30
30
// Minimum audio ad duration in seconds.
31
31
MinDuration int64 `json:"minduration,omitempty"`
@@ -38,40 +38,112 @@ type Audio struct {
38
38
// Maximum audio ad duration in seconds.
39
39
MaxDuration int64 `json:"maxduration,omitempty"`
40
40
41
+ // Attribute:
42
+ // poddur
43
+ // Type:
44
+ // integer; recommended
45
+ // Description:
46
+ // Indicates the total amount of time that advertisers may fill for a
47
+ // "dynamic" audio ad pod, or the dynamic portion of a "hybrid"
48
+ // ad pod. This field is required only for the dynamic portion(s) of
49
+ // audio ad pods. This field refers to the length of the entire ad
50
+ // break, whereas minduration/maxduration/rqddurs are
51
+ // constraints relating to the slots that make up the pod.
52
+ PodDur int64 `json:"poddur,omitempty"`
53
+
41
54
// Attribute:
42
55
// protocols
43
56
// Type:
44
57
// integer array; recommended
45
58
// Description:
46
- // Array of supported audio protocols. Refer to List 5.8.
47
- Protocols []Protocol `json:"protocols,omitempty"`
59
+ // Array of supported audio protocols. Refer to List: Creative
60
+ // Subtypes - Audio/Video in AdCOM 1.0.
61
+ Protocols []int8 `json:"protocols,omitempty"`
48
62
49
63
// Attribute:
50
64
// startdelay
51
65
// Type:
52
66
// integer; recommended
53
67
// Description:
54
68
// Indicates the start delay in seconds for pre-roll, mid-roll, or
55
- // post-roll ad placements. Refer to List 5.12.
56
- StartDelay * StartDelay `json:"startdelay,omitempty"`
69
+ // post-roll ad placements. Refer to List: Start Delay Modes in
70
+ // AdCOM 1.0.
71
+ StartDelay * int8 `json:"startdelay,omitempty"`
57
72
58
73
// Attribute:
59
- // sequence
74
+ // rqddurs
75
+ // Type:
76
+ // integer array
77
+ // Description:
78
+ // Precise acceptable durations for audio creatives in seconds. This
79
+ // field specifically targets the live audio/radio use case where
80
+ // non-exact ad durations would result in undesirable ‘dead air’.
81
+ // This field is mutually exclusive with minduration and
82
+ // maxduration; if rqddurs is specified, minduration and
83
+ // maxduration must not be specified and vice versa.
84
+ RqdDurs []int64 `json:"rqddurs,omitempty"`
85
+
86
+ // Attribute:
87
+ // podid
60
88
// Type:
61
89
// integer
62
90
// Description:
91
+ // Unique identifier indicating that an impression opportunity
92
+ // belongs to an audioad pod. If multiple impression opportunities
93
+ // within a bid request share the same podid, this indicates that
94
+ // those impression opportunities belong to the same audio ad
95
+ // pod.
96
+ PodID int64 `json:"podid,omitempty"`
97
+
98
+ // Attribute:
99
+ // podid
100
+ // Type:
101
+ // integer; default 0
102
+ // Description:
103
+ // The sequence (position) of the audio ad pod within a
104
+ // content stream. Refer to List: Pod Sequence in AdCOM 1.0
105
+ // for guidance on the use of this field.
106
+ PodSeq int8 `json:"podseq,omitempty"`
107
+
108
+ // Attribute:
109
+ // sequence
110
+ // Type:
111
+ // integer; default 0; DEPRECATED
112
+ // Description:
63
113
// If multiple ad impressions are offered in the same bid request,
64
114
// the sequence number will allow for the coordinated delivery
65
115
// of multiple creatives.
66
116
Sequence int64 `json:"sequence,omitempty"`
67
117
118
+ // Attribute:
119
+ // slotinpod
120
+ // Type:
121
+ // integer; default 0
122
+ // Description:
123
+ // For audio ad pods, this value indicates that the seller can
124
+ // guarantee delivery against the indicated sequence. Refer to
125
+ // List: Slot Position in Pod in AdCOM 1.0 for guidance on the
126
+ // use of this field.
127
+ SlotInPod * int8 `json:"slotinpod,omitempty"`
128
+
129
+ // Attribute:
130
+ // mincpmpersec
131
+ // Type:
132
+ // float
133
+ // Description:
134
+ // Minimum CPM per second. This is a price floor for the
135
+ // "dynamic" portion of an audio ad pod, relative to the duration
136
+ // of bids an advertiser may submit.
137
+ MinCPMPerSec float64 `json:"mincpmpersec,omitempty"`
138
+
68
139
// Attribute:
69
140
// battr
70
141
// Type:
71
142
// integer array
72
143
// Description:
73
- // Blocked creative attributes. Refer to List 5.3.
74
- BAttr []CreativeAttribute `json:"battr,omitempty"`
144
+ // Blocked creative attributes. Refer to List: Creative Attributes in
145
+ // AdCOM 1.0.
146
+ BAttr []int64 `json:"battr,omitempty"`
75
147
76
148
// Attribute:
77
149
// maxextended
@@ -107,8 +179,9 @@ type Audio struct {
107
179
// integer array
108
180
// Description:
109
181
// Supported delivery methods (e.g., streaming, progressive). If
110
- // none specified, assume all are supported. Refer to List 5.15.
111
- Delivery []ContentDeliveryMethod `json:"delivery,omitempty"`
182
+ // none specified, assume all are supported. Refer to List: Delivery
183
+ // Methods in AdCOM 1.0.
184
+ Delivery []int8 `json:"delivery,omitempty"`
112
185
113
186
// Attribute:
114
187
// companionad
@@ -125,37 +198,35 @@ type Audio struct {
125
198
// integer array
126
199
// Description:
127
200
// List of supported API frameworks for this impression. Refer to
128
- // List 5.6 . If an API is not explicitly listed, it is assumed not to be
129
- // supported.
130
- API []APIFramework `json:"api,omitempty"`
201
+ // List: API Frameworks in AdCOM 1.0 . If an API is not explicitly
202
+ // listed, it is assumed not to be supported.
203
+ API []int64 `json:"api,omitempty"`
131
204
132
205
// Attribute:
133
206
// companiontype
134
207
// Type:
135
208
// integer array
136
209
// Description:
137
- // Supported DAAST companion ad types. Refer to List 5.14.
138
- // Recommended if companion Banner objects are included via
139
- // the companionad array.
140
- CompanionType []CompanionType `json:"companiontype,omitempty"`
210
+ // Supported companion ad types. Refer to List: Companion
211
+ // Types in AdCOM 1.0. Recommended if companion Banner
212
+ // objects are included via the companionad array.
213
+ CompanionType []int8 `json:"companiontype,omitempty"`
141
214
142
215
// Attribute:
143
216
// maxseq
144
217
// Type:
145
218
// integer
146
219
// Description:
147
220
// The maximum number of ads that can be played in an ad pod.
148
- // OpenRTB API Specification Version 2.5 IAB Technology Lab
149
- // www.iab.com/openrtb Page 18
150
221
MaxSeq int64 `json:"maxseq,omitempty"`
151
222
152
223
// Attribute:
153
224
// feed
154
225
// Type:
155
226
// integer
156
227
// Description:
157
- // Type of audio feed. Refer to List 5.16 .
158
- Feed FeedType `json:"feed,omitempty"`
228
+ // Type of audio feed. Refer to List: Feed Types in AdCOM 1.0 .
229
+ Feed int8 `json:"feed,omitempty"`
159
230
160
231
// Attribute:
161
232
// stitched
@@ -171,8 +242,9 @@ type Audio struct {
171
242
// Type:
172
243
// integer
173
244
// Description:
174
- // Volume normalization mode. Refer to List 5.17.
175
- NVol * VolumeNormalizationMode `json:"nvol,omitempty"`
245
+ // Volume normalization mode. Refer to List: Volume
246
+ // Normalization Modes in AdCOM 1.0.
247
+ NVol int8 `json:"nvol,omitempty"`
176
248
177
249
// Attribute:
178
250
// ext
0 commit comments