Files
openrtb/openrtb2/qty.go
T
Scott Kay 53ac1b9ca7 ORTB + AdCOM 202303 Updates (#8)
* ORTB + AdCOM 202303 Updates

* Bump Major Version

* Copy Paste Errors

* Fix Mod File

* Keep On 1.16

* Revert Go Mod Version

* Rename plcmnt to plcmt To Align With Native

* Final Spec Updates

* Fix VideoPlcmtNoContent

* Update Category Taxonomies
2023-04-12 08:54:55 -04:00

52 lines
1.6 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package openrtb2
import (
"encoding/json"
"github.com/prebid/openrtb/v19/adcom1"
)
// Object: Qty
//
// A programmatic impression is often referred to as a spot in digital out-of-home and CTV, with an impression being a unique member of the audience viewing it.
// Therefore, a standard means of passing a multiplier in the bid request, representing the total quantity of impressions, is required.
// This object includes the impression multiplier, and describes the source of the multiplier value.
type Qty struct {
// Attribute:
// multiplier
// Type:
// float; required
// Description:
// The quantity of billable events which will be deemed to have occurred
// if this item is purchased. For example, a DOOH opportunity may be
// considered to be 14.2 impressions. Equivalent to qtyflt in OpenRTB 3.0.
Multiplier float64 `json:"multiplier,omitempty"`
// Attribute:x
// sourcetype
// Type:
// integer; recommended
// Description:
// The source type of the quantity measurement, ie. publisher. Refer to
// List: DOOH Multiplier Measurement Source Types.
SourceType adcom1.DOOHMultiplierMeasurementSourceType `json:"sourcetype,omitempty"`
// Attribute:
// vendor
// Type:
// string; required if sourcetype is present and type = 1
// Description:
// The top level business domain name of the measurement vendor providing
// the quantity measurement.
Vendor string `json:"vendor,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Placeholder for vendor specific extensions to this object.
Ext json.RawMessage `json:"ext,omitempty"`
}