Demos de Privacy Sandbox

En las demostraciones y las colaboraciones, se explican las APIs de Privacy Sandbox.

Hay varias demostraciones disponibles para las APIs de Privacy Sandbox. La mayoría de ellos requerirán que estés familiarizado con las APIs, por lo que, si no leíste la documentación, consulta los vínculos que incluimos junto con las demostraciones.

Demostraciones y colaboraciones

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.

Topics API

With the Topics API, a user's device observes and records topics that appear to be of interest to the user based on their activity. The API then allows callers (such as ad tech platforms) to access these topics without revealing other information about the user's activity. The following resources provide examples of the API in action.

Resources for Topics on the Web

Resources for Topics on Android

Informes de atribución

La API de Attribution Reporting permite que los anunciantes y los proveedores de tecnología publicitaria midan las conversiones de los clics y las vistas de anuncios, los anuncios en un iframe de terceros y los anuncios en un contexto propio. En esta demostración, un anunciante utiliza un proveedor de tecnología publicitaria para publicar sus anuncios en el sitio de un publicador.

Demostración

Noise Lab

Cuando un recopilador agrupa los informes agregables y el servicio de agregación los procesa, se agregan datos aleatorios a los informes de resumen resultantes para proteger la privacidad del usuario. Usa Noise Lab para experimentar con diferentes valores y ver el impacto del ruido.

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

La API de Shared Storage proporciona almacenamiento que se puede usar en varios sitios, lo que significa que puedes almacenar un valor en un dominio y, luego, leerlo desde otro. Puedes establecer datos libremente, pero tienes restricciones sobre cómo obtener datos del almacenamiento. En esta demostración, se ilustra cómo funciona.

CHIPS

Las Cookies Having Independent Partitioned State (CHIPS) permiten que los desarrolladores habiliten el almacenamiento particionado de una cookie, con contenedores de cookies separados por sitio de nivel superior, lo que mejora la privacidad y la seguridad del usuario. En esta demostración, se ilustra cómo funciona.

Los Conjuntos de sitios web relacionados son una forma en que una empresa puede declarar relaciones entre sitios para que los navegadores permitan el acceso limitado de cookies de terceros para fines específicos. Chrome usará estas relaciones declaradas para decidir cuándo permitir o rechazar el acceso de un sitio a sus cookies en un contexto de terceros.

Permissions Policy

Permissions Policy allows the developer to control the browser features available to a page, its iframes, and subresources, by declaring a set of policies for the browser to enforce. This demo lets you try out the available policies.

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.

Private State Token API

With the Private State Token API, a website can issue cryptographic tokens to a user it trusts, which can later be used elsewhere. The tokens are stored securely by the user's browser, and can then be redeemed in other contexts to confirm the user's authenticity. Check out the API in this 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