デモとコラボで、プライバシー サンドボックス API について学びましょう。
プライバシー サンドボックス API には、さまざまなデモがあります。ほとんどの機能では API に精通している必要があります。ドキュメントをまだ読んでいない場合は、デモとともに記載されているリンクをご覧ください。
デモとコラボレーション
Protected Audience API
このデモでは、Protected Audience API を使用して 2 つの広告主サイトで広告インタレスト グループに参加し、デバイス上のオークションを開始してパブリッシャー サイトに表示する広告を選択します。
Topics API
Topics API を使用すると、ユーザーのデバイスは、ユーザーのアクティビティに基づいて、ユーザーが関心を持っていると思われるトピックを監視して記録します。API を使用すると、呼び出し元(広告テクノロジー プラットフォームなど)は、ユーザーのアクティビティに関する他の情報を明らかにすることなく、これらのトピックにアクセスできます。次のリソースでは、API の動作例を確認できます。
ウェブ上のトピックのリソース
- ヘッダーのデモ: こちらは、パフォーマンスが向上するおすすめの方法です。
- JavaScript デモ: ヘッダーを変更できない場合は、JavaScript Topics メソッドを使用します。
- Topics API colab: Chrome がホスト名からトピックを推測するために使用する TensorFlow Lite モデルを試すことができます。
- ウェブ向けの Topics のドキュメント: Topics の仕組みと実装方法について詳しく説明します。
Android のトピックに関するリソース
- サンプルアプリ: 統合のガイドとして、Kotlin サンプルアプリまたは Java サンプルアプリを参照してください。
- Topics API colab: トピック分類器モデルに対してアプリ情報のさまざまな組み合わせをテストします。
- Android 向け Topics ドキュメント: Android で Topics がどのように機能するかについて説明します。
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)内で行われます。
Colabs
共有ストレージ
Shared Storage API は、クロスサイトで使用できるストレージを提供します。つまり、あるドメインで値を保存し、別のドメインから値を読み取ることができます。データは自由に設定できますが、ストレージからデータを取得する方法には制限があります。このデモでは、その仕組みを示します。
CHIPS
Cookies Having Independent Partitioned State(CHIPS)により、デベロッパーは、トップレベル サイトごとに個別の Cookie の格納場所を使用して、Cookie をパーティショニングされたストレージに取り込むことができます。これにより、ユーザーのプライバシーとセキュリティが向上します。このデモでは、その仕組みを示します。
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.
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.
Private State Token API
プライベート ステート トークン API を使用すると、ウェブサイトは信頼できるユーザーに暗号トークンを発行できます。このトークンは後で別の場所で使用できます。トークンはユーザーのブラウザに安全に保存され、他のコンテキストで利用してユーザーの正真性を確認できます。このデモで API を確認してください。
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 |