הדגמות ושיתופי פעולה עם מומחים יעזרו לכם להבין את ממשקי ה-API של ארגז החול לפרטיות.
יש כמה הדגמות של ממשקי ה-API של ארגז החול לפרטיות. ברוב הדמואים תצטרכו להכיר את ממשקי ה-API, לכן אם עדיין לא קראתם את המסמכים, כדאי לעיין בקישורים שצירפנו לצד הדמואים.
הדגמות ושיתופי פעולה
Protected Audience API
ההדגמה משתמשת ב-Protected Audience API כדי להצטרף לקבוצות של תחומי עניין של מפרסמים בשני אתרים של מפרסמים, ואז מפעילה מכרז במכשיר כדי לבחור מודעה להצגה באתר של בעל תוכן דיגיטלי.
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)
Attribution Reporting API מאפשר למפרסמים ולספקי טכנולוגיות פרסום למדוד המרות שנובעות מקליקים על מודעות ומצפיות במודעות, מודעות ב-iframe של צד שלישי ומודעות בהקשר של צד ראשון. בהדגמה הזו, מפרסם משתמש בספק טכנולוגיית פרסום כדי להציג את המודעות שלו באתר של בעל תוכן דיגיטלי.
הדגמה
Noise Lab
כשכלי איסוף נתונים יוצר חבילות של דוחות עם נתונים נצברים ושירות הצבירה מעבד אותם, נתונים אקראיים מתווספים לדוחות הסיכום שמתקבלים כדי להגן על פרטיות המשתמשים. כדאי להשתמש ב-Noise Lab כדי להתנסות בערכים שונים ולראות את ההשפעה של הרעש.
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
מדיניות ההרשאות
מדיניות ההרשאות מאפשרת למפתחים לשלוט בתכונות הדפדפן שזמינות לדף, ל-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 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 |