-
Notifications
You must be signed in to change notification settings - Fork 84
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
Not setting includewinners and includebidderkey flags to false for the request to PBS #780
Comments
Sorry, but the SDK should not be sending targeting values. This should be managed on the Prebid Server side where it can be changed globally.
In short, the app should avoid hardcoding unnecessary fields because it severely ties the hands of those who have to maintain it. So, @AbrahamArmasCordero , the way I recommend you solve this problem is to work with your Prebid Server provider. The default Prebid Server value for includewinners and includebidderkeys is If you're using https://prebid-server-test-j.prebid.org/openrtb2/auction, don't worry about it. You can control this in your production Prebid Server. As a lower priority enhancement, it would be reasonable to publish different test top-level requests in Prebid's test PBS covering different combinations of includewinners and includebidderkeys. |
Totally agree with @bret! The issue and fix look relevant to SDK. Moreover, the provided fix will silently break the current behavior. Also. @AbrahamArmasCordero , please share the code snippets for the requests so we can reproduce them. |
I also agree with @bretg i have read the PBS documentation but the original problem and root of this being in the mobile sdk was that my provider is not able to provide me with this changes for now. See issue #651 I'm discussing with the support of my provider since last year when i opened the issue but we are still working on this. What i would like to do is to have this included in the next version, and remove it if we agree we should not provide this feature from the SDK. Sorry i just included screenshots, here are the code snippets of the requests, as said i sent them to the Request with only
Request with flags set explicitly to true and false ->
|
@AbrahamArmasCordero, thanks for the details and the requests. If it's necessary to send these keys from the SDK the fix should be a bit different. If the publisher didn't provide any values for these properties, they shouldn't appear in the request at all. Only if publisher used |
i'll make that work then |
@YuriyVelichkoPI done both PR's hope this works, if anything happens tell me. |
Haven't reviewed it precisely yet, but please add Unit Tests. They will help not to break the behaviour in the future. |
Could this problem be solved with arbitrary openrtb rather than creating a temporary set of functions? https://docs.prebid.org/prebid-mobile/pbm-api/ios/pbm-targeting-ios.html#arbitrary-openrtb
Though honestly, it appears that the arbitrary openrtb feature may not be fully baked. Perhaps Android works but not sure about iOS. |
@bretg functions are not new. But they work incorrectly right now. And yes, once the arbitrary openrtb feature works it should be used in most cases. |
Update: After talking with support they are not going to make available this flags for modification because they are sending Send All Bids + Sent Top Bid key-values every time so it's a decision we can make when doing the configuration of the GAM line items. So if we add this because i said we plan to remove when appnexus fixes this issue, it's not an issue for them so we are not removing this never if we leave it So canceling this PR and if you think is appropriate i can remove all the code related to this flags, i think so since as you said we have arbitrary openrtb feature |
As for me the PRs make sense because they fix behaviour of these properties. Right now, properties work incorrectly an publisher can't send a So, adding tests will be a good final point for them before merging. |
Please don't default |
No default values in the requests. For sure. |
i'll try to finish the PR then this week, sorry for the waiting. |
No worries, thanks for your contribution @AbrahamArmasCordero ! |
Describe the bug
Even though we are not sending the
includebidderkey
s and sendingincludewinners=true
the testing prebid server is assuming that the flag is true and sending the key-values like we are using a Send All Bids workflow, so for solving this issue and having only the key-values needed for Send Top Bid Workflow is specifying either true or false is necessary.This will also enable the PBS to implement any default value.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
if we have includewinners=true and no includebidderkeys is present in the skeleton request sent to PBS we are suppose to get a Send Top Bid key-values but instead we are getting a Send All Bids key values.
Screenshots
With postman i was able to showcase this ->
Im setting up a Post HTTP Call with the url
https://prebid-server-test-j.prebid.org/openrtb2/auction
and copy pasting the logged request from prebid from the logcatRequest with only
includewinners
set explicitly to trueResponse with only
includewinners
set explicitly to trueRequest with flags set explicitly to true and false
Response with flags set explicitly to true and false (only top bid key-values are received)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: