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

Analytics enh: Support PBS nobids, errors, and removals #9082

Closed
bretg opened this issue Oct 5, 2022 · 2 comments
Closed

Analytics enh: Support PBS nobids, errors, and removals #9082

bretg opened this issue Oct 5, 2022 · 2 comments
Assignees
Labels

Comments

@bretg
Copy link
Collaborator

bretg commented Oct 5, 2022

Type of issue

Enhancement

Description

This is the JS-side of prebid/prebid-server#2367

Client-side analytics adapters don't have access to what actually happened with PBS bids unless those bids are successful.

PBS will gain the ability to start responding with an ext.seatnonbid array to detail for client-side analytics adapters what exactly happened server-side with each imp+bidder combination.

            ext.seatnonbid: [{
              seat: "bidderB"
              nonbid: [{
                 impid is set to $.imp[].id
                 ext.status.code is set to "nobid", "error", "reqrm", "resprm"
                 ext.status.details[].code is set to a code // optional
                 ext.status.details[].message is set to a string version of the code // optional
              }]
            }]

The types of nonbid response reasons have been defined as:

  • nobid
  • bidder error
  • request removed (reqrm)
    • "gdpr": GDPR removed the bidder
    • "moduleA": a module removed the bid request before being sent out
  • response removed (resprm)
    • "floor": bid removed due to pricefloor
    • "currency": bid removed because it was in a currency PBS couldn't convert
    • "moduleB": a module removed the bid response after the request. e.g. "ortb2block", "creativevalidation"

This may be our chance to expand the Prebid.js bid status options. @robertrmartinez has offered to flesh out what would need to happen to support this in PBJS so analytics adapters can process the extra data.

@dgirardi
Copy link
Collaborator

dgirardi commented Oct 5, 2022

Related: #9013; client side, bids removed at the currency or floor stage are rejected, with that PR introducing a new event for them. It may make sense to extend that to server-side gdpr or other modules.

@robertrmartinez
Copy link
Collaborator

Closed by #9453

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

No branches or pull requests

3 participants