הדגמות ושיתופי פעולה עם מומחים יעזרו לכם להבין את ממשקי ה-API של ארגז החול לפרטיות.
יש כמה הדגמות של ממשקי ה-API של ארגז החול לפרטיות. ברוב הדמואים תצטרכו להכיר את ממשקי ה-API, לכן אם עדיין לא קראתם את המסמכים, כדאי לעיין בקישורים שצירפנו לצד הדמואים.
הדגמות ושיתופי פעולה
Protected Audience API
ההדגמה משתמשת ב-Protected Audience API כדי להצטרף לקבוצות של תחומי עניין של מפרסמים בשני אתרים של מפרסמים, ואז מפעילה מכרז במכשיר כדי לבחור מודעה להצגה באתר של בעל תוכן דיגיטלי.
Topics API
בעזרת Topics API, המכשיר של המשתמש עוקב אחרי נושאים שנראים רלוונטיים למשתמש על סמך הפעילות שלו, ומתעד אותם. לאחר מכן, ה-API מאפשר למי שקורא לו (כמו פלטפורמות טכנולוגיות פרסום) לגשת לנושאים האלה בלי לחשוף מידע אחר על הפעילות של המשתמש. בדוגמאות הבאות אפשר לראות הדגמה של ה-API בפעולה.
משאבים בנושא 'נושאים באינטרנט'
- הדגמה של כותרות: זו גישה מומלצת עם ביצועים טובים יותר.
- הדגמה של JavaScript: אם אין לכם אפשרות לשנות כותרות, אתם יכולים להשתמש בשיטות של JavaScript Topics.
- Topics API colab: התנסות במודל TensorFlow Lite שמשמש את Chrome להסקת נושאים משמות מארחים.
- מסמכי Topics לאינטרנט: מידע נוסף על אופן הפעולה של Topics ועל הטמעת התכונה.
משאבים בנושאים ב-Android
- אפליקציות לדוגמה: כדי לקבל הנחיות לשילוב, אפשר לעיין באפליקציה לדוגמה ב-Kotlin או באפליקציה לדוגמה ב-Java.
- Topics API colab: בדיקת שילובים שונים של פרטי אפליקציה מול מודל הסיווג של הנושאים.
- מסמכי מידע על Topics ל-Android: מידע על אופן הפעולה של Topics ב-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.
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
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.
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
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.
מסגרת הדגמות בארגז החול לפרטיות
מסגרת ההדגמות של ארגז החול לפרטיות מציעה מתכונים, דוגמאות קוד ואפליקציות הדגמה שמבוססות על ממשקי Privacy Sandbox API. ההנחיות האלה נועדו לעזור לעסקים ולמפתחים להתאים את האפליקציות שלהם ואת העסקים שהם תומכים בהם לסביבה עסקית באינטרנט ללא קובצי Cookie של צד שלישי.
| תרחיש לדוגמה | תיאור | APIs |
|---|---|---|
| טירגוט מחדש / רימרקטינג | איך להציג מודעות רלוונטיות למשתמש שערך מחקר על מותג או מוצר באינטרנט. | Protected Audience API Fenced Frame |
| שיוך המרות למגע יחיד | איך מודדים המרה אחרי צפייה במודעות באתר חדשות וקניית מוצר באתר קניות אונליין. | Attribution Reporting API |
| מודעת וידאו VAST In-stream במכרז של מוכר יחיד ב-Protected Audience | מספק פרטים על פתרון זמני שמאפשר לנגני וידאו מוטמעים ברמה העליונה לגשת לכתובת ה-URL של VAST XML. | Protected Audience API |
| מודעת וידאו In-stream בפורמט VAST בהגדרה של מכרז רציף ב-Protected Audience | דוגמה לאחת מהדרכים לטפל בקובצי VAST XML בהגדרת מכרז רציף של Protected Audience, כשהמודעה מוצגת ב-iframe. | Protected Audience API |