Skip to content

Commit

Permalink
Change Domain to videoreach.com (prebid#4056)
Browse files Browse the repository at this point in the history
  • Loading branch information
VideoReach authored and sa1omon committed Nov 28, 2019
1 parent e8a9131 commit ee7bbf2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/videoreachBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {registerBidder} from '../src/adapters/bidderFactory';
const utils = require('../src/utils');
const BIDDER_CODE = 'videoreach';
const ENDPOINT_URL = '//a.videoreach.de/hb/';
const ENDPOINT_URL = '//a.videoreach.com/hb/';

export const spec = {
code: BIDDER_CODE,
Expand Down Expand Up @@ -65,7 +65,7 @@ export const spec = {
getUserSyncs: function(syncOptions, responses, gdprConsent) {
const syncs = [];

if (syncOptions.pixelEnabled && responses.length) {
if (syncOptions.pixelEnabled && responses.length && responses[0].body.responses.length) {
const SyncPixels = responses[0].body.responses[0].sync;

let params = '';
Expand Down
2 changes: 1 addition & 1 deletion modules/videoreachBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Module Name**: Video Reach Bidder Adapter
**Module Type**: Bidder Adapter
**Maintainer**: hello@videoreach.de
**Maintainer**: hello@videoreach.com

# Description

Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/videoreachBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {expect} from 'chai';
import {spec} from 'modules/videoreachBidAdapter';
import {newBidder} from 'src/adapters/bidderFactory';

const ENDPOINT_URL = '//a.videoreach.de/hb/';
const ENDPOINT_URL = '//a.videoreach.com/hb/';

describe('videoreachBidAdapter', function () {
describe('isBidRequestValid', function () {
Expand Down Expand Up @@ -86,7 +86,7 @@ describe('videoreachBidAdapter', function () {
'cpm': 10.0,
'width': '1',
'height': '1',
'ad': '<script type="text/javascript" async="true" src="//a.videoreach.de/hb/js/?t=f86fb856-15d0-4591-84eb-0830b38e9cf2"></script>',
'ad': '<script type="text/javascript" async="true" src="//a.videoreach.com/hb/js/?t=f86fb856-15d0-4591-84eb-0830b38e9cf2"></script>',
'ttl': 360,
'creativeId': '5cb5dc9375c0e',
'netRevenue': true,
Expand Down

0 comments on commit ee7bbf2

Please sign in to comment.