openrtb

package module
v0.0.0-...-7d87319 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleTransaction

func HandleTransaction(d *common.Domain, n *owid.Node) (*owid.Node, error)

HandleTransaction processes an OpenRTB transaction.

func Handler

func Handler(d *common.Domain, w http.ResponseWriter, r *http.Request)

Handler is responsible for a real time transaction for advertising. The body of the request must contain a JSON array of Processor IDs which contain the signature of the last entry in the list of Processors.

func SendToSuppliers

func SendToSuppliers(d *common.Domain, n *owid.Node) (*owid.Node, error)

Types

type BidResponseExt

type BidResponseExt struct {
	SwanOWIDs []*SwanExt `json:"swan_owids,omitempty"`
}

type Eid

type Eid struct {
	Source string `json:"source,omitempty"`
	Uids   []*Uid `json:"uids,omitempty"`
}

type ImpExt

type ImpExt struct {
	Offer     owid.Node
	Offername string
}

type SwanExt

type SwanExt struct {
	ImpID string     `json:"impid,omitempty"`
	Owid  *owid.Node `json:"owid,omitempty"`
}

type Uid

type Uid struct {
	Id    string `json:"id,omitempty"`
	Atype int    `json:"atype,omitempty"`
}

type UserExt

type UserExt struct {
	Eids []*Eid `json:"eids,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL