Skip to content
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

Multiple bid adapters: use auctionId for source.tid #9074

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

dgirardi
Copy link
Collaborator

@dgirardi dgirardi commented Oct 4, 2022

Type of change

  • Bugfix

Description of change

This changes bid adapters that were setting source.tid = bidRequests[0].transactionId to use auctionId instead. This is not exhaustive - I just touched the adapters that were easy to grep for.

Part of #8573

@patmmccann patmmccann merged commit 5d09d25 into prebid:master Oct 5, 2022
@ChrisHuie ChrisHuie self-assigned this Oct 5, 2022
@@ -307,10 +307,10 @@ const ID_REQUEST = {
}
// In the single request mode, split imps between those going to the ad server and those going to extend server
if (extendImps.length) {
requests.push(formatRequest(extendImps, null, true));
requests.push(formatRequest(extendImps, bidderRequest.auctionId, true));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deepSetValue(request, 'source.tid', bidRequest0.transactionId);
seems to still be there @dgirardi

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patmmccann, I missed that, but I don't think it has any effect now, because it's always overridden by this PR setting it to auctionID afterwards. Since all of that is being refactored in #8738 I think it's OK to leave.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no problem; I changed the original issue to call out a bunch that i found where source was on one line and tid was on the next line

JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants