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

MediaType PriceGranularity #857

Closed
bretg opened this issue Mar 25, 2019 · 1 comment
Closed

MediaType PriceGranularity #857

bretg opened this issue Mar 25, 2019 · 1 comment
Labels
External API impact Tag for issues and PRs which affect the external API Intent to implement An issue describing a plan for a major feature. These are intended for community feedback stale

Comments

@bretg
Copy link
Contributor

bretg commented Mar 25, 2019

Prebid.js supports a feature called mediaTypePriceGranularity -- http://prebid.org/dev-docs/publisher-api-reference.html#setConfig-MediaType-Price-Granularity . It allows the same auction to have two different price granularities - a banner adunit can specify one granularity and a video unit another.

The proposed Prebid Server feature extends the API to support this feature as well. So in addition to:

$.ext.prebid.targeting.pricegranularity

Prebid Server should support

$.ext.prebid.targeting.mediatypepricegranularity

in the same way as Prebid.js, which is:

  1. if specified, mediatypepricegranularity.banner is used for bids with response of ext.prebid.type=banner
  2. if specified, mediatypepricegranularity.video is used for bids with response of ext.prebid.type=video
  3. if specified, mediatypepricegranularity.native is used for bids with response of ext.prebid.type=native
  4. else use ext.prebid.targeting.pricegranularity as normal
@bretg bretg added Intent to implement An issue describing a plan for a major feature. These are intended for community feedback External API impact Tag for issues and PRs which affect the external API labels Mar 25, 2019
@bretg bretg mentioned this issue Apr 3, 2019
@stale
Copy link

stale bot commented Aug 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 8, 2019
@stale stale bot closed this as completed Aug 15, 2019
bretg added a commit to prebid/prebid.github.io that referenced this issue May 2, 2023
bretg added a commit to prebid/prebid.github.io that referenced this issue May 2, 2023
myDisconnect pushed a commit to eskimi/prebid.github.io that referenced this issue May 23, 2023
ecdrsvc pushed a commit to ecdrsvc/prebid.github.io that referenced this issue Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External API impact Tag for issues and PRs which affect the external API Intent to implement An issue describing a plan for a major feature. These are intended for community feedback stale
Projects
None yet
Development

No branches or pull requests

1 participant