Le demo e le collaborazioni illustrano le API Privacy Sandbox.
Sono disponibili una serie di demo per le API Privacy Sandbox. Per la maggior parte di queste funzionalità, è necessario conoscere le API, quindi se non hai letto la documentazione, consulta i link che abbiamo elencato insieme alle demo.
Demo e collaborazioni
Protected Audience API
The demo uses the Protected Audience API to join ad interest groups on two advertiser sites, and then initiates an on-device auction to select an ad for display on a publisher site.
API Topics
Con l'API Topics, il dispositivo di un utente osserva e registra gli argomenti che sembrano interessare l'utente in base alla sua attività. L'API consente quindi ai chiamanti (ad esempio le piattaforme di tecnologia pubblicitaria) di accedere a questi argomenti senza rivelare altre informazioni sull'attività dell'utente. Le seguenti risorse forniscono esempi dell'API in azione.
Risorse per gli argomenti sul web
- Demo delle intestazioni: questo è un approccio consigliato e più performante.
- Demo JavaScript: utilizza i metodi JavaScript Topics se non puoi modificare le intestazioni.
- Colab dell'API Topics: sperimenta il modello TensorFlow Lite utilizzato da Chrome per dedurre gli argomenti dai nomi host.
- Documentazione di Topics per il web: scopri di più su come funziona Topics e come implementarlo.
Risorse per gli argomenti su Android
- App di esempio: consulta l'app di esempio Kotlin o l'app di esempio Java per guidare l'integrazione.
- Colab dell'API Topics: testa diverse combinazioni di informazioni sull'app rispetto al modello di classificazione degli argomenti.
- Documentazione di Topics per Android: scopri come funziona Topics su Android.
Attribution Reporting
The Attribution Reporting API enables advertisers and ad tech providers to measure conversions for ad clicks and views, ads in a third-party iframe, and ads in a first-party context. In this demo an advertiser uses an ad tech provider to run their ads on a publisher site.
Demo
Noise Lab
When aggregatable reports are batched by a collector and processed by the aggregation service, random data is added to the resulting summary reports in order to protect user privacy. Use Noise Lab to experiment with different values to see the impact of noise.
Aggregation Service
The Aggregation Service is responsible for decrypting and combining collected data from aggregatable reports, adds noise, and returns a final summary report. This is all accomplished within a trusted execution environment (TEE).
Colabs
Shared Storage
The Shared Storage API provides storage that can be used cross-site, meaning you store a value at one domain, then read the value from another domain. You can set data freely, but are restricted in how you get data out of storage. This demo illustrates how it works.
CHIPS
Cookies Having Independent Partitioned State (CHIPS) allows developers to opt a cookie into partitioned storage, with separate cookie jars per top-level site, improving user privacy and security. This demo illustrates how it works.
Related Website Sets
Related Website Sets is a way for a company to declare relationships among sites, so that browsers allow limited third-party cookie access for specific purposes. Chrome will use these declared relationships to decide when to allow or deny a site access to their cookies when in a third-party context.
- Demo
- Submission JSON generator.This tool generates the JSON resources needed to make a Related Website Sets (RWS) submission.
- Docs
Criteri relativi alle autorizzazioni
Permissions Policy consente allo sviluppatore di controllare le funzionalità del browser disponibili per una pagina, i relativi iframe e le risorse secondarie, dichiarando un insieme di criteri da applicare al browser. Questa demo ti consente di provare le policy disponibili.
User Agent Reduction
User-Agent reduction minimizes the identifying information shared in the User-Agent string, which may be used for passive fingerprinting. Resource requests have a reduced User-Agent header now and the return values from certain Navigator interfaces are reduced. This demo lets you experiment with the new UA string values.
API Private State Token
Con l'API Private State Token, un sito web può emettere token crittografici per un utente di cui si fida, che possono essere utilizzati in un secondo momento altrove. I token vengono archiviati in modo sicuro dal browser dell'utente e possono essere riscattati in altri contesti per confermare l'autenticità dell'utente. Dai un'occhiata all'API in questa demo.
Privacy Sandbox Demos Framework
Privacy Sandbox Demos framework offers cookbook recipes, sample code, and demo applications, based on Privacy Sandbox APIs. These are intended to aid businesses and developers in adapting their applications and the businesses they support to a web ecosystem without third-party cookies.
| Use case | Description | APIs |
|---|---|---|
| Retargeting / Remarketing | How to show relevant ads to a user who has researched a brand or product online. | Protected Audience API Fenced Frame |
| Single-touch conversion Attribution | How to measure conversion after seeing ads on a news site and buying a product on an online shopping site. | Attribution Reporting API |
| Instream VAST video ad in a Protected Audience single-seller auction | Provides details on a temporary solution allowing Top Level embedded video players access to the VAST XML URL. | Protected Audience API |
| Instream VAST video ad in a Protected Audience sequential auction setup | Shows one of the ways that VAST XMLs can be handled in a Protected Audience sequential auction setup when the ad is rendered in an iframe. | Protected Audience API |