Skip to content

Commit

Permalink
adding sizes, setting integration type (prebid#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored and Matt Kendall committed May 18, 2016
1 parent e254321 commit 5c62d50
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/adapters/rubicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,23 @@ var RubiconAdapter = function RubiconAdapter() {
var RUBICON_OK_STATUS = 'ok';
var RUBICON_BIDDER_CODE = 'rubicon';
var RUBICON_SIZE_MAP = {
'468x60': 1,
'728x90': 2,
'120x600': 8,
'160x600': 9,
'300x600': 10,
'300x250': 15,
'336x280': 16,
'320x50': 43,
'300x50': 44,
'300x1050': 54,
'970x250': 57
'970x90': 55,
'970x250': 57,
'1000x90': 58,
'320x480': 67,
'1800x1000': 68,
'480x320':101,
'768x1024': 102
};
var RUBICON_INITIALIZED = 0;

Expand Down Expand Up @@ -287,6 +297,7 @@ var RubiconAdapter = function RubiconAdapter() {
_bidsReady(slots);
};

window.rubicontag.setIntegration('pbjs');
window.rubicontag.run(callback, parameters);
});
}
Expand Down

0 comments on commit 5c62d50

Please sign in to comment.