Skip to content

Instantly share code, notes, and snippets.

View mkendall07's full-sized avatar

Matt Kendall mkendall07

View GitHub Profile

Prebid.js

Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.

Many SSPs, bidders, and publishers have all contributed to this project.

Check out the overview and documentation at http://prebid.org.

No more week-long development. Header bidding is made easy by prebid.js :)

{
"version": "0.0.1",
"tags": [{
"uuid": "0a7c7c47-1f1c-436f-afdb-9b66abe8fd70",
"tag_id": 5839879,
"auction_id": "275902152711708679",
"no_ad_url": "http://nym1.ib.adnxs.com/it?e=wqT_3QL5BKh5AgAAAwDWAAUBCKDsr7gFEIfAlum88YzqAxjm4p6rqYDjtBMgASotCQAACQIAEQkHCAAAGQkJCPA_IQkJCAAAKREJ8Hgwh7jkAji-B0C-B0gAUABYhO4zYABogqACeACAAQGSAQNVU0SYAawCoAH6AagBBrABALgBAMABAMgBANABANgBAOABAPABAIoCOnVmKCdhJywgNjczNTI0LCAxNDYwNDAxNjk2KTt1ZigncicsIDM4MDE0NzAwLCAxHR7wY5ICyQEhd0NhVm1naWI5YWNGRU95ZGtCSVlBQ0NFN2pNd0FEZ0FRQVJJdmdkUWg3amtBbGdBWUw0RmFBQndBSGdBZ0FFQWlBRUFrQUVCbUFFQm9BRUJxQUVEc0FFQXVRRUFBQUEBAxB1UU1FQgEJAQFETGtESkFkQlloY0NUeXZrXzJRESiYRHdQLUFCQVBVQkFBQndRWmdDaW9iUW9nS2dBZ0MxQWdBQUFBQzlBBQhsRGdBZ0RvQWdENEFnQ0FBd0UumgIlIURRbWNhdzbMABxoTzR6SUFRbwlMwEku2ALoB-AC_9Uu6gI8aHR0cDovL2FwLmxvY2FsaG9zdDo4MDkwL3Rlc3RzL2UyZS8BCvB3UGFnZXMvbWVkaWF0aW9uLmh0bWw_gAMAiAMBkAMAmAMXoAMBqgMAsAMAuAMAwAOsAsgDAdgDAOADAOgDAPgDAoAEAJIEBi91dC92MpgEAKIECzEwLjEuMTMuMjAwqAQAsgQMCAAQARisAiD6ASgAuAQAwAQAyAQA&s=ab215a0d6a884e5a02c2903fe8899868c086e39
var APN_macros = {};
APN_macros.ma = [{
"handler": [{
"params": {
"height": "250",
"width": "300",
"creativeId": 38014700
},
"content": "<!-- BEGIN JS TAG - Scenario2_Mediation < - DO NOT MODIFY -->\n<SCRIPT SRC=\"http://ib.adnxs.com/ttj?id=5839946\" TYPE=\"text/javascript\"></SCRIPT>\n<!-- END TAG -->"
}],
@mkendall07
mkendall07 / release.md
Last active October 7, 2016 16:39
prebid.js release template

New Features

  • New adapter: xxx (#commit_number - @contributer)

Feature (beta)

  • xxx
//code example
@mkendall07
mkendall07 / concurrent_auctions.md
Created May 9, 2017 19:31
Concurrent Auctions

Concurrent Auctions - ready for review

The proposal for concurrent auction support will be for Prebid.js to hide details of concurrency from the end user (publisher). They will still use the same public API's that are in place (i.e. requestBids() etc) but receive the benefit of better performance (not having to have bid requests queued). Concurrency just works (CJW).

When a getTargeting request is made to prebid, prebid will deteremine the best bid that is available at the given time out of the pool of available bids.

Auction Manager // new class to replace bidmanager.js

  • Is responsible for storing auction references (each auction object will store N # of bids associated with a particular call of requestBids()) in a internal structure
  • Concurrent auctions will be supported via creating new auction instances
  • auction instances will be bound to a specific auctionRequest copy that is passed from adaptermanager.js
@mkendall07
mkendall07 / publisher_api_changes.md
Last active September 15, 2017 17:49
Prebid 1.0 Publisher API changes

Status: Ready for review

Goals

  • Make the public API easier / simpler if possible, while preserving the ability for more advanced setups.
    • Depracting API's as needed.
  • Configration to be expressed JSON
  • Expanding functionality of size mapping

Deprecations: