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 4 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?

spec.bs Outdated Show resolved Hide resolved
spec.bs Outdated Show resolved Hide resolved
spec.bs Outdated Show resolved Hide resolved
spec.bs Outdated Show resolved Hide resolved
@brusshamilton
Copy link
Contributor Author

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

Yes.

spec.bs Outdated
@@ -3521,12 +3522,12 @@ A <dfn>server auction response</dfn> is a [=struct=] that contains auction resul
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
auction.
:: A. [=URL=]. The [=leading bid info/leading non-k-anon-enforced 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.

Suggested change
:: A. [=URL=]. The [=leading bid info/leading non-k-anon-enforced bid=]'s
:: A [=URL=]. The [=leading bid info/leading non-k-anon-enforced bid=]'s

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

spec.bs Outdated
:: A [=list=] of [=URLs=]. A list of the [=leading bid info/leading non-k-anon-enforced bid=]'s
[=generated bid/ad component descriptors=]'s [=ad descriptor/urls=] from the
server auction.
: <dfn>modified_bid</dfn>
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
: <dfn>modified_bid</dfn>
: <dfn>modified bid</dfn>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

spec.bs Outdated
:: A. [=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 [=leading bid info/leading non-k-anon-enforced 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.

nit

Suggested change
:: A [=list=] of [=URLs=]. A list of the [=leading bid info/leading non-k-anon-enforced bid=]'s
:: A [=list=] of [=URLs=]. A list of the [=leading bid info/leading non-k-anon-enforced bid=]'s

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

: <dfn>modified_bid</dfn>
:: [=bid with currency=]. Contains the non-k-anonymous winning bid's [=generated bid/modified bid=]
when not null, otherwise the non-k-anonymous winning bid's [=generated bid/bid=].
: <dfn>ad metadata</dfn>
Copy link
Collaborator

Choose a reason for hiding this comment

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

this and the two id fields below all need to be initially null, since they're only set when the response has corresponding fields: https://github.com/privacysandbox/draft-ietf-bidding-and-auction-services/pull/16/files#diff-740039e394c453ba5ca4c6c7cc2d4bec9399b504e2a279c28e1625ab0e87dbe9R1120. Otherwise, their values are unset, instead of null.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

spec.bs Outdated
: <dfn>interest group name</dfn>
:: A [=string=]. The non-k-anonymous winning bid's interest group [=interest group/name=].
: <dfn>ghost winner bid info</dfn>
:: Null or a [=server auction ghost winner bid info=]. Contains information needed for
Copy link
Collaborator

Choose a reason for hiding this comment

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

this needs to be "initially null" as well, since in the IETF spec, it's only set when the response has the field, and not set to null there. So otherwise, the field's value is unset here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

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