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

Document highestScoringOtherBid and madeHighestScoringOtherBid fields #316

Closed
wants to merge 2 commits into from

Conversation

MattMenke2
Copy link
Contributor

Note that this currently attempts to describe what these fields are now in Chrome's current FLEDGE implementation. I suspect we want to change the values passed to reportWin() to always reflect information for the top-level auction?

@MattMenke2
Copy link
Contributor Author

@caraitto I assume we want to change what we pass in as the highestScoringOtherBid and what we base madeHighestScoringOtherBid when calling reportWin() in component auctions?

@MattMenke2
Copy link
Contributor Author

@caraitto Any thoughts on this?

Copy link
Collaborator

@caraitto caraitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally matches my understanding of the implementation -- I suggested 2 edits for readability.

@@ -478,7 +481,11 @@ The arguments to this function are:

* auctionSignals and perBuyerSignals: As in the call to `generateBid()` for the winning interest group.
* sellerSignals: The output of `reportResult()` above, giving the seller an opportunity to pass information to the buyer. In the case where the winning buyer won a component auction and then went on to win the top-level auction, this is the output of component auction's seller's `reportResult()` method.
* browserSignals: Similar to the argument to `reportResult()` above, though without the seller's desirability score, but with additional `interestGroupName` and `seller` fields. The `dataVersion` field will contain the `Data-Version` from the trusted bidding signals response headers if they were provided by the trusted bidding signals server response and the version was consistent for all keys requested by this interest group, otherwise the field will be absent. If the winning bid was from a component auction, then `seller` will be the seller in the component auction, a `topLevelSeller` field will contain the seller of the top level auction. Additional fields could also include some buyer-specific signal like the second-highest bid from that particular buyer.
* browserSignals: Similar to the argument to `reportResult()` above, though without the seller's desirability score, but with additional `interestGroupName`, `seller`, `madeHighestScoringOtherBid`, and, potentially, `topLevelSeller` fields.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also mention highestScoringOtherBid in this list.

@@ -478,7 +481,11 @@ The arguments to this function are:

* auctionSignals and perBuyerSignals: As in the call to `generateBid()` for the winning interest group.
* sellerSignals: The output of `reportResult()` above, giving the seller an opportunity to pass information to the buyer. In the case where the winning buyer won a component auction and then went on to win the top-level auction, this is the output of component auction's seller's `reportResult()` method.
* browserSignals: Similar to the argument to `reportResult()` above, though without the seller's desirability score, but with additional `interestGroupName` and `seller` fields. The `dataVersion` field will contain the `Data-Version` from the trusted bidding signals response headers if they were provided by the trusted bidding signals server response and the version was consistent for all keys requested by this interest group, otherwise the field will be absent. If the winning bid was from a component auction, then `seller` will be the seller in the component auction, a `topLevelSeller` field will contain the seller of the top level auction. Additional fields could also include some buyer-specific signal like the second-highest bid from that particular buyer.
* browserSignals: Similar to the argument to `reportResult()` above, though without the seller's desirability score, but with additional `interestGroupName`, `seller`, `madeHighestScoringOtherBid`, and, potentially, `topLevelSeller` fields.
* The `madeHighestScoringOtherBid` field is true if the IG owner was also the only bidder that made bids with scores equal to the second highest scoring bid, at least one of which made a bid of `highestScoringOtherBid`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe either refer to the mention the reportResult() version, or mention things like breaking of second-highest scoring ties, that this is 0 if there is no second-highest scoring bid, etc.

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

Successfully merging this pull request may close these issues.

2 participants