Demos und Labs führen Sie durch die Privacy Sandbox APIs.
Für die Privacy Sandbox APIs gibt es eine Reihe von Demos. Die meisten davon müssen Sie mit den APIs vertraut sein. Falls Sie die Dokumentation finden Sie unter den Links und den Demos.
Demos und Colabs
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
Mit der Topics API kann ein Browser Informationen zu den Interessen eines Nutzers an Dritte weitergeben, ohne Drittanbieter-Cookies zu verwenden. Sie ermöglicht interessenbezogene Werbung, ohne die von einem Nutzer besuchten Websites zu erfassen. In dieser Demo sehen Sie ein Beispiel für die API in Aktion.
Demo
Colab
Dieses Colab vereinfacht das Laden des TensorFlow Lite-Modells, das von Chrome verwendet wird, um Themen aus Hostnamen abzuleiten.
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
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.
Reduzierung des User-Agents
Durch die Reduzierung des User-Agents werden die im User-Agent-String weitergegebenen personenidentifizierbaren Informationen minimiert, die für passives Fingerprinting verwendet werden können. Bei Ressourcenanfragen ist der User-Agent-Header jetzt reduziert und die Rückgabewerte bestimmter Navigator-Oberflächen sind reduziert. In dieser Demo können Sie mit den neuen UA-Stringwerten experimentieren.
Private State Token API
Mit der Private State Token API kann eine Website kryptografische Tokens an vertrauenswürdige Nutzer ausstellen, die später an anderer Stelle verwendet werden können. Die Tokens werden sicher vom Browser des Nutzers gespeichert und können dann in anderen Kontexten eingelöst werden, um die Authentizität des Nutzers zu bestätigen. Sehen Sie sich die API in dieser Demo an.
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 |