-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LemmaDigital: change endpoint #3862
Conversation
Code coverage summaryNote:
lemmadigitalRefer here for heat map coverage report
|
iframe: | ||
url: "https://sync.lemmadigital.com/js/usersync.html?redirect={{.RedirectURL}}" | ||
userMacro: "${UUID}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@imedvedko Requesting you to please fix this usersync URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking into this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@imedvedko Requesting you to please fix this usersync URL.
It's not me 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gargcreation1992 , please check now, we've made an update to the url.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UID is still not being set. Getting the following redirect URL -
https://ib.adnxs.com/prebid/setuid?bidder=lemmadigital&gdpr=&gdpr_consent=&gpp=&gpp_sid=&f=b&uid=${UUID}&
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gargcreation1992, can you share which URL you used to check this?
URL used:
https://sync.lemmadigital.com/setuid?publisher=850&redirect=https%3A%2F%2Fib.adnxs.com%2Fprebid%2Fsetuid%3Fbidder%3Dlemmadigital%26gdpr%3D%26gdpr_consent%3D%26gpp%3D%26gpp_sid%3D%26f%3Db%26uid%3D%24%7BUUID%7D
Note: The recent commit: b00e873 prior to this comment: #3862 (comment) had changed the URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gargcreation1992 , did you get a chance to check this comment: #3862 (comment)?
Share the details please if there is additional feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user sync verified using https://sync.lemmadigital.com/setuid?publisher=850&redirect=http%3A%2F%2Flocalhost%3A8000%2Fsetuid%3Fbidder%3Dlemmadigital%26gdpr%3D%26gdpr_consent%3D%26gpp%3D%26gpp_sid%3D%26f%3Db%26uid%3D%24%7BUUID%7D
cookie after sync completes:
echo "eyJ0ZW1wVUlEcyI6eyJsZW1tYWRpZ2l0YWwiOnsidWlkIjoiNDUxODEwOWMtNzIwMC0xMWVmLWFjNWUtZDA4ZTc5ZjZjZjdlIiwiZXhwaXJlcyI6IjIwMjQtMDktMjdUMTU6MjA6NDAuNDkzNDYxLTA0OjAwIn19fQ" | base64 -D
{"tempUIDs":{"lemmadigital":{"uid":"4518109c-7200-11ef-ac5e-d08e79f6cf7e","expires":"2024-09-27T15:20:40.493461-04:00"}}
Code coverage summaryNote:
lemmadigitalRefer here for heat map coverage report
|
@@ -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"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest using a fake url for your tests so that you don't have to make all of these changes to the test files if you need to change your endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bsardo , updated the tests with a fake url to avoid future test url changes.
Code coverage summaryNote:
lemmadigitalRefer here for heat map coverage report
|
iframe: | ||
url: "https://sync.lemmadigital.com/js/usersync.html?redirect={{.RedirectURL}}" | ||
userMacro: "${UUID}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user sync verified using https://sync.lemmadigital.com/setuid?publisher=850&redirect=http%3A%2F%2Flocalhost%3A8000%2Fsetuid%3Fbidder%3Dlemmadigital%26gdpr%3D%26gdpr_consent%3D%26gpp%3D%26gpp_sid%3D%26f%3Db%26uid%3D%24%7BUUID%7D
cookie after sync completes:
echo "eyJ0ZW1wVUlEcyI6eyJsZW1tYWRpZ2l0YWwiOnsidWlkIjoiNDUxODEwOWMtNzIwMC0xMWVmLWFjNWUtZDA4ZTc5ZjZjZjdlIiwiZXhwaXJlcyI6IjIwMjQtMDktMjdUMTU6MjA6NDAuNDkzNDYxLTA0OjAwIn19fQ" | base64 -D
{"tempUIDs":{"lemmadigital":{"uid":"4518109c-7200-11ef-ac5e-d08e79f6cf7e","expires":"2024-09-27T15:20:40.493461-04:00"}}
Related PR: #3750
One of them should be merged.
📋 Checklist