mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-15 14:36:36 +03:00
44 lines
1.1 KiB
Go
44 lines
1.1 KiB
Go
package rtb
|
|
|
|
// 3.2.14 Object: Data
|
|
//
|
|
// The data and segment objects together allow additional data about the user to be specified. This data
|
|
// may be from multiple sources whether from the exchange itself or third party providers as specified by
|
|
// the id field. A bid request can mix data objects from multiple providers. The specific data providers in
|
|
// use should be published by the exchange a priori to its bidders.
|
|
type Data struct {
|
|
|
|
// Attribute:
|
|
// id
|
|
// Type:
|
|
// string
|
|
// Description:
|
|
// Exchange-specific ID for the data provider.
|
|
ID string `json:"id"`
|
|
|
|
// Attribute:
|
|
// name
|
|
// Type:
|
|
// string
|
|
// Description:
|
|
// Exchange-specific name for the data provider.
|
|
Name string `json:"name"`
|
|
|
|
// Attribute:
|
|
// segment
|
|
// Type:
|
|
// object array
|
|
// Description:
|
|
// Array of Segment (Section 3.2.15) objects that contain the
|
|
// actual data values.
|
|
Segment []Segment `json:"segment"`
|
|
|
|
// Attribute:
|
|
// ext
|
|
// Type:
|
|
// object
|
|
// Description:
|
|
// Placeholder for exchange-specific extensions to OpenRTB.
|
|
Ext Ext `json:"ext"`
|
|
}
|