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

Auto / Dense price granularity #27

Open
salvoaranzulla opened this issue May 12, 2017 · 2 comments
Open

Auto / Dense price granularity #27

salvoaranzulla opened this issue May 12, 2017 · 2 comments

Comments

@salvoaranzulla
Copy link

Hi,

Can you implement an option to create line items with "auto" or "dense" price granularity?

http://prebid.org/dev-docs/publisher-api-reference.html#module_pbjs.setPriceGranularity

@kmjennison
Copy link
Owner

I agree this would be helpful. It's a known limitation of this project, and the workaround now is to use the densest bucketing you need.

PR welcome. There's already a FIXME comment in settings.py to make PREBID_PRICE_BUCKETS an array.

@pboisso
Copy link

pboisso commented Sep 24, 2017

What I did to achieve the 'dense' price granularity is to run the script 3 times on the same order, but changing the PREBID_PRICE_BUCKETS each time. Works like a charm.

The only drawback I found is that the script creates a new set of creative each script run instead of reusing the same creative already created in previous runs, but I can live with that!

Thanks so much for sharing such a great script !

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

3 participants