Skip to content

Commit

Permalink
TheMediaGrid Bid Adapter: fix trouble with alias using (#6363)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMediaGrid authored Mar 1, 2021
1 parent 827d982 commit 49fb438
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion modules/gridBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 0 additions & 10 deletions test/spec/modules/gridBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand Down Expand Up @@ -549,7 +548,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand All @@ -563,7 +561,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 600,
'ad': '<div>test content 2</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand All @@ -577,7 +574,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 728,
'height': 90,
'ad': '<div>test content 3</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand Down Expand Up @@ -637,7 +633,6 @@ describe('TheMediaGrid Adapter', function () {
'dealId': undefined,
'width': 300,
'height': 600,
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': false,
Expand All @@ -654,7 +649,6 @@ describe('TheMediaGrid Adapter', function () {
'dealId': undefined,
'width': undefined,
'height': undefined,
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': false,
Expand Down Expand Up @@ -786,7 +780,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand All @@ -800,7 +793,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 600,
'ad': '<div>test content 2</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand All @@ -814,7 +806,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 728,
'height': 90,
'ad': '<div>test content 3</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand All @@ -828,7 +819,6 @@ describe('TheMediaGrid Adapter', function () {
'width': 300,
'height': 600,
'ad': '<div>test content 4</div>',
'bidderCode': 'grid',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': false,
Expand Down

0 comments on commit 49fb438

Please sign in to comment.