Add protected-audience feature#2635
Conversation
|
Protected Audience is part of Google's Privacy Sandbox project. Edge has a different proposal for this particular API, called the Ad Selection API. So the fact that BCD shows both Chrome and Edge as supporting Protected Audience feels wrong. I'll try to find more information to (possibly) fix BCD. |
12398f0 to
f70718d
Compare
This is more complicated than I thought. Chrome and Edge basically support the same individual BCD keys (with some exceptions), but the overall feature that these BCD keys contribute to isn't the same in Edge and in Chrome. And there are some caveats, such as runAdAuction which Edge does support for completing server auctions, but not for local auctions. |
Hmm, that's a bit awkward. I found this doc about the API shape to be helpful toward this but not sufficiently detailed. I think what I really need here are IDLs for the two APIs, so we can figure out what constitutes evidence of support for the two features. Even if the API surface is very similar, my hunch is that the difference is in configuration dictionaries that the BCD Collector won't detect (or rather won't do anything with by default). This is likely to be a feature that really demands #1173. |
Yes, that's the right doc.
I've started an ms-internal discussion to try and help here. While the IDLs may be very similar (apart from the ProtectedAudience interface, which won't exist in Edge), I think they will work differently. For example, runAdAuction won't do exactly the same thing in Chrome and in Edge.
Definitely! |
|
@captainbrosset Were you able to learn anything more about the difference between the protected audience and ad selection APIs? I ask because it looks like protected audience is going away, so being able to mint a (discouraged) feature would be desirable. But that would require know whether Edge is keeping some or all of the API or dropping it too, given the previous discussion here. |
|
Tagging in @samdutton to comment on the status of the API |
|
Protected Audience is deprecated in Chrome. FYI @kevinkiklee (Dev Rel for Protected Audience) goo.gle/ps-status has feature status for Privacy Sandbox APIs. |
Edge will be removing the equivalent downstream API along with the deprecation effort too. |
|
Discussed on the meeting: It would be nice to have a tombstone feature for it. Removal date+reason. Don't know if there is docs for this on MDN. But on some features, there's info like "pending removal". @ddbeck will update this PR. |
| @@ -0,0 +1,14 @@ | |||
| name: Ad selection | |||
| description: The ad selection API | |||
There was a problem hiding this comment.
Just needs a description. I don't think we need to put a ton of work into this, if it's not being developer further. Maybe this is sufficient?
| description: The ad selection API | |
| description: The ad selection API facilitates showing advertisements to users based on interest groups that prevent re-identification of users within the group. |
There was a problem hiding this comment.
We could also just pretty much reuse the Protection Audience API description since both APIs are for the same use case:
| description: The ad selection API | |
| 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. |
|
@captainbrosset I've sorted this out, I think. Would you have a look? The only missing thing is a description for the ad selection API. Edit: I also sent mdn/browser-compat-data#29723 upstream, to reconcile Chrome and Edge's different statuses with the actual API. |
No description provided.