openrtb2: link audio enums to adcom1

This commit is contained in:
Scott Kay
2022-05-17 16:24:05 -04:00
parent 84f4121d94
commit 77333bef68
+3 -3
View File
@@ -220,7 +220,7 @@ type Audio struct {
// Supported companion ad types. Refer to List: Companion
// Types in AdCOM 1.0. Recommended if companion Banner
// objects are included via the companionad array.
CompanionType []int8 `json:"companiontype,omitempty"`
CompanionType []adcom1.CompanionType `json:"companiontype,omitempty"`
// Attribute:
// maxseq
@@ -236,7 +236,7 @@ type Audio struct {
// integer
// Description:
// Type of audio feed. Refer to List: Feed Types in AdCOM 1.0.
Feed int8 `json:"feed,omitempty"`
Feed adcom1.FeedType `json:"feed,omitempty"`
// Attribute:
// stitched
@@ -254,7 +254,7 @@ type Audio struct {
// Description:
// Volume normalization mode. Refer to List: Volume
// Normalization Modes in AdCOM 1.0.
NVol int8 `json:"nvol,omitempty"`
NVol adcom1.VolumeNormalizationMode `json:"nvol,omitempty"`
// Attribute:
// ext