Las demostraciones y colaboraciones te guiarán a través de las APIs de Privacy Sandbox.
Hay varias demostraciones disponibles para las APIs de Privacy Sandbox. La mayoría deberá estar familiarizado con las APIs. Si aún no leyó la documentación, consulta los vínculos que incluimos junto con las demostraciones.
Demostraciones y colaboraciones
API de Protected Audience
En la demostración, se usa la API de Protected Audience para unirse a grupos de intereses de anuncios en dos sitios de anunciantes y, luego, se inicia una subasta integrada en el dispositivo a fin de seleccionar un anuncio para mostrar en el sitio de un publicador.
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
- Headers demo: This is a recommended, more performant approach.
- JavaScript demo: Use JavaScript Topics methods if you can't modify headers.
- Topics API colab: Experiment with the TensorFlow Lite model used by Chrome to infer topics from hostnames.
- Topics documentation for the Web: Learn more about how Topics work and how to implement it.
Resources for Topics on Android
- Sample apps: Refer to Kotlin sample app or Java sample app to guide your integration.
- Topics API colab: Test different combinations of app info against the topics classifier model.
- Topics documentation for Android: Learn how Topics works on 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.
Servicio de agregación
El servicio de agregación es responsable de desencriptar y combinar los datos recopilados de los informes agregables, agrega ruido y devuelve un informe de resumen final. Todo esto se logra dentro de un entorno de ejecución confiable (TEE).
Colaboraciones
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.
Conjuntos de sitios web relacionados
Los conjuntos de sitios web relacionados permiten que una empresa declare relaciones entre sitios de modo que los navegadores permitan el acceso limitado a las cookies de terceros para fines específicos. Chrome usará estas relaciones declaradas para decidir cuándo permitir o denegar el acceso de un sitio a sus cookies cuando esté en un contexto de terceros.
- Datos demográficos
- Generador de JSON de envío. Esta herramienta genera los recursos JSON necesarios para realizar el envío de conjuntos de sitios web relacionados (RWS).
- Documentos
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.
API de Private State Token
Con la API de Private State Token, un sitio web puede emitir tokens criptográficos a un usuario de confianza, que luego se puede usar en otro lugar. El navegador del usuario almacena los tokens de forma segura y, luego, se pueden canjear en otros contextos para confirmar la autenticidad del usuario. Observa la API en esta demostración.
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 |