From b21252c8e8968d0e70a7414bd835b0602b658607 Mon Sep 17 00:00:00 2001
From: VideoReach <49446045+VideoReach@users.noreply.github.com>
Date: Tue, 6 Aug 2019 18:10:36 +0200
Subject: [PATCH] Change Domain to videoreach.com (#4056)
---
modules/videoreachBidAdapter.js | 4 ++--
modules/videoreachBidAdapter.md | 2 +-
test/spec/modules/videoreachBidAdapter_spec.js | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/videoreachBidAdapter.js b/modules/videoreachBidAdapter.js
index 03290c9b79c..363355292ca 100644
--- a/modules/videoreachBidAdapter.js
+++ b/modules/videoreachBidAdapter.js
@@ -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,
@@ -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 = '';
diff --git a/modules/videoreachBidAdapter.md b/modules/videoreachBidAdapter.md
index cdd1ecc04c5..a68c9b26aeb 100644
--- a/modules/videoreachBidAdapter.md
+++ b/modules/videoreachBidAdapter.md
@@ -2,7 +2,7 @@
**Module Name**: Video Reach Bidder Adapter
**Module Type**: Bidder Adapter
-**Maintainer**: hello@videoreach.de
+**Maintainer**: hello@videoreach.com
# Description
diff --git a/test/spec/modules/videoreachBidAdapter_spec.js b/test/spec/modules/videoreachBidAdapter_spec.js
index b74a0236551..237821f7102 100644
--- a/test/spec/modules/videoreachBidAdapter_spec.js
+++ b/test/spec/modules/videoreachBidAdapter_spec.js
@@ -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 () {
@@ -86,7 +86,7 @@ describe('videoreachBidAdapter', function () {
'cpm': 10.0,
'width': '1',
'height': '1',
- 'ad': '',
+ 'ad': '',
'ttl': 360,
'creativeId': '5cb5dc9375c0e',
'netRevenue': true,