From 49fb43865cb237920abce7043d5521b15d07abc8 Mon Sep 17 00:00:00 2001
From: TheMediaGrid <44166371+TheMediaGrid@users.noreply.github.com>
Date: Mon, 1 Mar 2021 15:08:44 +0300
Subject: [PATCH] TheMediaGrid Bid Adapter: fix trouble with alias using
(#6363)
---
modules/gridBidAdapter.js | 1 -
test/spec/modules/gridBidAdapter_spec.js | 10 ----------
2 files changed, 11 deletions(-)
diff --git a/modules/gridBidAdapter.js b/modules/gridBidAdapter.js
index b296fe39ae4..8ab2e2b8a95 100644
--- a/modules/gridBidAdapter.js
+++ b/modules/gridBidAdapter.js
@@ -329,7 +329,6 @@ function _addBidResponse(serverBid, bidRequest, bidResponses) {
if (bid) {
const bidResponse = {
requestId: bid.bidId, // bid.bidderRequestId,
- bidderCode: spec.code,
cpm: serverBid.price,
width: serverBid.w,
height: serverBid.h,
diff --git a/test/spec/modules/gridBidAdapter_spec.js b/test/spec/modules/gridBidAdapter_spec.js
index b4e87119111..df119bb689d 100644
--- a/test/spec/modules/gridBidAdapter_spec.js
+++ b/test/spec/modules/gridBidAdapter_spec.js
@@ -491,7 +491,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 250,
'ad': '
test content 1
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -549,7 +548,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 250,
'ad': 'test content 1
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -563,7 +561,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 600,
'ad': 'test content 2
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -577,7 +574,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 728,
'height': 90,
'ad': 'test content 3
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -637,7 +633,6 @@ describe('TheMediaGrid Adapter', function () {
'dealId': undefined,
'width': 300,
'height': 600,
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': false,
@@ -654,7 +649,6 @@ describe('TheMediaGrid Adapter', function () {
'dealId': undefined,
'width': undefined,
'height': undefined,
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': false,
@@ -786,7 +780,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 250,
'ad': 'test content 1
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -800,7 +793,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 600,
'ad': 'test content 2
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -814,7 +806,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 728,
'height': 90,
'ad': 'test content 3
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
@@ -828,7 +819,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 600,
'ad': 'test content 4
',
- 'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,