mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 05:56:34 +03:00
OpenRTB 2.6-202211 (#1)
* InventoryPartnerDomain, ETime, + GPP * DOOH * Fix Type Name Change * Final Release Update * Revert Comment To Match Final Spec * Remove inventorypartnerdomain from adcom app object and fix typos Co-authored-by: bsardo <1168933+bsardo@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package adcom1
|
||||
|
||||
// DOOHMultiplierMeasurementSourceType identifies the types of entities that provide quantity measurement for
|
||||
// impression multipliers, which are common in DOOH (Digital Out of Home) advertising.
|
||||
type DOOHMultiplierMeasurementSourceType int8
|
||||
|
||||
// MultiplierMeasurementSourceType options.
|
||||
const (
|
||||
MultiplierUnknown DOOHMultiplierMeasurementSourceType = 0
|
||||
MultiplierMeasurementVendorProvided DOOHMultiplierMeasurementSourceType = 1
|
||||
MultiplierPublisherProvided DOOHMultiplierMeasurementSourceType = 2
|
||||
MultiplierExchangeProvided DOOHMultiplierMeasurementSourceType = 3
|
||||
)
|
||||
@@ -0,0 +1,29 @@
|
||||
package adcom1
|
||||
|
||||
// DOOHVenueTaxonomy describes the locations and contexts in which Out-Of-Home media may be experienced. Taxonomies entries
|
||||
// are expected to refer to a specific version, unless a given taxonomy has explicit semantics for forward compatibility and
|
||||
// handling updates.
|
||||
type DOOHVenueTaxonomy int
|
||||
|
||||
// Digital out-of-home venue taxonomies.
|
||||
const (
|
||||
VenueTaxonomyAdCom DOOHVenueTaxonomy = 0 // AdCom DOOH Venue Types (deprecated)
|
||||
VenueTaxonomyOpenOOH10 DOOHVenueTaxonomy = 1 // OpenOOH Venue Taxonomy 1.0 https://github.com/openooh/venue-taxonomy/blob/main/specification-1.0.md
|
||||
VenueTaxonomyDPAA DOOHVenueTaxonomy = 2 // DPAA Device Venue Types https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--dooh-venue-types-
|
||||
VenueTaxonomyDMI11 DOOHVenueTaxonomy = 3 // DMI Categorization of Venues 1.1 https://www.dmi-org.com/download/DMI_Standards_for_DOOH_Venues.pdf
|
||||
VenueTaxonomyOMAJan2022 DOOHVenueTaxonomy = 4 // OMA taxonomy Jan 2022 https://www.oma.org.au/industry-standards
|
||||
VenueTaxonomyOpenOOH11 DOOHVenueTaxonomy = 5 // OpenOOH Venue Taxonomy 1.1 https://github.com/openooh/venue-taxonomy/blob/main/specification-1.1.md
|
||||
)
|
||||
|
||||
// Ptr returns pointer to own value.
|
||||
func (t DOOHVenueTaxonomy) Ptr() *DOOHVenueTaxonomy {
|
||||
return &t
|
||||
}
|
||||
|
||||
// Val safely dereferences pointer, returning default value (ConnectionUnknown) for nil.
|
||||
func (t *DOOHVenueTaxonomy) Val() DOOHVenueTaxonomy {
|
||||
if t == nil {
|
||||
return VenueTaxonomyOpenOOH10
|
||||
}
|
||||
return *t
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package adcom1
|
||||
|
||||
// DOOHVenueType represents the digital out-of-home venue types and is derived from DPAA Programmatic Standards.
|
||||
// This enumeration is deprecated.
|
||||
type DOOHVenueType int
|
||||
|
||||
// Digital out-of-home venue types.
|
||||
|
||||
Reference in New Issue
Block a user