Documentation ¶
Index ¶
- Constants
- func NewBeachfrontSyncer(cfg *config.Configuration) usersync.Usersyncer
- type BeachfrontAdapter
- type BeachfrontBannerRequest
- type BeachfrontRequests
- type BeachfrontResponseSlot
- type BeachfrontSize
- type BeachfrontSlot
- type BeachfrontVideoDevice
- type BeachfrontVideoImp
- type BeachfrontVideoRequest
Constants ¶
View Source
const BannerEndpoint = "http://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 ¶
func NewBeachfrontSyncer ¶
func NewBeachfrontSyncer(cfg *config.Configuration) usersync.Usersyncer
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 openrtb.User `json:"user"` AdapterName string `json:"adapterName"` AdapterVersion string `json:"adapterVersion"` IP string `json:"ip"` RequestID string `json:"requestId"` }
---------------------------------------------------
Banner
---------------------------------------------------
func NewBeachfrontBannerRequest ¶
func NewBeachfrontBannerRequest() BeachfrontBannerRequest
type BeachfrontRequests ¶
type BeachfrontRequests struct { Banner BeachfrontBannerRequest Video BeachfrontVideoRequest }
type BeachfrontResponseSlot ¶
type BeachfrontSize ¶
type BeachfrontSlot ¶
type BeachfrontSlot struct { Slot string `json:"slot"` Id string `json:"id"` // This is the AppID, aka, exchange id on platform.beachfront.com Bidfloor float64 `json:"bidfloor"` Sizes []BeachfrontSize `json:"sizes"` }
type BeachfrontVideoDevice ¶
type BeachfrontVideoImp ¶
type BeachfrontVideoImp struct { Video BeachfrontSize `json:"video"` Bidfloor float64 `json:"bidfloor"` Id int `json:"id"` // A sequential count of which imp on the page this is. Since the bfm // video endpoint only returns one response for one imp, this is // never going to happen. This will always be 0. @TODO - Alex ImpId string `json:"impid"` // DNE in openRTB, would be "ID" Secure int8 `json:"secure"` }
Soooo close, but not quite openRTB
type BeachfrontVideoRequest ¶
type BeachfrontVideoRequest struct { IsPrebid bool `json:"isPrebid"` AppId string `json:"appId"` ID string `json:"id"` // This ID is unique to this client page load and is sent by // prebid.js. I'm sending it with banner requests as "requestId" for possible future reporting. Imp []BeachfrontVideoImp `json:"imp"` Site openrtb.Site `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.