-
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
Questions on updating from legacy native fields to ortb native fields #10249
Comments
those are response (not request) fields, right? I'm not sure what they'd mean in a request. Lines 762 to 763 in a318783
Correct. Looking at what we do now however, it doesn't quite match your description IMO:
It may make sense to accept any number of sizes, pick the first and put the rest under |
For 1, I meant for the request. For example, if I had a setup like:
Prebid makes a nativeOrtbRequest like:
In this case, the |
It looks like for
|
After reading Demetrio's analysis, probably we may want to:
We all agree that requesting Regarding aspect_ratios, yes, the spec says that it must be just one value, so prebid was actually allowing more of what the spec allows. |
As a slight related tangent, while I was looking a bit further at the bid response conversion logic that would be needed in the appnexus adapter, I noticed that there was a reference for a While I'm not sure if someone could be using this native video field from our existing code, would it be possible for us to add support for the video part of the native ortb spec to the project just in case? It seems like it's not there currently, from what I saw in the native.js conversion code (unless I missed something?). |
@jsnellbaker , previous version of native didn't have video support (you can find previous docs here), so when this rewrite was planned, we decided to cover only the already implemented requirements. Video is definitely a TODO item. But I would create a separate issue to track that. |
@jsnellbaker - is #10271 (and #10275) enough to close this? Or should we try to deal with privacyIcon as well? |
@dgirardi I think we should either make a change to handle the privacyIcon field properly in the ortb conversion functions, or consider this other PR (#10259) as a temporary measure to properly suppress it. Atm if you include that asset in the adunit, the conversion functions make a 'blank' asset field in the nativeOrtbRequest object, which could skew what adapters do if they're not expecting that. Additionally, I think we need to come to a resolution about the multiple aspect_ratios behavior that Prebid allows but isn't properly handled for the native ortb spec. Should we pass along the other ratios to the ext field or just ignore them? I think those we the mentioned options. I think between all these changes, we could then close this issue. |
* fix for privacyLink in native #10249 * handle privacy link in response too * privacy link should be returned in response --------- Co-authored-by: Michele Nasti <michele@magnite.com>
Options include: ask iab to mainline privacyLink in the response provisionally; or deprecate support. |
It seems I wrote the wrong thing in the last note? Reading the thread in more detail it seems only privacyIcon is an open question? |
@jsnellbaker We're hoping to just eventually delete support for privacyIcon in the request? If this field disappeared from the request, would it present any problems for your exchange? If so, can Microsoft propose a home for it in the ortb2 request object? |
TMK we don't actively use the field as of today nor have we in the past. What I reported with respect to the privacyIcon was meant to be a general issue for prebid as a whole. I'm sorry if the wires were crossed somewhere or if I gave indication that we (appnexus) needed the field to make our transitions. We don't and the PR I created does not intend to include the privacyIcon field. If removing the field overall is the best course of action that the community decides to better align with the ORTB native spec (or for any other valid reasons), I'm not opposed so long as the proper deprecation warning for other bidders is given for them to potentially react. |
@jsnellbaker apologies for the confusion, just attempting to do my part to drive this to resolution. Is there remaining work to do other than find a home for privacyLink in the request object? it seems Criteo uses this field in their responses https://publisherdocs.criteotilt.com/openrtb/#native-ads-using-lazy-native-mechanism- Tagging @FlorentDancy who might be able to speak to the need in requests. |
I understand @patmmccann I think there's still an open question about prebid's ability to support multiple sizes/aspect_ratios (min height/width) in the legacy native setup, whereas in the native ortb spec it is expected to pass one set of sizes (either normal sizes or min sizes). I'm not sure if there's a plan to pass additional sizes to native ortb ext or possibly ignore them/drop the extra sizes to force just one set to be used. |
* fix for privacyLink in native prebid#10249 * handle privacy link in response too * privacy link should be returned in response --------- Co-authored-by: Michele Nasti <michele@magnite.com>
Type of issue
Question
Description
I'm working on updating the appnexus adapter to no longer rely on the
convertOrtbRequestToProprietaryNative()
by reading the ortb native information from thebidRequest.nativeOrtbRequest
.But while going through the changes and comparing the fields, I noticed some gaps from the legacy native setup to the ortb native setup.
I was hoping for some feedback about how to address these gaps, in the case that someone might have been using them with their legacy native adUnits and I don't break part of their setup. See below:
The text was updated successfully, but these errors were encountered: