Skip to content

Commit b9a758e

Browse files
Add protected-audience and ad-selection features (#2635)
Co-authored-by: Patrick Brosset <patrickbrosset@gmail.com>
1 parent 007a45d commit b9a758e

6 files changed

Lines changed: 66 additions & 26 deletions

File tree

features/ad-selection.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Ad selection
2+
description: The Ad Selection API facilitates advertisement sales by allowing sites to register users as part of an interest group or to choose which ads appear based on those interest groups, while minimizing the ability of advertisers to track specific members of the interest group.
3+
spec: https://github.com/WICG/privacy-preserving-ads
4+
discouraged:
5+
removal_date: 2026-06-01
6+
reason: Following the announcement that Chrome will maintain its current approach to third-party cookies, Chrome decided to withdraw certain Privacy Sandbox features including the protected audience API, which shares some interfaces with the ad selection API.
7+
according_to:
8+
- https://groups.google.com/a/chromium.org/g/blink-dev/c/k_nubsMb97g/m/aAp_5MTXBQAJ
9+
- https://chromestatus.com/feature/6552486106234880
10+
# Uncomment when overlapping keys are allowed, https://github.com/web-platform-dx/web-features/issues/1173
11+
# compat_features:
12+
# - api.Navigator.getInterestGroupAdAuctionData
13+
# - api.Navigator.runAdAuction
14+
# - api.Navigator.joinAdInterestGroup

features/ad-selection.yml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Generated from: ad-selection.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}

features/draft/spec/turtledove.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

features/protected-audience.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Protected audience
2+
description: The protected audience API facilitates advertisement sales by allowing sites to register users as part of an interest group or to choose which ads appear based on those interest groups, while minimizing the ability of advertisers to track specific members of the interest group. Also known as FLEDGE.
3+
spec: https://wicg.github.io/turtledove/
4+
discouraged:
5+
removal_date: 2026-06-01 # Chrome 150
6+
reason: Following the announcement that Chrome will maintain its current approach to third-party cookies, Chrome decided to withdraw certain Privacy Sandbox features including the protected audience API.
7+
according_to:
8+
- https://groups.google.com/a/chromium.org/g/blink-dev/c/k_nubsMb97g/m/aAp_5MTXBQAJ
9+
- https://chromestatus.com/feature/6552486106234880
10+
# TODO: remove this override when https://github.com/mdn/browser-compat-data/pull/29723 merges and appears in a BCD release
11+
status:
12+
baseline: false
13+
support:
14+
chrome: "134"
15+
chrome_android: "134"
16+
compat_features:
17+
- api.HTMLIFrameElement.adAuctionHeaders
18+
- api.Navigator.canLoadAdAuctionFencedFrame
19+
- api.Navigator.clearOriginJoinedAdInterestGroups
20+
- api.Navigator.createAuctionNonce
21+
- api.Navigator.deprecatedRunAdAuctionEnforcesKAnonymity
22+
- api.Navigator.getInterestGroupAdAuctionData
23+
- api.Navigator.joinAdInterestGroup
24+
- api.Navigator.leaveAdInterestGroup
25+
- api.Navigator.protectedAudience
26+
- api.Navigator.runAdAuction
27+
- api.Navigator.updateAdInterestGroups
28+
- api.ProtectedAudience
29+
- api.ProtectedAudience.queryFeatureSupport
30+
- api.SharedStorageWorkletGlobalScope.interestGroups
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
# Generated from: turtledove.yml
1+
# Generated from: protected-audience.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
status:
5-
baseline: false
6-
support:
7-
chrome: "132"
8-
chrome_android: "132"
9-
edge: "132"
104
compat_features:
115
# baseline: false
126
# support:
@@ -38,10 +32,16 @@ compat_features:
3832
- api.Navigator.runAdAuction
3933
- api.Navigator.updateAdInterestGroups
4034

41-
# ⬇️ Same status as overall feature ⬇️
4235
# baseline: false
4336
# support:
4437
# chrome: "132"
4538
# chrome_android: "132"
4639
# edge: "132"
4740
- api.Navigator.getInterestGroupAdAuctionData
41+
42+
# baseline: false
43+
# support:
44+
# chrome: "134"
45+
# chrome_android: "134"
46+
# edge: "134"
47+
- api.SharedStorageWorkletGlobalScope.interestGroups

scripts/specs.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,14 @@ const defaultAllowlist: allowlistItem[] = [
231231
[
232232
"https://github.com/WICG/PEPC/blob/main/usermedia_element.md",
233233
"Replace with https://w3c.github.io/mediacapture-extensions/#the-usermedia-html-element when https://github.com/w3c/mediacapture-extensions/pull/168 merges."
234+
],
235+
[
236+
"https://github.com/WICG/privacy-preserving-ads",
237+
"Discontinued spec allowed for discouraged feature."
238+
],
239+
[
240+
"https://wicg.github.io/turtledove/",
241+
"Discontinued spec allowed for discouraged feature."
234242
]
235243
];
236244

0 commit comments

Comments
 (0)