From 51311fd34e3b8682d56a299cc21767912044a39a Mon Sep 17 00:00:00 2001 From: Rich Snapp Date: Thu, 30 Mar 2017 15:42:22 -0600 Subject: [PATCH] Updated rubicon video bid endpoint in source and test files (#1097) --- src/adapters/rubicon.js | 2 +- test/spec/adapters/rubicon_spec.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/adapters/rubicon.js b/src/adapters/rubicon.js index 222cd246e3a..1a39fc17086 100644 --- a/src/adapters/rubicon.js +++ b/src/adapters/rubicon.js @@ -14,7 +14,7 @@ function getIntegration() { // use protocol relative urls for http or https const FASTLANE_ENDPOINT = '//fastlane.rubiconproject.com/a/api/fastlane.json'; -const VIDEO_ENDPOINT = '//optimized-by-adv.rubiconproject.com/v1/auction/video'; +const VIDEO_ENDPOINT = '//fastlane-adv.rubiconproject.com/v1/auction/video'; const TIMEOUT_BUFFER = 500; diff --git a/test/spec/adapters/rubicon_spec.js b/test/spec/adapters/rubicon_spec.js index 9dd7dfa80e7..1a51f5217f6 100644 --- a/test/spec/adapters/rubicon_spec.js +++ b/test/spec/adapters/rubicon_spec.js @@ -326,7 +326,7 @@ describe('the rubicon adapter', () => { let url = request.url; let post = JSON.parse(request.requestBody); - expect(url).to.equal('//optimized-by-adv.rubiconproject.com/v1/auction/video'); + expect(url).to.equal('//fastlane-adv.rubiconproject.com/v1/auction/video'); expect(post).to.have.property('page_url').that.is.a('string'); expect(post.resolution).to.match(/\d+x\d+/); @@ -659,7 +659,7 @@ describe('the rubicon adapter', () => { 'site_id': 88888, 'zone_id': 54321, 'creative_type': 'video', - 'creative_depot_url': 'https://optimized-by-adv.rubiconproject.com/v1/creative/a40fe16e-d08d-46a9-869d-2e1573599e0c.xml', + 'creative_depot_url': 'https://fastlane-adv.rubiconproject.com/v1/creative/a40fe16e-d08d-46a9-869d-2e1573599e0c.xml', 'ad_id': 999999, 'size_id': 201, 'advertiser': 12345 @@ -684,7 +684,7 @@ describe('the rubicon adapter', () => { expect(bids[0].cpm).to.equal(1); expect(bids[0].descriptionUrl).to.equal('a40fe16e-d08d-46a9-869d-2e1573599e0c'); expect(bids[0].vastUrl).to.equal( - 'https://optimized-by-adv.rubiconproject.com/v1/creative/a40fe16e-d08d-46a9-869d-2e1573599e0c.xml' + 'https://fastlane-adv.rubiconproject.com/v1/creative/a40fe16e-d08d-46a9-869d-2e1573599e0c.xml' ); expect(bids[0].impression_id).to.equal('a40fe16e-d08d-46a9-869d-2e1573599e0c');