From a224717b795af4e5d3aeb61886cecca07fd5731a Mon Sep 17 00:00:00 2001 From: Scott Kay Date: Tue, 17 May 2022 01:47:14 -0400 Subject: [PATCH] UserAgentSource Enum --- openrtb2/user_agent.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openrtb2/user_agent.go b/openrtb2/user_agent.go index 8646049..e145ff8 100644 --- a/openrtb2/user_agent.go +++ b/openrtb2/user_agent.go @@ -1,6 +1,10 @@ package openrtb2 -import "encoding/json" +import ( + "encoding/json" + + "github.com/mxmCherry/openrtb/v16/adcom1" +) // 3.2.29 Object: UserAgent // @@ -74,7 +78,7 @@ type UserAgent struct { // Description: // The source of data used to create this object, List: User-Agent Source in // AdCOM 1.0. - Source int8 `json:"source,omitempty"` + Source adcom1.UserAgentSource `json:"source,omitempty"` // Attribute: // ext