Wersje demonstracyjne i współpracy zawierają informacje o interfejsach API Piaskownicy prywatności.
Dostępnych jest kilka wersji demonstracyjnych interfejsów API Piaskownicy prywatności. Większość z nich wymaga znajomości interfejsów API. Jeśli nie czytałeś(-aś) dokumentacji, zapoznaj się z linkami, które podaliśmy wraz z demonstracjami.
Prezentacje i współpraca
Protected Audience API
W wersji demonstracyjnej używany jest interfejs Protected Audience API, aby dołączyć do grup zainteresowań reklamowych w 2 witrynach reklamodawców, a następnie zainicjować aukcję na urządzeniu w celu wybrania reklamy do wyświetlenia w witrynie wydawcy.
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.
Usługa do agregacji
Usługa do agregacji odpowiada za odszyfrowywanie i łączenie zebranych danych z raportów podlegających agregacji, dodawanie szumu i zwracanie końcowego raportu podsumowującego. Wszystko to odbywa się w zaufanym środowisku wykonawczym (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.
Redukcja klienta użytkownika
Redukcja klienta użytkownika minimalizuje informacje identyfikacyjne udostępniane w ciągu tekstowym klienta użytkownika, które mogą być używane do pasywnego pobierania odcisków cyfrowych. Żądania zasobów mają teraz skrócony nagłówek User-Agent, a wartości zwracane przez niektóre interfejsy Navigatora są ograniczone. W wersji demonstracyjnej możesz wypróbować nowe wartości ciągu 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.
Platforma wersji demonstracyjnych Piaskownicy prywatności
Platforma wersji demonstracyjnych Piaskownicy prywatności zawiera przepisy, przykładowy kod i aplikacje demonstracyjne oparte na interfejsach API Piaskownicy prywatności. Mają one pomóc firmom i deweloperom w dostosowaniu aplikacji i firm, które obsługują, do ekosystemu internetowego bez plików cookie innych firm.
Przypadek użycia | Opis | Interfejsy API |
---|---|---|
Retargeting / Remarketing | Jak wyświetlać trafne reklamy użytkownikowi, który szukał w internecie informacji o marce lub produkcie. | Protected Audience API Fenced Frame |
Określanie udziału w konwersji po jednym kontakcie | Jak mierzyć konwersje po obejrzeniu reklam w witrynie z wiadomościami i kupieniu produktu w witrynie zakupów online. | Interfejs Attribution Reporting API |
Reklama wideo VAST typu In-Stream na aukcji z Protected Audience API z 1 sprzedawcą | Zawiera szczegółowe informacje o tymczasowym rozwiązaniu, które umożliwia odtwarzaczom wideo osadzonym na najwyższym poziomie dostęp do adresu URL pliku XML VAST. | Protected Audience API |
Reklama wideo VAST typu In-Stream w konfiguracji aukcji sekwencyjnej z użyciem Protected Audience API | Pokazuje jeden ze sposobów obsługi plików XML VAST w konfiguracji aukcji sekwencyjnej Protected Audience, gdy reklama jest renderowana w ramce iframe. | Protected Audience API |