-
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
ortb2 FPD object contains a ortb 2.6 field #9250
Comments
The 2.6 spec states:
However, that section is not in the 2.5 spec, so it's not clear if that is recommended only for 2.6 onwards (the wording seems to be general to 2.x). I am not sure of what As an immediate fix I believe we should start with removing |
Both of the other adapters that are currently behind the common logic - Prebid Server and OpenX - do not mind getting extra fields. It's hard to gauge now if this problem will be more common as more adapters convert. If it is to be addressed by core, my preference would be to add another library utility that takes in an ortb2 request and strips out all fields that are not defined in the 2.5 spec. |
My understanding from @SyntaxNode was that extra fields should be ignored, and that is part of the 2.x spec to not fail on unrecognized fields. I'm having trouble finding a reference on this. |
@dgirardi @patmmccann thanks for your input. I'll discuss with our ad server team regarding relaxing the 2.5 schema. I'll get back to you. |
As mentioned in #9251, a temporary fix to handle Regarding the general point of unknown fields in ortb2 object: The conclusion of an internal Improve Digital discussion is that we can relax our schema validation in our SSP but it will have to be thoroughly tested if all DSPs that we work with are ok with unknown fields. If not, then we would need to implement filter to remove extra fields from DSP requests. This will take same time and until then we will be vulnerable and will face the same issue of validation failing and requests rejected with any new ortb 2.6 field added. Since Improve Digital is the first and currently the only case, it's hard for me to propose what action should be taken in Prebid core. What I find confusing though is that any FPD docs don't make it clear the fields can be from any 2.x version. If anything, there's a note in https://docs.prebid.org/features/firstPartyData.html saying:
The above is either not true (site and user can contain also fields from other ortb versions) or all objects inside |
@jbartek25 - FWIW, Prebid Server has a similar assumption -- that bidders will ignore unknown ORTB fields. We think this is a desirable approach for endpoints because the IAB plans to release updates to 2.6 frequently, which means new fields more often than before. |
After discussing this offline, we agreed that it makes sense for Prebid to offer adapters an option to "downgrade" 2.6 to 2.5. This means a utility that removes or renames 2.6 fields (for example, renaming |
@bretg The PBS itself (at least the Java version I tested) ignores the unknown fields, but then the server-side SSP requests sent from PBS have |
Hmm. You're right... PBS-Go and PBS-Java are handling this differently. When I add device.sua to a request, PBS-Java does not forward to rubicon, but PBS-Go does. Will check with the teams, but in any case, the PBS committee re-affirmed today that we would like bidder adapters and endpoints to be responsible for handling unknown fields in the way that seems best suited for them: either specifically remove or ignore. |
@jbartek25 there is a very good chance you will start seeing regs.gpp if publishers start doing setConfigs to see it. You might want to handle that explicitly in your adapter or backend. |
Thanks for the heads-up. Improve Digital SSP will make changes to handle unkown fields in all our endpoints (both PBJS and PBS) soon. In the meantime, we will probably just handle new fields as we see them as any adapter fix would be temporary and would have to be made in both PBS and PBJS adapters. |
Type of issue
Bug
Description
enrichmentFpdModule with the help of sua.js adds ortb 2.6 field
device.sue
into ortb2 object.Improve Digital bidder adapter was recently migrated to benefit from the common
ortbConverter
logic which fills in all the usual fields in a oRTB bid request. Now, Improve Digital ad server endpoint is oRTB 2.5 and rejects any request containingdevice.sue
.I believe most (all) SSPs with oRTB endpoints are on oRTB 2.5 and the
ortbConverter
should only set valid 2.5 fields. This is a big issue for us. I would think our adapter is not the right place for the fix and it should be either inortbConverter
or elsewhere in the core/common logic. What do you think? @dgirardiThe text was updated successfully, but these errors were encountered: