Documentation ¶
Index ¶
- Constants
- type BeachfrontAdapter
- type BeachfrontBannerRequest
- type BeachfrontPublisher
- type BeachfrontRequests
- type BeachfrontResponseSlot
- type BeachfrontSite
- type BeachfrontSize
- type BeachfrontSlot
- type BeachfrontVideoDevice
- type BeachfrontVideoGeo
- type BeachfrontVideoImp
- type BeachfrontVideoRequest
Constants ¶
View Source
const BannerEndpoint = "https://display.bfmio.com/prebid_display"
View Source
const BidCapacity = 5
View Source
const Seat = "beachfront"
View Source
const VideoEndpoint = "https://reachms.bfmio.com/bid.json?exchange_id="
View Source
const VideoEndpointSuffix = "&prebidserver"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeachfrontAdapter ¶
type BeachfrontAdapter struct { }
func NewBeachfrontBidder ¶
func NewBeachfrontBidder() *BeachfrontAdapter
func (*BeachfrontAdapter) MakeBids ¶
func (a *BeachfrontAdapter) MakeBids(internalRequest *openrtb.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)
func (*BeachfrontAdapter) MakeRequests ¶
func (a *BeachfrontAdapter) MakeRequests(request *openrtb.BidRequest) ([]*adapters.RequestData, []error)
type BeachfrontBannerRequest ¶
type BeachfrontBannerRequest struct { Slots []BeachfrontSlot `json:"slots"` Domain string `json:"domain"` Page string `json:"page"` Referrer string `json:"referrer"` Search string `json:"search"` Secure int8 `json:"secure"` DeviceOs string `json:"deviceOs"` DeviceModel string `json:"deviceModel"` IsMobile int8 `json:"isMobile"` Ua string `json:"ua"` Dnt int8 `json:"dnt"` User string `json:"user"` AdapterName string `json:"adapterName"` AdapterVersion string `json:"adapterVersion"` Ip string `json:"ip"` }
---------------------------------------------------
Banner
---------------------------------------------------
func NewBeachfrontBannerRequest ¶
func NewBeachfrontBannerRequest() BeachfrontBannerRequest
type BeachfrontPublisher ¶
type BeachfrontPublisher struct {
Id string `json:"id"`
}
type BeachfrontRequests ¶
type BeachfrontRequests struct { Banner BeachfrontBannerRequest Video BeachfrontVideoRequest }
type BeachfrontResponseSlot ¶
type BeachfrontSite ¶
type BeachfrontSite struct {
Page string `json:"page"`
}
type BeachfrontSize ¶
type BeachfrontSlot ¶
type BeachfrontSlot struct { Slot string `json:"slot"` Id string `json:"id"` Bidfloor float64 `json:"bidfloor"` Sizes []BeachfrontSize `json:"sizes"` }
type BeachfrontVideoDevice ¶
type BeachfrontVideoDevice struct { Ua string `json:"ua"` Devicetype int `json:"deviceType"` Geo BeachfrontVideoGeo `json:"geo"` }
type BeachfrontVideoGeo ¶
type BeachfrontVideoGeo struct {
Ip string `json:"ip"`
}
type BeachfrontVideoImp ¶
type BeachfrontVideoImp struct { Video BeachfrontSize `json:"video"` Bidfloor float64 `json:"bidfloor"` Id int `json:"id"` ImpId string `json:"impid"` }
type BeachfrontVideoRequest ¶
type BeachfrontVideoRequest struct { IsPrebid bool `json:"isPrebid"` AppId string `json:"appId"` Domain string `json:"domain"` Id string `json:"id"` Imp []BeachfrontVideoImp `json:"imp"` Site BeachfrontSite `json:"site"` Device BeachfrontVideoDevice `json:"device"` User openrtb.User `json:"user"` Cur []string `json:"cur"` }
func NewBeachfrontVideoRequest ¶
func NewBeachfrontVideoRequest() BeachfrontVideoRequest
Click to show internal directories.
Click to hide internal directories.