From 08e770ede69e966627033b6231136eb3d1f1cf31 Mon Sep 17 00:00:00 2001 From: lm-ved Date: Mon, 12 Aug 2024 16:31:59 +0530 Subject: [PATCH] switched endpoint and added userSync config --- adapters/lemmadigital/lemmadigital_test.go | 2 +- .../lemmadigital/lemmadigitaltest/exemplary/banner.json | 2 +- .../lemmadigitaltest/exemplary/multi-imp.json | 2 +- .../lemmadigital/lemmadigitaltest/exemplary/video.json | 2 +- .../supplemental/empty-seatbid-array.json | 2 +- .../lemmadigitaltest/supplemental/invalid-response.json | 2 +- .../supplemental/status-code-bad-request.json | 2 +- .../supplemental/status-code-no-content.json | 2 +- .../supplemental/status-code-other-error.json | 2 +- static/bidder-info/lemmadigital.yaml | 8 ++++++-- 10 files changed, 15 insertions(+), 11 deletions(-) diff --git a/adapters/lemmadigital/lemmadigital_test.go b/adapters/lemmadigital/lemmadigital_test.go index e0062c0b565..6386de8f75b 100644 --- a/adapters/lemmadigital/lemmadigital_test.go +++ b/adapters/lemmadigital/lemmadigital_test.go @@ -10,7 +10,7 @@ import ( func TestJsonSamples(t *testing.T) { bidder, buildErr := Builder(openrtb_ext.BidderLemmadigital, config.Adapter{ - Endpoint: "https://sg.ads.lemmatechnologies.com/lemma/servad?pid={{.PublisherID}}&aid={{.AdUnit}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"}) + Endpoint: "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid={{.PublisherID}}&aid={{.AdUnit}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"}) if buildErr != nil { t.Fatalf("Builder returned unexpected error %v", buildErr) diff --git a/adapters/lemmadigital/lemmadigitaltest/exemplary/banner.json b/adapters/lemmadigital/lemmadigitaltest/exemplary/banner.json index 69bdb266b96..6e2f1647dd9 100644 --- a/adapters/lemmadigital/lemmadigitaltest/exemplary/banner.json +++ b/adapters/lemmadigital/lemmadigitaltest/exemplary/banner.json @@ -32,7 +32,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id", "imp": [{ diff --git a/adapters/lemmadigital/lemmadigitaltest/exemplary/multi-imp.json b/adapters/lemmadigital/lemmadigitaltest/exemplary/multi-imp.json index d71beda8d6d..ba200769f78 100644 --- a/adapters/lemmadigital/lemmadigitaltest/exemplary/multi-imp.json +++ b/adapters/lemmadigital/lemmadigitaltest/exemplary/multi-imp.json @@ -49,7 +49,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id", "imp": [{ diff --git a/adapters/lemmadigital/lemmadigitaltest/exemplary/video.json b/adapters/lemmadigital/lemmadigitaltest/exemplary/video.json index b6d0e33e25b..f95698cbc01 100644 --- a/adapters/lemmadigital/lemmadigitaltest/exemplary/video.json +++ b/adapters/lemmadigital/lemmadigitaltest/exemplary/video.json @@ -25,7 +25,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id-video", "imp": [{ diff --git a/adapters/lemmadigital/lemmadigitaltest/supplemental/empty-seatbid-array.json b/adapters/lemmadigital/lemmadigitaltest/supplemental/empty-seatbid-array.json index e24c937fbd7..d7cbbdb6972 100644 --- a/adapters/lemmadigital/lemmadigitaltest/supplemental/empty-seatbid-array.json +++ b/adapters/lemmadigital/lemmadigitaltest/supplemental/empty-seatbid-array.json @@ -42,7 +42,7 @@ }, "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "app": { "bundle": "com.ld.test", diff --git a/adapters/lemmadigital/lemmadigitaltest/supplemental/invalid-response.json b/adapters/lemmadigital/lemmadigitaltest/supplemental/invalid-response.json index dcf23479bbf..431cbbe8757 100644 --- a/adapters/lemmadigital/lemmadigitaltest/supplemental/invalid-response.json +++ b/adapters/lemmadigital/lemmadigitaltest/supplemental/invalid-response.json @@ -25,7 +25,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id-video", "imp": [{ diff --git a/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-bad-request.json b/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-bad-request.json index bee034cebfa..c3e156b349c 100644 --- a/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-bad-request.json +++ b/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-bad-request.json @@ -25,7 +25,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id-video", "imp": [{ diff --git a/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-no-content.json b/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-no-content.json index d7d62c091fa..842af7a18cc 100644 --- a/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-no-content.json +++ b/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-no-content.json @@ -25,7 +25,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id-video", "imp": [{ diff --git a/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-other-error.json b/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-other-error.json index 65dea99a36c..7123f5d70d4 100644 --- a/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-other-error.json +++ b/adapters/lemmadigital/lemmadigitaltest/supplemental/status-code-other-error.json @@ -25,7 +25,7 @@ "httpCalls": [{ "expectedRequest": { - "uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1", + "uri": "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid=1&aid=1", "body": { "id": "test-request-id-video", "imp": [{ diff --git a/static/bidder-info/lemmadigital.yaml b/static/bidder-info/lemmadigital.yaml index 535c91ffa77..4f1ed0ad177 100644 --- a/static/bidder-info/lemmadigital.yaml +++ b/static/bidder-info/lemmadigital.yaml @@ -1,4 +1,4 @@ -endpoint: "https://sg.ads.lemmatechnologies.com/lemma/servad?pid={{.PublisherID}}&aid={{.AdUnit}}" +endpoint: "https://pbid.lemmamedia.com/lemma/servad?src=prebid&pid={{.PublisherID}}&aid={{.AdUnit}}" maintainer: email: support@lemmatechnologies.com endpointCompression: gzip @@ -11,4 +11,8 @@ capabilities: site: mediaTypes: - banner - - video \ No newline at end of file + - video +userSync: + iframe: + url: "https://sync.lemmadigital.com/js/usersync.html?redirect={{.RedirectURL}}" + userMacro: "${UUID}" \ No newline at end of file