forked from bsm/openrtb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
source.go
11 lines (9 loc) · 825 Bytes
/
source.go
1
2
3
4
5
6
7
8
9
10
11
package openrtb
import "encoding/json"
// Source object describes the nature and behavior of the entity that is the source of the bid request upstream from the exchange.
type Source struct {
FinalSaleDecision int `json:"fd,omitempty"` // Entity responsible for the final impression sale decision, where 0 = exchange, 1 = upstream source.
TransactionID string `json:"tid,omitempty"` // Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).
PaymentChain string `json:"pchain,omitempty"` // Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.
Ext json.RawMessage `json:"ext,omitempty"` // Placeholder for exchange-specific extensions to OpenRTB.
}