Additional Private Aggregation API breaking changes for Protected Audience API

692 views
Skip to first unread message

Kevin Lee

unread,
May 26, 2023, 11:53:51 AM5/26/23
to FLEDGE API announcements
Breaking changes

Private Aggregation is making more breaking changes in M115, in additional the previously announced breaking changes.


The following changes are planned to go live on Canary on Saturday May 27th 2023. They will also be available with the M115 Beta and Stable releases (first Beta release planned for Wednesday May 31st 2023).


  1. sendHistogramReport() is being renamed to contributeToHistogram()

  2. reportContributionForEvent() is being renamed to contributeToHistogramOnEvent() (only relevant for reports from Protected Audience auctions).

  3. enableDebugMode()’s debug_key parameter is being renamed to debugKey.


You must update your code to ensure that the Private Aggregation API continues to work. Outdated Chrome instances will still use the old names, so you should ensure backward compatibility to collect all reports. We recommend using feature detection in your code with if ('contributeToHistogram' in privateAggregation)).


Other changes


We’d also like to highlight two other changes coming in M115:

  1. Contribution budgeting is changing from a “per-origin per-day” scope to a “per-site per-10-min” scope, with a looser “per-site per-day” backstop; see the GitHub issue for more detail.

  2. Contributions from Protected Audience auctions will now be batched together to reduce report volume, see the explainer for more detail.


If you have any questions or comments, reply to this post or open an issue in the Privacy Sandbox Dev Support repository on GitHub.

Reply all
Reply to author
Forward
0 new messages