Демоверсии Privacy Sandbox

Демонстрации и совместные работы познакомят вас с API-интерфейсами Privacy Sandbox.

Доступно несколько демонстраций API Privacy Sandbox. Большинство из них потребуют от вас знания API, поэтому, если вы не читали документацию, ознакомьтесь со ссылками, которые мы перечислили вместе с демонстрациями.

Демо и совместные работы

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 тем

С помощью API тем устройство пользователя отслеживает и регистрирует темы, которые представляют интерес для пользователя, основываясь на его активности. API затем позволяет вызывающим сторонам (например, рекламным платформам) получать доступ к этим темам, не раскрывая при этом другую информацию о действиях пользователя. В следующих ресурсах представлены примеры использования API.

Ресурсы по темам в Интернете

Ресурсы по темам на 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.

Служба агрегации

Служба агрегации отвечает за расшифровку и объединение собранных данных из агрегируемых отчетов, добавляет шум и возвращает итоговый сводный отчет. Все это выполняется в доверенной среде выполнения (TEE).

Коллабы

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) позволяет разработчикам размещать cookie-файлы в разделённом хранилище, создавая отдельные хранилища cookie для каждого сайта верхнего уровня, что повышает конфиденциальность и безопасность пользователей. Эта демонстрация иллюстрирует принцип работы.

Наборы связанных веб-сайтов — это способ, с помощью которого компания может декларировать взаимосвязи между сайтами, чтобы браузеры разрешали ограниченный доступ к сторонним файлам cookie для определённых целей. Chrome будет использовать эти объявленные взаимосвязи, чтобы решать, разрешать или запрещать сайту доступ к своим файлам cookie в контексте сторонних сайтов.

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 минимизирует идентифицирующую информацию, передаваемую в строке User-Agent, которая может использоваться для пассивного снятия отпечатков. Запросы ресурсов теперь имеют сокращенный заголовок User-Agent, а возвращаемые значения некоторых интерфейсов Navigator сокращены. Эта демонстрация позволяет поэкспериментировать с новыми значениями строки UA.

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