Demolar ve Colab'ler, Özel Korumalı Alan API'lerini kullanma konusunda size yol gösterir.
Privacy Sandbox API'leri için çeşitli demolar mevcuttur. Çoğu için API'leri bilmeniz gerekir. Dokümanları okumadıysanız demolarda listelediğimiz bağlantılara göz atın.
Demolar ve Colab'ler
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
- 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.
İlişkilendirme Raporları
Attribution Reporting API, reklamverenlerin ve reklam teknolojisi sağlayıcıların reklam tıklamaları ve görüntülemeleri, üçüncü taraf iFrame'deki reklamlar ve birinci taraf bağlamındaki reklamlar için dönüşümleri ölçmesine olanak tanır. Bu demoda bir reklamveren, reklamlarını bir yayıncı sitesinde yayınlamak için bir reklam teknolojisi sağlayıcıyı kullanıyor.
Demo
Noise Lab
Toplanabilir raporlar bir toplayıcı tarafından gruplandırılıp toplama hizmeti tarafından işlendiğinde, kullanıcı gizliliğini korumak için ortaya çıkan özet raporlara rastgele veriler eklenir. Gürültünün etkisini görmek için farklı değerlerle denemeler yapmak üzere Noise Lab'i kullanın.
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
Ortak Depolama
Shared Storage API, siteler arası kullanılabilecek depolama alanı sağlar. Yani bir alanda bir değer depolayıp başka bir alandan bu değeri okuyabilirsiniz. Verileri serbestçe ayarlayabilirsiniz ancak depolama alanından veri alma şekliniz kısıtlanır. Bu demo, özelliğin nasıl çalıştığını gösterir.
CHIPS
Bağımsız Bölümlendirme Durumuna Sahip Çerezler (CHIPS), geliştiricilerin bir çerezi bölümlendirilmiş depolamaya dahil etmesine olanak tanır. Üst düzey site başına ayrı çerez kavanozları sayesinde kullanıcı gizliliği ve güvenliği iyileştirilir. Bu demo, özelliğin nasıl çalıştığını gösterir.
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.
Kullanıcı aracısı başlığını kısaltma
Kullanıcı aracısı azaltma, pasif parmak izi oluşturma için kullanılabilecek kullanıcı aracısı dizesinde paylaşılan tanımlayıcı bilgileri en aza indirir. Kaynak isteklerinde artık daha kısa bir User-Agent üstbilgisi bulunuyor ve belirli Navigator arayüzlerinden döndürülen değerler azaltıldı. Bu demo, yeni UA dize değerleriyle deneme yapmanıza olanak tanır.
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.