Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

OpenRTB 2.6

Compare
Choose a tag to compare
@mxmCherry mxmCherry released this 27 Aug 09:40
· 4 commits to master since this release
0784d79

Changes since v15.0.1:

  • OpenRTB 2.6 + LOTS of related fixes/adapting (#48, #49)

Shortly - generated JSON should not change, but Go API changed a lot. Basically, upgrade and then fix everything that Go complains about.


Upgrade notes (if you have anything to add - please, open an issue)

#47 (comment)

OpenRTB 2.6 removes nearly all enumerated lists in favor of the enumerations in adcom1/openrtb3, which in turn were based on OpenRTB 2.5. In v16 of this library, this is represented with a removal of openrtb2 enums and replaced with adcom1/openrtb3 enums. I put together this chart to assist with upgrading.

v15 v16
openrtb2.AdPosition adcom1.PlacementPosition
openrtb2.APIFramework adcom1.APIFramework
openrtb2.CompanionType adcom1.CompanionType
openrtb2.ConnectionType adcom1.ConnectionType
openrtb2.ContentContext adcom1.ContentContext
openrtb2.ContentDeliveryMethod adcom1.DeliveryMethod
openrtb2.CreativeAttribute adcom1.CreativeAttribute
openrtb2.DeviceType adcom1.DeviceType
openrtb2.ExpandableDirection adcom1.ExpandableDirection
openrtb2.FeedType adcom1.FeedType
openrtb2.IPLocationService adcom1.IPLocationService
openrtb2.IQGMediaRating adcom1.MediaRating
openrtb2.LocationType adcom1.LocationType
openrtb2.NoBidReasonCode openrtb3.NoBidReason
openrtb2.PlaybackCessationMode adcom1.PlaybackCessationMode
openrtb2.PlaybackMethod adcom1.PlaybackMethod
openrtb2.ProductionQuality adcom1.ProductionQuality
openrtb2.Protocol adcom1.MediaCreativeSubtype
openrtb2.StartDelay adcom1.StartDelay
openrtb2.VideoLinearity adcom1.LinearityMode
openrtb2.VideoPlacementType adcom1.VideoPlacementSubtype
openrtb2.VolumeNormalizationMode adcom1.VolumeNormalizationMode