patcg-individual-drafts / private-aggregation-api

Explainer for proposed web platform API
https://patcg-individual-drafts.github.io/private-aggregation-api/
41 stars 17 forks source link

Extended Private Aggregation API availability & Status #72

Closed maleangrubb closed 1 year ago

maleangrubb commented 1 year ago

Hello, During prototyping some use of the Private Aggregation API (and the extended Private Aggregation API) I ran into some confusion regarding the rollout of some of the new method names discussed in a June 1 update to https://developer.chrome.com/docs/privacy-sandbox/private-aggregation/

While prototyping, some of the methods and functionality seemed to not be available (were called, but no responses from Chrome received in Stable, Canary, or Beta), specifically privateAggregation.contributeToHistogram and privateAggregation.contributeToHistogramOnEvent.

Additionally, I attempted to configure both a test seller and test buyer for receiving "latency-stats" & "interest-group-counts" as discussed in https://github.com/WICG/turtledove/blob/main/FLEDGE_extended_PA_reporting.md#triggering-reports with no results. Is that functionality available?

For a quick overview of how that was set up, I had the test buyer set up to add:

sellerCapabilities: { '*': ['interest-group-counts', 'latency-stats'] },

to the interest group in navigator.joinAdInterestGroup() and set up the test seller to request "latency-stats" and "interest-group-counts" in the auctionConfig by adding the following to the auctionConfig:

auctionReportBuyers: { interestGroupCount: { bucket: 0n, scale: 1, }, totalGenerateBidLatency: { bucket: 2n, scale: 1, }, },

alexmturner commented 1 year ago

Replied in https://github.com/WICG/turtledove/issues/653