prebid / Prebid.js

Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.
https://docs.prebid.org
Apache License 2.0
1.33k stars 2.08k forks source link

how to load all bids together? #929

Closed sinairofe closed 7 years ago

sinairofe commented 7 years ago

Type of issue

Description

pubmatic had less time to bid, beacuse they loaded much later than the other bidders

Steps to reproduce

Expected results

Actual results

Platform details

Other information

troels-jakobsen commented 7 years ago

Using the header bidding expert plugin, I find that this is a general problem for Pubmatic across a number of sites.

I see two options:

  1. Pubmatic requests are somehow systematically delayed due to some bug in prebid.js
  2. The Pubmatic adapter is flawed

My money is on option 2.

ialex commented 7 years ago

@sinairofe i think the problem is how their adaptor is written taking a look at their adaptor really fast i see they create an iframe then load a script from their site to get the bids (i guess this make the requests to their server), where other adaptors just make the http requests the server directly to collect the bids.

Rubicon used to also load a JS file to collect bids but they remove that and changed the adaptor to make the calls directly to improve performance.

mkendall07 commented 7 years ago

I think pubmatic still loads an external JS file - that is why bidding may be delayed. We are requiring all adapters going forward in prebid 1.0 to do direct demand requests (no library) so it should help after updating the adapter that way.