RTBHouse: Extract tagid from Imp fields#4624
RTBHouse: Extract tagid from Imp fields#4624pjaworski-rtbh wants to merge 7 commits intoprebid:masterfrom
Conversation
Code coverage summaryNote:
rtbhouseRefer here for heat map coverage report |
…andling and simplify implementation
Code coverage summaryNote:
rtbhouseRefer here for heat map coverage report |
|
@bsardo Could you please share an estimate for when we can expect an updated status on this PR? The Java PR is nearly finalized, and we’d like to bring this one to the same point as well. |
Taxel
left a comment
There was a problem hiding this comment.
Please make sure pbadslot is written in lowercase both in the comment and the test.
The code (and lowercased field name) seems to be correct.
adapters/rtbhouse/rtbhousetest/exemplary/tagid-precedence-gpid-over-pbadslot.json
Outdated
Show resolved
Hide resolved
Code coverage summaryNote:
rtbhouseRefer here for heat map coverage report |
linux019
left a comment
There was a problem hiding this comment.
Please use jsonutil wrapper instead of standard json - it much faster
Code coverage summaryNote:
rtbhouseRefer here for heat map coverage report |
pjaworski-rtbh
left a comment
There was a problem hiding this comment.
@linux019 All suggestions have been covered.
Code coverage summaryNote:
rtbhouseRefer here for heat map coverage report |
Code coverage summaryNote:
rtbhouseRefer here for heat map coverage report |
🔧 Type of changes
✨ What's the context?
Related PR (Java): prebid/prebid-server-java#4306
RTBHouse bidder was not setting
imp.tagidin outgoing requests, which could impact ad targeting effectiveness. This change adds support for populatingtagidfrom various incoming request fields with a defined priority order.📋 Description
Adds logic to set
imp.tagidin RTBHouse bid requests using fallback priority:imp.ext.gpid→imp.ext.data.adserver.adslot→imp.ext.data.pbadslot→imp.id→ null. This ensures better ad targeting by providing RTBHouse with appropriatetagidvalues.🧪 Testing results
Tests run: 34, Failures: 0, Errors: 0, Skipped: 0coverage: 92.6% of statementsAll RTBHouse bidder tests pass successfully. Updates:
imp.tagidin expected outgoing requestsOther information
Please reach us at inventory_support@rtbhouse.com with piotr.jaworski@rtbhouse.com and cc leandro.otani@rtbhouse.com.