デモとコラボで、プライバシー サンドボックス API について学びましょう。
プライバシー サンドボックス API には、さまざまなデモがあります。ほとんどの機能では API に精通している必要があります。ドキュメントをまだ読んでいない場合は、デモとともに記載されているリンクをご覧ください。
デモとコラボレーション
Protected Audience API
このデモでは、Protected Audience API を使用して 2 つの広告主サイトの広告インタレスト グループに参加し、デバイス上のオークションを開始してパブリッシャー サイトに表示する広告を選択します。
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 API を使用すると、広告主と広告テクノロジー プロバイダは、広告クリックと広告ビュー、サードパーティの iframe 内の広告、ファーストパーティ コンテキストの広告のコンバージョンを測定できます。このデモでは、広告主が広告技術プロバイダを利用して、パブリッシャーのサイトで広告を配信します。
デモ
ノイズラボ
集計可能レポートがコレクタによってバッチ処理され、集計サービスによって処理される場合、ユーザーのプライバシーを保護するために、結果の概要レポートにランダムなデータが追加されます。ノイズラボを使用して、さまざまな値で実験し、ノイズの影響を確認します。
アグリゲーション サービス
集計サービスは、集計可能レポートから収集したデータを復号して結合し、ノイズを追加して、最終概要レポートを返します。これらはすべて高信頼実行環境(TEE)内で実現されます。
Colab
共有ストレージ
Shared Storage API は、クロスサイトで使用できるストレージを提供します。つまり、あるドメインに値を保存して、別のドメインからその値を読み取るということです。データは自由に設定できますが、ストレージからデータを取得する方法は制限されています。このデモではその仕組みを説明します。
チップ
Cookie の Independent Partitioned State(CHIPS)により、デベロッパーは最上位サイトごとに別々の Cookie jar を使用し、デベロッパーは Cookie をパーティション分割ストレージにオプトインできます。これにより、ユーザーのプライバシーとセキュリティが向上します。このデモではその仕組みを説明します。
関連ウェブサイト セット
関連ウェブサイト セットは、企業がサイト間の関係を宣言するための方法で、ブラウザは特定の目的のために制限付きのサードパーティ Cookie のアクセスを許可します。Chrome は、これらの宣言された関係に基づいて、サードパーティのコンテキストを使用している場合に、Cookie へのサイトによるアクセスを許可するか拒否するかを決定します。
- デモ
- 送信用 JSON 生成ツール。このツールは関連ウェブサイト セット(RWS)の送信に必要な JSON リソースを生成します。
- ドキュメント
権限ポリシー
権限ポリシーを使用すると、デベロッパーはブラウザに適用する一連のポリシーを宣言して、ページ、その iframe、サブリソースで使用できるブラウザ機能を制御できます。このデモでは、使用可能なポリシーを試すことができます。
User-Agent の情報量削減
ユーザー エージェントの情報量削減は、パッシブ フィンガープリントに使用される可能性がある、ユーザー エージェント文字列で共有される識別情報を最小限に抑えます。リソース リクエストのユーザー エージェント ヘッダーが縮小され、一部の Navigator インターフェースからの戻り値が減りました。このデモでは、新しい UA の文字列値を試すことができます。
Private State Token API
Private State Token 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 |