Documentation
¶
Index ¶
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 AdOcean adapter for the given bidder with the given config.
func NewAdOceanSyncer ¶
func NewAdOceanSyncer(temp *template.Template) usersync.Usersyncer
Types ¶
type AdOceanAdapter ¶
type AdOceanAdapter struct {
// contains filtered or unexported fields
}
func (*AdOceanAdapter) MakeBids ¶
func (a *AdOceanAdapter) MakeBids( internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData, ) (*adapters.BidderResponse, []error)
func (*AdOceanAdapter) MakeRequests ¶
func (a *AdOceanAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
type ResponseAdUnit ¶
type ResponseAdUnit struct {
ID string `json:"id"`
CrID string `json:"crid"`
Currency string `json:"currency"`
Price string `json:"price"`
Width string `json:"width"`
Height string `json:"height"`
Code string `json:"code"`
WinURL string `json:"winUrl"`
StatsURL string `json:"statsUrl"`
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.