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

PrebidServer Default Vendor option does not honor enabled field #3515

Closed
robertrmartinez opened this issue Feb 5, 2019 · 7 comments
Closed
Assignees

Comments

@robertrmartinez
Copy link
Collaborator

Type of issue

BUG - Unsure of when introduced, or if has been the case since default vendors was included.

Description

When using the defaultVendor option in s2sConfig, we cannot overwrite the enabled field.
The auction will ALWAYS hit PBS when the defaultVendor is set and cannot be shut off with enabled: false

Steps to reproduce

Any s2s test page with the following s2sconfig will show this behavior:

                s2sConfig: {
                    accountId: 1001,
                    defaultVendor: "rubicon",
                    bidders: ['rubicon'],
                    enabled: false,
                },

The above will still request rubicons Prebid Server for any Rubicon Bids.

Workaround is to just empty out the bidders list.

Test page

https://jsfiddle.net/mvyurf3o/3/
I would expect this test page to make a Client Side request to Rubicon, not a Server Side!

https://jsfiddle.net/zLe2jnad/1/
This test page showing that if I remove defaultVendor and just put an endpoint, then it does correctly disable the server connection.

Expected results

WHEN defaultVendor is set and enabled is false
THEN no server connection is made.

Actual results

enabled is ignored and is whatever the default vendor has set.

@bretg
Copy link
Collaborator

bretg commented Feb 7, 2019

Good catch @robertrmartinez - will put it in our queue for next sprint

@mkendall07
Copy link
Member

@bretg @robertrmartinez
I believe this is fixed now? can you confirm?

@robertrmartinez
Copy link
Collaborator Author

@mkendall07

Is there a link to the PR?

I tried with Prebid 2.32.0 and it still does not work.

@robertrmartinez
Copy link
Collaborator Author

@jaiminpanchal27 Was this actually fixed or just still waiting to be fixed?

I do not think it is super high priority but wanted to make sure cuz I could not find an associated PR

@jaiminpanchal27
Copy link
Collaborator

@robertrmartinez Not fixed. Thanks for taking it.

@gglas
Copy link

gglas commented Feb 8, 2021

@robertrmartinez to review today and close or plan next steps

@patmmccann
Copy link
Collaborator

Solved in #6622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants