From 2b55ba24fe5853c8e03502a8deb4b9bcef3fb71a Mon Sep 17 00:00:00 2001 From: Kevin Park Date: Tue, 18 Apr 2023 15:05:47 -0700 Subject: [PATCH 1/6] Update ttl and referer info in underdogmediaBidAdapter --- integrationExamples/gpt/hello_world.html | 4 ++-- modules/underdogmediaBidAdapter.js | 4 ++-- package-lock.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/integrationExamples/gpt/hello_world.html b/integrationExamples/gpt/hello_world.html index 47ba5b8f18a..6ab85ae2f55 100644 --- a/integrationExamples/gpt/hello_world.html +++ b/integrationExamples/gpt/hello_world.html @@ -24,9 +24,9 @@ }, // Replace this object to test a new Adapter! bids: [{ - bidder: 'appnexus', + bidder: 'underdogmedia', params: { - placementId: 13144370 + siteId: '12143' } }] diff --git a/modules/underdogmediaBidAdapter.js b/modules/underdogmediaBidAdapter.js index 233d5f080a9..f1fe65d34a6 100644 --- a/modules/underdogmediaBidAdapter.js +++ b/modules/underdogmediaBidAdapter.js @@ -77,7 +77,7 @@ export const spec = { pbTimeout: config.getConfig('bidderTimeout'), pbjsVersion: prebidVersion, placements: [], - ref: deepAccess(bidderRequest, 'refererInfo.ref') ? bidderRequest.refererInfo.ref : undefined, + ref: deepAccess(bidderRequest, 'refererInfo.page') ? bidderRequest.refererInfo.page : undefined, usp: {}, userIds: { '33acrossId': deepAccess(validBidRequests[0], 'userId.33acrossId.envelope') ? validBidRequests[0].userId['33acrossId'].envelope : undefined, @@ -196,7 +196,7 @@ export const spec = { creativeId: mid.mid, currency: 'USD', netRevenue: false, - ttl: mid.ttl || 60, + ttl: mid.ttl || 300, meta: { advertiserDomains: mid.advertiser_domains || [] } diff --git a/package-lock.json b/package-lock.json index 54442c348e0..e3ec77f4469 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "prebid.js", - "version": "7.42.0-pre", + "version": "7.46.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.16.7", From f59148c439174001a05211066c352ff960db30e1 Mon Sep 17 00:00:00 2001 From: Kevin Park Date: Tue, 18 Apr 2023 15:09:56 -0700 Subject: [PATCH 2/6] Restore hello world default --- integrationExamples/gpt/hello_world.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationExamples/gpt/hello_world.html b/integrationExamples/gpt/hello_world.html index 6ab85ae2f55..47ba5b8f18a 100644 --- a/integrationExamples/gpt/hello_world.html +++ b/integrationExamples/gpt/hello_world.html @@ -24,9 +24,9 @@ }, // Replace this object to test a new Adapter! bids: [{ - bidder: 'underdogmedia', + bidder: 'appnexus', params: { - siteId: '12143' + placementId: 13144370 } }] From c131dae4f72240d59a1a66e86bb386e16868ff05 Mon Sep 17 00:00:00 2001 From: Kevin Park Date: Tue, 18 Apr 2023 15:39:13 -0700 Subject: [PATCH 3/6] Fix the unit test for referer info --- test/spec/modules/underdogmediaBidAdapter_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/modules/underdogmediaBidAdapter_spec.js b/test/spec/modules/underdogmediaBidAdapter_spec.js index 4201ecc2329..040d85f9179 100644 --- a/test/spec/modules/underdogmediaBidAdapter_spec.js +++ b/test/spec/modules/underdogmediaBidAdapter_spec.js @@ -735,7 +735,7 @@ describe('UnderdogMedia adapter', function () { }, }, refererInfo: { - ref: 'www.example.com' + page: 'www.example.com' } } From ceb5e06e402643573ac06af989886f66d75cfa41 Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 16 May 2023 10:47:47 -0700 Subject: [PATCH 4/6] undo change to package lock --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index e3ec77f4469..4436e3c488d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "7.46.0-pre", + "version": "7.42.0-pre", "lockfileVersion": 2, "requires": true, "packages": { From f353846400cab07469226fb3ea206180ed52ec09 Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 16 May 2023 10:48:38 -0700 Subject: [PATCH 5/6] undo change to package lock --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 4436e3c488d..ff508ed869b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "prebid.js", - "version": "7.46.0-pre", + "version": "7.42.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.16.7", From 2fac7ccf3ef6a8ed940258ae1052d402e1f0666e Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 16 May 2023 10:55:07 -0700 Subject: [PATCH 6/6] revert change to package-lock.json --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index ff508ed869b..54442c348e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "7.42.0-pre", + "version": "7.46.0-pre", "lockfileVersion": 2, "requires": true, "packages": {