نسخههای نمایشی و همکاریها شما را از طریق 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
با Topics API، دستگاه کاربر موضوعاتی را که به نظر می رسد برای کاربر بر اساس فعالیت آنها مورد علاقه است، مشاهده و ثبت می کند. سپس API به تماسگیرندگان (مانند پلتفرمهای فناوری تبلیغات) اجازه میدهد تا به این موضوعات بدون افشای اطلاعات دیگری در مورد فعالیت کاربر دسترسی داشته باشند. منابع زیر نمونه هایی از API در عمل را ارائه می دهند.
منابع برای موضوعات در وب
- نسخه ی نمایشی سرصفحه ها : این یک رویکرد توصیه شده و کارآمدتر است.
- نسخه ی نمایشی جاوا اسکریپت : اگر نمی توانید هدرها را تغییر دهید از روش های موضوعات جاوا اسکریپت استفاده کنید.
- Topics API colab : با مدل TensorFlow Lite که توسط Chrome برای استنتاج موضوعات از نام میزبان استفاده میشود، آزمایش کنید.
- مستندات موضوعات برای وب : درباره نحوه کارکرد موضوعات و نحوه اجرای آن بیشتر بیاموزید.
منابعی برای موضوعات در اندروید
- برنامه های نمونه: برای هدایت یکپارچه سازی خود به برنامه نمونه Kotlin یا برنامه نمونه جاوا مراجعه کنید.
- Topics API colab : ترکیبهای مختلف اطلاعات برنامه را در برابر مدل طبقهبندیکننده موضوعات آزمایش کنید.
- مستندات موضوعات برای Android : نحوه عملکرد Topics در Android را بیاموزید.
گزارش اسناد
Attribution Reporting API به تبلیغکنندگان و ارائهدهندگان فناوری تبلیغات امکان میدهد تا تبدیلها را برای کلیکها و بازدیدهای تبلیغات، تبلیغات در یک iframe شخص ثالث و تبلیغات در زمینه شخص اول اندازهگیری کنند. در این نسخه نمایشی، یک تبلیغکننده از یک ارائهدهنده فناوری تبلیغات برای اجرای تبلیغات خود در یک سایت ناشر استفاده میکند.
نسخه ی نمایشی
آزمایشگاه نویز
هنگامی که گزارشهای جمعآوریشده توسط یک گردآورنده دستهبندی میشوند و توسط سرویس تجمیع پردازش میشوند، دادههای تصادفی به گزارشهای خلاصه حاصل اضافه میشوند تا از حریم خصوصی کاربر محافظت شود. از Noise Lab برای آزمایش مقادیر مختلف برای مشاهده تأثیر نویز استفاده کنید.
خدمات تجمع
سرویس Aggregation مسئول رمزگشایی و ترکیب دادههای جمعآوریشده از گزارشهای جمعآوریشده، اضافه کردن نویز و بازگرداندن گزارش خلاصه نهایی است. این همه در یک محیط اجرای قابل اعتماد (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 (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
خط مشی مجوزها
خطمشی مجوزها به توسعهدهنده اجازه میدهد تا با اعلام مجموعهای از خطمشیها برای اعمال مرورگر، ویژگیهای مرورگر موجود در صفحه، iframeها و منابع فرعی آن را کنترل کند. این نسخه نمایشی به شما امکان میدهد خطمشیهای موجود را امتحان کنید.
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
با استفاده از 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 |