1 of 37

Protected Audience Webinar

Part 1 - Fundamentals

Proprietary + Confidential

Proprietary + Confidential

2 of 37

Agenda

1

Introduction

2

Key concepts

3

Sequence diagram and code walkthrough

4

Questions & Answers

5

Closing

Proprietary + Confidential

3 of 37

Presenters and Q&A participants

Kevin Lee

Developer Relations Engineer

Paul Jensen

Protected Audience Tech Lead

Alonso Velazquez

Protected Audience PM

Jeroune Rhodes

Program Manager

Sven May

Web Ecosystem Consultant

Proprietary + Confidential

4 of 37

How to ask a question

  • Refrain from raising your hand during the presentation
  • Stick to the topics being presented today
  • Submit the question in the Google Chat text chat room
  • Submit the question during the Q&A session
  • Submit the question on the Privacy Sandbox Dev Support repository on GitHub: �https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support/issues/

Proprietary + Confidential

5 of 37

Protected Audience overview

What is it and why do we need it?

Proprietary + Confidential

Proprietary + Confidential

6 of 37

What is the Protected Audience API?

  • Coordinates an ad auction involving cross-site data. The auction is executed on-device or in a secure cloud environment.
  • Combines the first-party and contextual data from the advertiser site with the first-party and contextual data from the publisher site.
  • The cross-site data is available within a worklet which is an isolated environment where the buyer and seller codes are executed.
  • Works with other PS APIs to protect user’s privacy.

Proprietary + Confidential

7 of 37

Key concepts

Proprietary + Confidential

Proprietary + Confidential

8 of 37

Auction participants

Advertiser

Has an ad they want to display to the users

Publisher

Has an ad space they display to the users

Demand-side Platform (DSP)

Acts on behalf of advertisers to buy ad spaces in an ad auction

Supply-side Platform (SSP)

Acts on behalf of publishers to sell ad spaces in an ad auction

Buyer

Participates in an ad auction to buy an ad space from sellers

Seller

Participates in an ad auction to sell an ad space to buyers

Proprietary + Confidential

9 of 37

Key concepts

Interest group (IG)

Defines the audience to target the ad to. Each IG is owned by a buyer, and is stored on-device. The IG can be accessed by only the buyer during bid generation time in an isolated execution environment (worklet / B&A)

Worklet

A lightweight web worker that provides an isolated code execution environment. Code inside a worklet cannot communicate with the outside context and cannot make a network request.

Bidding and scoring logic

Logic provided by the buyers and sellers to calculate the bid and score to be used in a PA auction. The buyers and sellers provide the URL of the logic, and the browser fetches and loads the logic into a worklet, and provide signals as inputs.

Privacy Sandbox services

Key/value service, Aggregation service, and Bidding and Auction services are the backend services for the PS APIs, and they run on the user’s cloud infrastructure that supports a Trusted Execution Environment.

K-anonymity

k-anonymity is an anonymization technique to protect an individual's privacy in a dataset. A dataset is k-anonymous if an individual has the same set of identifiers as other k-1 individuals in the set. For PA: “50 users per creative over 7 days”

Proprietary + Confidential

10 of 37

Signal availability

Signal

Provided by

Available to

auctionSignals

Seller

Buyer / Seller

directFromSellerSignals

Seller

Buyer / Seller

sellerSignals

Seller

Seller

trustedScoringSignals

Seller

Seller

perBuyerSignals

Buyer / Seller

Buyer

trustedBiddingSignals

Buyer

Buyer

userBiddingSignals

Buyer

Buyer

browserSignals

Browser

Buyer / Seller

Proprietary + Confidential

11 of 37

Related APIs

Other Privacy Sandbox APIs used in a Protected Audience auction

Proprietary + Confidential

Proprietary + Confidential

12 of 37

Related Privacy Sandbox APIs

1

Fenced frame

An HTML element to render a page into. Similar to an iframe, but is limited in what it can communicate back and forth between the embedding page.

2

Private aggregation

A general purpose reporting API for aggregating some value into a bucket to generate a noisy histogram.

3

Attribution reporting

A reporting API for attributing an event on one site to an ad that was rendered on another site.

4

Shared storage

A cross-origin data storage mechanism that you can write freely into but is restricted in how you can extract information out of the storage.

Proprietary + Confidential

13 of 37

Protected Audience sequence

Walking through each key steps of the Protected Audience auction

Proprietary + Confidential

Proprietary + Confidential

14 of 37

Overall flow

Proprietary + Confidential

15 of 37

Interest group sequence

Proprietary + Confidential

16 of 37

Advertiser site

Proprietary + Confidential

17 of 37

Interest group sequence

Proprietary + Confidential

18 of 37

Interest group config

Proprietary + Confidential

19 of 37

Auction sequence

Proprietary + Confidential

20 of 37

Publisher site

Proprietary + Confidential

21 of 37

Auction sequence

Proprietary + Confidential

22 of 37

Running an ad auction

Proprietary + Confidential

23 of 37

Component auction config

Proprietary + Confidential

24 of 37

Auction sequence

Proprietary + Confidential

25 of 37

Buyer bidding and reporting logic

Proprietary + Confidential

26 of 37

Auction sequence

Proprietary + Confidential

27 of 37

Seller ad scoring and reporting logic in worklet

Proprietary + Confidential

28 of 37

Rendering and reporting sequence

Proprietary + Confidential

29 of 37

Ad rendering

Proprietary + Confidential

30 of 37

Rendering and reporting sequence

Proprietary + Confidential

31 of 37

Seller ad scoring and reporting logic in worklet

Proprietary + Confidential

32 of 37

Rendering and reporting sequence

Proprietary + Confidential

33 of 37

Buyer bidding and reporting logic

Proprietary + Confidential

34 of 37

Questions & Answers

Proprietary + Confidential

Proprietary + Confidential

35 of 37

Closing

Proprietary + Confidential

Proprietary + Confidential

36 of 37

Future topics

  • Reporting
    • Event-level reporting
    • Aggregate reporting
    • Auction reporting
    • Engagement reporting
    • Conversion reporting
  • Backend services
    • Privacy Sandbox trust model
    • Key/value service
    • Aggregation service
    • Bidding & Auction services
  • Combining a contextual auction with a Protected Audience multi-seller auction

Proprietary + Confidential

37 of 37

Resources

Proprietary + Confidential