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

Custom bidder_key_map for single order setup #136

Open
Egge21M opened this issue Sep 18, 2023 · 4 comments
Open

Custom bidder_key_map for single order setup #136

Egge21M opened this issue Sep 18, 2023 · 4 comments

Comments

@Egge21M
Copy link

Egge21M commented Sep 18, 2023

  • line-item-manager version: v0.2.10
  • Python version: 3.11.5
  • Operating System: MacOS

Description

We are trying to create line items for prebid.js with a custom price bucket key-value pair. We figured bidder_key_map is the right place to so, but it expects a bidder code and we are trying to implement this using a "Send highest bid" single order setup. So essentially I am trying to change the key-value from hb_pb to e.g. newhb_pb else for ALL bidders.

@dshore
Copy link
Collaborator

dshore commented Sep 28, 2023

@Egge7 This is not directly supported. But you should be able to override the settings by directly modifying the following:

https://github.com/prebid/line-item-manager/blob/master/line_item_manager/conf.d/settings.yml#L29-L44

LMK if you need further guidance

@dshore
Copy link
Collaborator

dshore commented Sep 28, 2023

@Egge7 I am going to add support for overriding the settings file with a CLI option for advanced users. This will allow you to easily copy the settings file and try your own custom settings.

@dshore
Copy link
Collaborator

dshore commented Sep 29, 2023

@Egge7 Try the following dev version:

# install dev version 0.2.10-dev1
pip uninstall line_item_manager
pip install https://github.com/prebid/line-item-manager/archive/master.zip

# create your own settings file and edit
line_item_manager show settings > my_settings.yml

# run using your edited settings file
line_item_manager create my_config.yml --settings my_settings.yml ...

@dshore
Copy link
Collaborator

dshore commented Oct 4, 2023

Note that this is now available in latest PyPI release:

$ line_item_manager --version
line-item-manager version 0.2.11

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

No branches or pull requests

2 participants