Skip to content

Commit

Permalink
LemmaDigital: change endpoint (#3862)
Browse files Browse the repository at this point in the history
  • Loading branch information
lm-ved authored Sep 16, 2024
1 parent 3e24be7 commit 640b97c
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion adapters/lemmadigital/lemmadigital_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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://test.lemmaurl.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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id",
"imp": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id",
"imp": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id-video",
"imp": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"app": {
"bundle": "com.ld.test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id-video",
"imp": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id-video",
"imp": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id-video",
"imp": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

"httpCalls": [{
"expectedRequest": {
"uri": "https://sg.ads.lemmatechnologies.com/lemma/servad?pid=1&aid=1",
"uri": "https://test.lemmaurl.com/lemma/servad?src=prebid&pid=1&aid=1",
"body": {
"id": "test-request-id-video",
"imp": [{
Expand Down
8 changes: 6 additions & 2 deletions static/bidder-info/lemmadigital.yaml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
endpointCompression: gzip
Expand All @@ -11,4 +11,8 @@ capabilities:
site:
mediaTypes:
- banner
- video
- video
userSync:
iframe:
url: "https://sync.lemmadigital.com/setuid?publisher=850&redirect={{.RedirectURL}}"
userMacro: "${UUID}"

0 comments on commit 640b97c

Please sign in to comment.