Skip to content

Commit

Permalink
Merge pull request #157 from indexexchange/testBranchRevert
Browse files Browse the repository at this point in the history
Revert "Merge pull request #155 from rubicon-project/master"
  • Loading branch information
ix-certification authored Jan 14, 2020
2 parents f44baac + 40e76d9 commit a9a2d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
5 changes: 0 additions & 5 deletions rubicon/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# 2.1.5

- Adapter changes:
No longer defaulting the 'p_pos' param to 'btf'. It will not be included in the bid request if it is not defined

# 2.1.4

- Testing file:
Expand Down
9 changes: 2 additions & 7 deletions rubicon/rubicon-htb.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ function RubiconModule(configs) {
var queryObj = {
account_id: configs.accountId,
size_id: rubiSizeIds[0],
p_pos: slotFirstPartyData.position ? slotFirstPartyData.position : 'btf',
rp_floor: 0.01,
rf: referrer ? referrer : '',
p_screen_res: Browser.getScreenWidth() + 'x' + Browser.getScreenHeight(),
Expand All @@ -418,13 +419,7 @@ function RubiconModule(configs) {
rand: Math.random(),
dt: _getDigiTrustQueryParams()
};

// Add p_pos only if it exists
if (slotFirstPartyData.position) {
queryObj.p_pos = slotFirstPartyData.position;
}
/* eslint-enable camelcase */

if (gdprConsent && privacyEnabled && typeof gdprConsent === 'object') {
if (typeof gdprConsent.applies === 'boolean') {
queryObj.gdpr = Number(gdprConsent.applies);
Expand Down Expand Up @@ -749,7 +744,7 @@ function RubiconModule(configs) {
partnerId: 'RubiconHtb',
namespace: 'RubiconHtb',
statsId: 'RUBI',
version: '2.1.5',
version: '2.1.4',
targetingType: 'slot',
enabledAnalytics: {
requestTime: true
Expand Down

0 comments on commit a9a2d35

Please sign in to comment.