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

[spec] Add B&A k-anonymity fields #1360

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

brusshamilton
Copy link
Contributor

@brusshamilton brusshamilton commented Dec 9, 2024

Adds the fields to the server response needed for Bidding and Auction Services k-anonymity support. A separate CL will be filed describing how these fields are interpreted by a browser.

This CL also removes some trailing whitespace that found its way into the spec.


Preview | Diff

Copy link
Collaborator

@qingxinwu qingxinwu left a comment

Choose a reason for hiding this comment

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

Do you plan to use these fields in a separate PR?

@@ -3485,6 +3492,57 @@ A <dfn>server auction response</dfn> is a [=struct=] that contains auction resul
:: A [=map=] whose [=map/keys=] are [=origins=] and whose [=map/values=] are [=lists=] of [=urls=].
</dl>

<dfn>server auction join candidates</dfn> is a [=struct=] with the following [=struct/items=]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is more like single "candidate", not "candidates", right? If so, can we call it "candidate" (as we did in code)

:: A [=SHA-256=] hash of the [=k-anonymity key=] for the ad in the winning bid,
as calculated using [=compute the key hash of ad=].
: <dfn>ad component render url hashes</dfn>
:: A [=list=] of [=SHA-256=] hashes for each of the ad components in the
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
:: A [=list=] of [=SHA-256=] hashes for each of the ad components in the
:: A [=list=] of [=SHA-256=] hashes of [=k-anonymity keys=] for each of the ad components in the

A <dfn>server auction ghost winner bid info</dfn> is a [=struct=] with the following [=struct/items=]:
<dl dfn-for="server auction ghost winner bid info">
: <dfn>ad render url</dfn>
:: [=URL=]. The [=leading bid info/leading non-k-anon-enforced bid=]'s [=generated bid/ad descriptor=]'s [=ad descriptor/url=] from the
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit

Suggested change
:: [=URL=]. The [=leading bid info/leading non-k-anon-enforced bid=]'s [=generated bid/ad descriptor=]'s [=ad descriptor/url=] from the
:: A [=URL=]. The [=leading bid info/leading non-k-anon-enforced bid=]'s [=generated bid/ad descriptor=]'s [=ad descriptor/url=] from the

:: [=URL=]. The [=leading bid info/leading non-k-anon-enforced bid=]'s [=generated bid/ad descriptor=]'s [=ad descriptor/url=] from the
auction.
: <dfn>ad components</dfn>
:: A [=list=] of [=URLs=]. A list of the non-k-anonymous winning bid's
Copy link
Collaborator

Choose a reason for hiding this comment

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

is "non-k-anonymous winning bid" the same as [=leading bid info/leading non-k-anon-enforced bid=]? If so, probably good to link to it as well, as what you did for render url above.

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

Successfully merging this pull request may close these issues.

3 participants