Documentation
¶
Index ¶
- func Builder(bidderName openrtb_ext.BidderName, config config.Adapter) (adapters.Bidder, error)
- func NewInvibesSyncer(urlTemplate *template.Template) usersync.Usersyncer
- type BidServerBidderResponse
- type BidServerTypedBid
- type InvibesAdRequest
- type InvibesAdapter
- type InvibesBidParams
- type InvibesInternalParams
- type InvibesPlacementProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Builder ¶
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter) (adapters.Bidder, error)
Builder builds a new instance of the Invibes adapter for the given bidder with the given config.
func NewInvibesSyncer ¶
func NewInvibesSyncer(urlTemplate *template.Template) usersync.Usersyncer
Types ¶
type BidServerBidderResponse ¶
type BidServerBidderResponse struct {
Currency string `json:"currency"`
TypedBids []BidServerTypedBid `json:"typedBids"`
Error string `json:"error"`
}
type BidServerTypedBid ¶
type InvibesAdRequest ¶
type InvibesAdRequest struct {
BidParamsJson string `json:"BidParamsJson"`
Location string `json:"Location"`
Lid string `json:"Lid"`
IsTestBid bool `json:"IsTestBid"`
Kw string `json:"Kw"`
IsAMP bool `json:"IsAmp"`
Width string `json:"Width"`
Height string `json:"Height"`
GDPRConsent string `json:"GdprConsent"`
GDPR bool `json:"Gdpr"`
Bvid string `json:"Bvid"`
InvibBVLog bool `json:"InvibBVLog"`
VideoAdDebug bool `json:"VideoAdDebug"`
}
type InvibesAdapter ¶
func (*InvibesAdapter) MakeBids ¶
func (a *InvibesAdapter) MakeBids( internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData, ) (*adapters.BidderResponse, []error)
func (*InvibesAdapter) MakeRequests ¶
func (a *InvibesAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
type InvibesBidParams ¶
type InvibesBidParams struct {
PlacementIDs []string `json:"PlacementIds"`
BidVersion string `json:"BidVersion"`
Properties map[string]InvibesPlacementProperty `json:"Properties"`
}
type InvibesInternalParams ¶
type InvibesInternalParams struct {
BidParams InvibesBidParams
DomainID int
IsAMP bool
GDPR bool
GDPRConsent string
TestBvid string
TestLog bool
}
func (*InvibesInternalParams) IsTestRequest ¶
func (a *InvibesInternalParams) IsTestRequest() bool
Click to show internal directories.
Click to hide internal directories.