mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 05:56:34 +03:00
adcom1: rename package to adcom1 (avoid surprises)
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Package adcom implements types for AdCOM Specification v1.0
|
||||
// Package adcom1 implements types for AdCOM Specification v1.0
|
||||
// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// APIFramework represents API frameworks either supported by a placement or required by an ad.
|
||||
type APIFramework int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// AuditStatus represents codes used in Audit objects to reflect status or workflow state.
|
||||
type AuditStatus int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// CategoryTaxonomy identifies the taxonomy in effect when content categories are listed.
|
||||
type CategoryTaxonomy int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// ClickType represents types of creative activation (i.e., click) behavior types.
|
||||
type ClickType int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// CompanionType represents options to indicate markup types allowed for companion ads that apply to video and audio ads.
|
||||
// This table is derived from VAST 2.0+ and DAAST 1.0+ specifications.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// ConnectionType represents options for the type of device connectivity.
|
||||
type ConnectionType int8
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// ContentContext represents options for indicating the type of content being used or consumed by the user in which ads may appear.
|
||||
// This table has values derived from the TAG Inventory Quality Guidelines (IQG).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// CreativeAttribute specifies a standard list of creative attributes that can describe an actual ad or restrictions relative to a given placement.
|
||||
type CreativeAttribute int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// CreativeSubtypeAV represents subtypes of audio and video ad creatives.
|
||||
type CreativeSubtypeAV int8 // TODO: rename to smth like AudioVideoCreativeSubtype? (sounds more natural)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// CreativeSubtypeDisplay represents subtypes of display ad creatives.
|
||||
type CreativeSubtypeDisplay int8 // TODO: rename to smth like DisplayCreativeSubtype? (sounds more natural)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// DeliveryMethod represents options for the delivery of video or audio content.
|
||||
type DeliveryMethod int8
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// DeviceType represents types of devices.
|
||||
// This table has values derived from the TAG Inventory Quality Guidelines (IQG).
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// DisplayContextType represents types of context in which a native ad may appear (i.e., the type of content surrounding the ad on the page).
|
||||
// This is intended to denote primary content although other content may also appear on the page.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// DisplayPlacementType represents types of display placements; the locations where a native ad may be shown in relationship to the surrounding content.
|
||||
type DisplayPlacementType int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// DistributionChannel is an abstraction of the various types of entities or channels through which ads are distributed.
|
||||
// Examples include websites, mobile apps, and digital out-of-home (DOOH) systems.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// DOOHVenueType represents the digital out-of-home venue types and is derived from DPAA Programmatic Standards.
|
||||
type DOOHVenueType int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// EventTrackingMethod represents methods of tracking of ad events.
|
||||
// Vendor specific codes may include custom measurement companies (e.g., Moat, Doubleverify, IAS, etc.).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// EventType represents types of ad events available for tracking.
|
||||
// These types refer to the actual event, timing, etc.; not the method of firing.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// ExpandableDirection represents directions in which an expandable ad may expand, given the positioning of the ad unit on the page and constraints imposed by the content.
|
||||
type ExpandableDirection int8
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// FeedType represents types of feeds, typically for audio.
|
||||
type FeedType int8
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// IPLocationService represents services and/or vendors used for resolving IP addresses to geolocations.
|
||||
type IPLocationService int8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// LinearityMode represents options for media linearity, typically for video.
|
||||
type LinearityMode int8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// LocationType represents options to indicate how the geographic information was determined.
|
||||
type LocationType int8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// MediaRating represents media ratings used in describing content based on the TAG Inventory Quality Guidelines (IQG) v2.1 categorization.
|
||||
// Refer to www.iab.com/guidelines/digital-video-suite for more information.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// NativeDataAssetType represents data asset types.
|
||||
// This list is non-exhaustive and is intended to be expanded over time.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// NativeImageAssetType represents image asset types.
|
||||
// This list is non-exhaustive and is intended to be expanded over time.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// OperatingSystem represents device operating system.
|
||||
type OperatingSystem int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// PlacementPosition represents placement positions as a relative measure of visibility or prominence.
|
||||
// This table has values derived from the TAG Inventory Quality Guidelines (IQG).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// PlaybackCessationMode represents modes for when media playback terminates.
|
||||
type PlaybackCessationMode int8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// PlaybackMethod represents media playback methods.
|
||||
type PlaybackMethod int8
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// ProductionQuality represents content quality.
|
||||
type ProductionQuality int8
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// SizeUnit represents units of height and width used by creatives, assets, and placement specifications where noted.
|
||||
type SizeUnit int8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// StartDelayMode represents video or audio start delay.
|
||||
type StartDelayMode int64
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// VideoPlacementSubtype represents types of video placements derived largely from the IAB Digital Video Guidelines.
|
||||
type VideoPlacementSubtype int8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package adcom
|
||||
package adcom1
|
||||
|
||||
// VolumeNormalizationMode represents types of volume normalization modes, typically for audio.
|
||||
type VolumeNormalizationMode int8
|
||||
|
||||
Reference in New Issue
Block a user