-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Kargo adapter BidID support #2958
Kargo adapter BidID support #2958
Conversation
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.
@samuelhorwitz
When attempting to test the changes with the test params in the .md file, I wasn't seeing any content return from the server. Specifically, the server returned an empty object {}
.
Below is a copy of the request that was generated from the testpage using the new endpoint:
https://krk.kargo.com/api/v2/bid?json=%7B%22timeout%22%3A3000%2C%22cpmGranularity%22%3A1%2C%22timestamp%22%3A1534167259555%2C%22cpmRange%22%3A%7B%22floor%22%3A0%2C%22ceil%22%3A20%7D%2C%22bidIDs%22%3A%7B%2222346f67ee75e5%22%3A%22_m1Xt2E5dez%22%7D%2C%22userIDs%22%3A%7B%22crbIDs%22%3A%7B%7D%7D%2C%22krux%22%3A%7B%22userID%22%3Anull%2C%22segments%22%3A%5B%5D%7D%2C%22pageURL%22%3A%22http%3A%2F%2Fap.localhost%3A9999%2FintegrationExamples%2Fgpt%2Fhello_world.html%3Fpbjs_debug%3Dtrue%22%2C%22rawCRB%22%3Anull%7D
Does look correct? Do the test params need to be updated in lieu of the new endpoint? Please confirm as we'd like to ensure the adapter is working fine when changes like this are made before merging.
Sorry, let me get that working. That's because we aren't bidding on that payload but I can get something set up for a working payload. |
Alright, try it now. Remember, you have to use a mobile browser user agent or else it won't work, but otherwise it's up and running. |
@samuelhorwitz thanks for providing the feedback. I am seeing something return currently, however I'm encountering a different problem around the currency field. It doesn't seem like the value is being populated correctly in the There are two aspects of the problem I encountered:
This happened when it was trying to add the bid to the auction. In lieu of the above two, could you perhaps modify the |
Alright I fixed it with 51a1218 This fixes it at the point where I apparently was mishandling it (in the |
@samuelhorwitz Thanks for the updates; they appear to be working fine now. |
Type of change
Description of change
This updates the adapter to point to a new bid endpoint. The endpoint is versioned so that the old endpoint and payload will still work. The new endpoint accepts placements mapped by prebid bid IDs. This allows multiples of the same placement per request/response.
Other information
This is a fix for the adapter regarding #2873