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

Deals explainer #1237

Merged
merged 23 commits into from
Sep 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 19 additions & 13 deletions FLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1278,19 +1278,25 @@ The following table summarizes which APIs get original and which get converted b

#### 5.4 Reporting IDs

Protected Audience provides several interest group fields that can be used to report details about a bid. Which of `selectableBuyerAndSellerReportingId`, `buyerAndSellerReportingId`, `buyerReportingId`, or the interest group name gets passed to `reportWin()` and `reportResult()` is determined by the browser with the following logic:

If `selectableBuyerAndSellerReportingId` defined in interest group:<br>
&nbsp;&nbsp;If `selectableBuyerAndSellerReportingId` in bid:<br>
&nbsp;&nbsp;&nbsp;&nbsp;Then `selectableBuyerAndSellerReportingId`, `buyerAndSellerReportingId` (if present in interest group), and `buyerReportingId` (if present in interest group) will all be available to reporting.<br>
&nbsp;&nbsp;Otherwise (i.e. when If `selectableBuyerAndSellerReportingId` not in bid):<br>
&nbsp;&nbsp;&nbsp;&nbsp;No reporting IDs. If you want reporting IDs, consider including and selecting an empty `selectableBuyerAndSellerReportingId`.<br>
Otherwise (i.e. when selectableBaRSI not defined in IG):<br>
&nbsp;&nbsp;If `buyerAndSellerReportingId` defined in interest group: `buyerAndSellerReportingId` available to reporting.<br>
&nbsp;&nbsp;Otherwise, if `buyerReportingId` defined in interest group: `buyerReportingId` available to reporting.<br>
&nbsp;&nbsp;Otherwise, interest group `name` available to reporting.<br>

Here's a table representation of the above logic: (selectableBuyerAndSellerReportingId abreviated to selectableBASRI, buyerAndSellerReportingId abreviated to BASRI, buyerReportingId abreviated to BRI)
Protected Audience provides several interest group fields that can be used to report details about a bid. These fields needs to
be jointly k-anonymous with the interest group owner, bidding script URL, and render URL to be provided to the reporting fuctions.
JensenPaul marked this conversation as resolved.
Show resolved Hide resolved
Which of `selectableBuyerAndSellerReportingId`, `buyerAndSellerReportingId`, `buyerReportingId`, and the interest group name gets
passed to `reportWin()` and `reportResult()` is determined by the browser with the following logic:

If `selectableBuyerAndSellerReportingId` defined in interest group:
* If `selectableBuyerAndSellerReportingId` in bid:
* Then `selectableBuyerAndSellerReportingId`, `buyerAndSellerReportingId` (if present in interest group), and `buyerReportingId`
(if present in interest group) will all be available to reporting.
* Otherwise (i.e. when If `selectableBuyerAndSellerReportingId` not in bid):
* No reporting IDs. If you want reporting IDs, consider including and selecting an empty `selectableBuyerAndSellerReportingId`.
JensenPaul marked this conversation as resolved.
Show resolved Hide resolved

Otherwise (i.e. when selectableBaRSI not defined in IG):
* If `buyerAndSellerReportingId` defined in interest group: `buyerAndSellerReportingId` available to reporting.
* Otherwise, if `buyerReportingId` defined in interest group: `buyerReportingId` available to reporting.
* Otherwise, interest group `name` available to reporting.

Here's a table representation of the above logic: (`selectableBuyerAndSellerReportingId` abreviated to selectableBASRI,
`buyerAndSellerReportingId` abreviated to BASRI, `buyerReportingId` abreviated to BRI)
JensenPaul marked this conversation as resolved.
Show resolved Hide resolved
<table>
<thead>
<tr>
Expand Down
Loading