CINXE.COM

Measure user demographics  |  Privacy Sandbox  |  Google for Developers

<!doctype html> <html lang="en" dir="ltr"> <head> <base href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award"> <meta property="og:site_name" content="Google for Developers"> <meta property="og:type" content="website"> <meta name="theme-color" content="#fff"> <meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/developers/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&amp;display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&amp;family=Material+Symbols+Outlined&amp;display=block"> <link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers/images/favicon-new.png"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers/images/touchicon-180-new.png"> <link rel="canonical" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"> <link rel="search" type="application/opensearchdescription+xml" title="Google for Developers" href="https://developers.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"> <link rel="alternate" hreflang="x-default" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"> <link rel="alternate" hreflang="ar" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=ar"> <link rel="alternate" hreflang="bn" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=bn"> <link rel="alternate" hreflang="zh-Hans" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=zh-cn"> <link rel="alternate" hreflang="zh-Hant" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=zh-tw"> <link rel="alternate" hreflang="fa" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=fa"> <link rel="alternate" hreflang="fr" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=fr"> <link rel="alternate" hreflang="de" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=de"> <link rel="alternate" hreflang="he" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=he"> <link rel="alternate" hreflang="hi" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=hi"> <link rel="alternate" hreflang="id" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=id"> <link rel="alternate" hreflang="it" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=it"> <link rel="alternate" hreflang="ja" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=ja"> <link rel="alternate" hreflang="ko" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=ko"> <link rel="alternate" hreflang="pl" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=pl"> <link rel="alternate" hreflang="pt-BR" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=pt-br"> <link rel="alternate" hreflang="ru" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=ru"> <link rel="alternate" hreflang="es-419" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=es-419"> <link rel="alternate" hreflang="th" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=th"> <link rel="alternate" hreflang="tr" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=tr"> <link rel="alternate" hreflang="vi" href="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics?hl=vi"> <title>Measure user demographics &nbsp;|&nbsp; Privacy Sandbox &nbsp;|&nbsp; Google for Developers</title> <meta property="og:title" content="Measure user demographics &nbsp;|&nbsp; Privacy Sandbox &nbsp;|&nbsp; Google for Developers"> <meta name="description" content="Use Shared Storage and Private Aggregation for demographics measurement"> <meta property="og:description" content="Use Shared Storage and Private Aggregation for demographics measurement"> <meta property="og:url" content="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"> <meta property="og:image" content="https://developers.google.com/static/privacy-sandbox/assets/images/privacy-sandbox-for-developers.png"> <meta property="og:image:width" content="1600"> <meta property="og:image:height" content="900"> <meta property="og:locale" content="en"> <meta name="twitter:card" content="summary_large_image"> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "dateModified": "2024-04-02", "headline": "Measure user demographics" } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Privacy Sandbox", "item": "https://developers.google.com/privacy-sandbox" },{ "@type": "ListItem", "position": 2, "name": "Measure user demographics", "item": "https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics" }] } </script> <link rel="stylesheet" href="/extras.css"> <meta http-equiv="X-Translated-By" content="Google"> <meta http-equiv="X-Translated-To" content="en"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.omlEigW4xY8.O/am=DgY/d=1/rs=AN8SPfpjsL9kUWY0h-sp7Ilu7hZWGwEmeg/m=corsproxy" data-sourceurl="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"></script> <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.omlEigW4xY8.O/am=DgY/d=1/exm=corsproxy/ed=1/rs=AN8SPfpjsL9kUWY0h-sp7Ilu7hZWGwEmeg/m=phishing_protection" data-phishing-protection-enabled="false" data-forms-warning-enabled="true" data-source-url="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics"></script> <meta name="robots" content="none"> </head> <body class="" template="page" theme="white" type="article" layout="docs" display-toc pending> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.omlEigW4xY8.O/am=DgY/d=1/exm=corsproxy,phishing_protection/ed=1/rs=AN8SPfpjsL9kUWY0h-sp7Ilu7hZWGwEmeg/m=navigationui" data-environment="prod" data-proxy-url="https://developers-google-com.translate.goog" data-proxy-full-url="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/user-demographics?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" data-source-url="https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics" data-source-language="auto" data-target-language="en" data-display-language="auto" data-detected-source-language="en" data-is-source-untranslated="false" data-source-untranslated-url="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://developers.google.com/privacy-sandbox/private-advertising/private-aggregation/user-demographics&amp;anno=2" data-client="tr"></script><devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"><devsite-cookie-notification-bar></devsite-cookie-notification-bar><devsite-header role="banner"> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"><button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"><a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto"> <div class="devsite-product-logo-container" size="medium"><picture> <img class="devsite-product-logo" alt="Privacy Sandbox" src="https://developers.google.com/static/privacy-sandbox/assets/images/privacy-sandbox-logo.png" srcset="https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_36.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 36w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_48.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 48w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_72.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 72w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_96.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 96w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_480.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 480w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_720.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 720w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_856.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 856w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_960.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 960w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_1440.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 1440w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_1920.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 1920w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_2880.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 2880w" sizes="64px" loading="lazy"> </picture> </div></a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list"> <li class="devsite-breadcrumb-item "><a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Privacy Sandbox"> Privacy Sandbox </a></li> </ul></span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"><devsite-tabs class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"><tab> <a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" track-metadata-eventdetail="https://developers.google.com/privacy-sandbox" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - overview" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Overview" track-name="overview"> Overview </a> </tab> <tab> <a href="https://developers-google-com.translate.goog/privacy-sandbox/cookies?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" track-metadata-eventdetail="https://developers.google.com/privacy-sandbox/cookies" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - cookies" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cookies" track-name="cookies"> Cookies </a> </tab> <tab class="devsite-active"> <a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" track-metadata-eventdetail="https://developers.google.com/privacy-sandbox/private-advertising" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - private advertising" track-metadata-module="primary nav" aria-label="Private advertising, selected" data-category="Site-Wide Custom Events" data-label="Tab: Private advertising" track-name="private advertising"> Private advertising </a> </tab> <tab> <a href="https://developers-google-com.translate.goog/privacy-sandbox/protections?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" track-metadata-eventdetail="https://developers.google.com/privacy-sandbox/protections" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - privacy protections" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Privacy protections" track-name="privacy protections"> Privacy protections </a> </tab> <tab> <a href="https://developers-google-com.translate.goog/privacy-sandbox/learn?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" track-metadata-eventdetail="https://developers.google.com/privacy-sandbox/learn" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - learn" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Learn" track-name="learn"> Learn </a> </tab> <tab> <a href="https://developers-google-com.translate.goog/privacy-sandbox/blog?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" track-metadata-eventdetail="https://developers.google.com/privacy-sandbox/blog" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - blog" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Blog" track-name="blog"> Blog </a> </tab> </nav> </devsite-tabs> </div><devsite-search enable-signin enable-search enable-suggestions enable-query-completion project-name="Privacy Sandbox" tenant-name="Google for Developers" project-scope="/privacy-sandbox" url-scoped="https://developers.google.com/s/results/privacy-sandbox"> <form class="devsite-search-form" action="https://developers.google.com/s/results" method="GET"> <div class="devsite-search-container"><button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"><input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value=""> <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"><kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div><devsite-language-selector> <ul role="presentation"> <li role="presentation"><a role="menuitem" lang="en">English</a></li> <li role="presentation"><a role="menuitem" lang="de">Deutsch</a></li> <li role="presentation"><a role="menuitem" lang="es">Español</a></li> <li role="presentation"><a role="menuitem" lang="es_419">Español – América Latina</a></li> <li role="presentation"><a role="menuitem" lang="fr">Français</a></li> <li role="presentation"><a role="menuitem" lang="id">Indonesia</a></li> <li role="presentation"><a role="menuitem" lang="it">Italiano</a></li> <li role="presentation"><a role="menuitem" lang="pl">Polski</a></li> <li role="presentation"><a role="menuitem" lang="pt_br">Português – Brasil</a></li> <li role="presentation"><a role="menuitem" lang="vi">Tiếng Việt</a></li> <li role="presentation"><a role="menuitem" lang="tr">Türkçe</a></li> <li role="presentation"><a role="menuitem" lang="ru">Русский</a></li> <li role="presentation"><a role="menuitem" lang="he">עברית</a></li> <li role="presentation"><a role="menuitem" lang="ar">العربيّة</a></li> <li role="presentation"><a role="menuitem" lang="fa">فارسی</a></li> <li role="presentation"><a role="menuitem" lang="hi">हिंदी</a></li> <li role="presentation"><a role="menuitem" lang="bn">বাংলা</a></li> <li role="presentation"><a role="menuitem" lang="th">ภาษาไทย</a></li> <li role="presentation"><a role="menuitem" lang="zh_cn">中文 – 简体</a></li> <li role="presentation"><a role="menuitem" lang="zh_tw">中文 – 繁體</a></li> <li role="presentation"><a role="menuitem" lang="ja">日本語</a></li> <li role="presentation"><a role="menuitem" lang="ko">한국어</a></li> </ul> </devsite-language-selector> <a class="devsite-header-link devsite-top-button button gc-analytics-event" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://privacysandbox.com/" data-category="Site-Wide Custom Events" data-label="Site header link"> Home </a> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section devsite-header-no-lower-tabs "> <div class="devsite-header-background"> <div class="devsite-product-id-row"> <div class="devsite-product-description-row"> <ul class="devsite-breadcrumb-list"> <li class="devsite-breadcrumb-item "><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail=""> Private advertising </a></li> </ul> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars> <div class="devsite-book-nav-filter"><span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"><button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"><a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto"> <div class="devsite-product-logo-container" size="medium"><picture> <img class="devsite-product-logo" alt="Privacy Sandbox" src="https://developers.google.com/static/privacy-sandbox/assets/images/privacy-sandbox-logo.png" srcset="https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_36.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 36w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_48.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 48w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_72.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 72w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_96.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 96w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_480.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 480w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_720.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 720w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_856.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 856w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_960.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 960w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_1440.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 1440w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_1920.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 1920w,https://developers-google-com.translate.goog/static/privacy-sandbox/assets/images/privacy-sandbox-logo_2880.png?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto 2880w" sizes="64px" loading="lazy"> </picture> </div></a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list"> <li class="devsite-breadcrumb-item "><a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Privacy Sandbox"> Privacy Sandbox </a></li> </ul></span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Overview" track-name="overview" track-type="globalNav" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Overview </span> <span class="devsite-nav-icon material-icons" data-icon="forward"> </span> </a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/cookies?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Cookies" track-name="cookies" track-type="globalNav" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Cookies </span> <span class="devsite-nav-icon material-icons" data-icon="forward"> </span> </a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Private advertising" track-name="private advertising" track-type="globalNav" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Private advertising </span> <span class="devsite-nav-icon material-icons" data-icon="forward"> </span> </a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/protections?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Privacy protections" track-name="privacy protections" track-type="globalNav" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Privacy protections </span> <span class="devsite-nav-icon material-icons" data-icon="forward"> </span> </a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/learn?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Learn" track-name="learn" track-type="globalNav" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Learn </span> </a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/blog?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Blog" track-name="blog" track-type="globalNav" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Blog </span> </a></li> <li class="devsite-nav-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://privacysandbox.com/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Home" track-type="navMenu" track-metadata-eventdetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip> Home </span> </a></li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising"><span class="devsite-nav-text" tooltip>About private advertising</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Start your integration</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Web</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/web?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/web" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/web"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/web/chrome-facilitated-testing?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/web/chrome-facilitated-testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/web/chrome-facilitated-testing"><span class="devsite-nav-text" tooltip>Chrome-facilitated testing</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/web/relevance-testing?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/web/relevance-testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/web/relevance-testing"><span class="devsite-nav-text" tooltip>Relevance APIs testing guidance</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Android</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/android?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/android"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/android/setup?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/android/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/android/setup"><span class="devsite-nav-text" tooltip>Set up your development environment</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/android/setup-api-access?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/android/setup-api-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/android/setup-api-access"><span class="devsite-nav-text" tooltip>Configure AdServices</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/android/download?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/android/download" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/android/download"><span class="devsite-nav-text" tooltip>Set up a device or emulator image</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/android/setup-device-access?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/android/setup-device-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/android/setup-device-access"><span class="devsite-nav-text" tooltip>Configure devices to use Privacy Sandbox on Android</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/setup/android/troubleshooting?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/setup/android/troubleshooting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/setup/android/troubleshooting"><span class="devsite-nav-text" tooltip>Troubleshoot your setup</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Enrollment</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/enrollment?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/enrollment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/enrollment"><span class="devsite-nav-text" tooltip>Enroll your platform with Privacy Sandbox</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/enrollment/faqs?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/enrollment/faqs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/enrollment/faqs"><span class="devsite-nav-text" tooltip>Frequently asked questions</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Ads lifecycle</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/manage-ad-audience?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/manage-ad-audience" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/manage-ad-audience"><span class="devsite-nav-text" tooltip>Audiences</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/manage-ad-auctions?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/manage-ad-auctions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/manage-ad-auctions"><span class="devsite-nav-text" tooltip>Auctions</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/measure-ad-performance?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/measure-ad-performance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/measure-ad-performance"><span class="devsite-nav-text" tooltip>Performance</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Topics</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/why-topics?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/why-topics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/why-topics"><span class="devsite-nav-text" tooltip>Why do we need Topics</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Topics API for Web</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web/setup?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web/setup"><span class="devsite-nav-text" tooltip>Setup</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web/implement?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web/implement" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web/implement"><span class="devsite-nav-text" tooltip>Implement Topics</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web/test-and-go-live?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web/test-and-go-live" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web/test-and-go-live"><span class="devsite-nav-text" tooltip>Test &amp; go live</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web/tooling?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web/tooling" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web/tooling"><span class="devsite-nav-text" tooltip>Tooling</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web/controls?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web/controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web/controls"><span class="devsite-nav-text" tooltip>Customization &amp; opt-out</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/web/support?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/web/support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/web/support"><span class="devsite-nav-text" tooltip>Support</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-expandable devsite-nav-experimental"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Topics API for Android</span><span class="devsite-nav-icon material-icons" data-icon="experimental" data-title="Experimental!" aria-hidden="true"></span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/android?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/android"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/android/implement?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/android/implement" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/android/implement"><span class="devsite-nav-text" tooltip>Implement Topics</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics/android/controls?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics/android/controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics/android/controls"><span class="devsite-nav-text" tooltip>Customization &amp; opt-out</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Protected Audience</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Web</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/feature-status?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/feature-status" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/feature-status"><span class="devsite-nav-text" tooltip>Status of pending API capabilities</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Developer guide</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/protected-audience-experiment?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/protected-audience-experiment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/protected-audience-experiment"><span class="devsite-nav-text" tooltip>Experiment</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/ad-auction?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/ad-auction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/ad-auction"><span class="devsite-nav-text" tooltip>Seller guide - Run ad auctions</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/reporting?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/reporting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/reporting"><span class="devsite-nav-text" tooltip>Auction reporting</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/guide/reporting-id?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/guide/reporting-id" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/guide/reporting-id"><span class="devsite-nav-text" tooltip>Reporting IDs</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/latency?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/latency" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/latency"><span class="devsite-nav-text" tooltip>Improve auction latency</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/reports?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/reports" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/reports"><span class="devsite-nav-text" tooltip>Report on auction results</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sequential-auction-setup?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sequential-auction-setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sequential-auction-setup"><span class="devsite-nav-text" tooltip>Sequential auction setup with header bidding and multi-seller Protected Audience auction</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/troubleshoot?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/troubleshoot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/troubleshoot"><span class="devsite-nav-text" tooltip>Troubleshoot</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/opt-out?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/opt-out" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/opt-out"><span class="devsite-nav-text" tooltip>Opt out</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/k-anonymity?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/k-anonymity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/k-anonymity"><span class="devsite-nav-text" tooltip>K-anonymity</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/publisher-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/publisher-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/publisher-guide"><span class="devsite-nav-text" tooltip>Publisher guide</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/define-audience-data?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/define-audience-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/define-audience-data"><span class="devsite-nav-text" tooltip>Define audience data</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/update-audience-data?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/update-audience-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/update-audience-data"><span class="devsite-nav-text" tooltip>Update audience data and refresh ads</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/delegate-audience-management?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/delegate-audience-management" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/delegate-audience-management"><span class="devsite-nav-text" tooltip>Delegate audience management to a third-party</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/configure-auction?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/configure-auction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/configure-auction"><span class="devsite-nav-text" tooltip>Set up an ad auction on the publisher's page</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/single-seller-auction?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/single-seller-auction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/single-seller-auction"><span class="devsite-nav-text" tooltip>Run a browser based auction with a single seller</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/multi-seller-auction?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/multi-seller-auction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/multi-seller-auction"><span class="devsite-nav-text" tooltip>Run a browser based auction with multiple sellers</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/sequential-auction?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/sequential-auction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/sequential-auction"><span class="devsite-nav-text" tooltip>Sequential auction setup with contextual ad auction</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/render-ad?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/render-ad" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/render-ad"><span class="devsite-nav-text" tooltip>Render an ad</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/bid-in-auction-ad-slot?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/bid-in-auction-ad-slot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/bid-in-auction-ad-slot"><span class="devsite-nav-text" tooltip>Bid in an auction to buy an ad slot</span></a></li> <li class="devsite-nav-item devsite-nav-external"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://docs.google.com/document/d/1b6YlL5CFVfCo6hHMqfOYp2WJNdsBTSvM4eayrmbm7e4/view" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://docs.google.com/document/d/1b6YlL5CFVfCo6hHMqfOYp2WJNdsBTSvM4eayrmbm7e4/view" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://docs.google.com/document/d/1b6YlL5CFVfCo6hHMqfOYp2WJNdsBTSvM4eayrmbm7e4/view"><span class="devsite-nav-text" tooltip>API walkthrough</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/topics-in-audiences?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/topics-in-audiences" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/topics-in-audiences"><span class="devsite-nav-text" tooltip>Use Topics to target an audience</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Use cases</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience-api/use-case/deals?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience-api/use-case/deals" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience-api/use-case/deals"><span class="devsite-nav-text" tooltip>Deals</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/auction/pace-ad-delivery?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/auction/pace-ad-delivery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/auction/pace-ad-delivery"><span class="devsite-nav-text" tooltip>Pace ad delivery by frequency</span></a></li> </ul> </div></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Android</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/mediation?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/mediation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/mediation"><span class="devsite-nav-text" tooltip>Mediation</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/frequency-capping?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/frequency-capping" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/frequency-capping"><span class="devsite-nav-text" tooltip>Frequency capping</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/appinstall-filtering?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/appinstall-filtering" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/appinstall-filtering"><span class="devsite-nav-text" tooltip>App install ads filtering</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Developer guide</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/developer-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/developer-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/developer-guide"><span class="devsite-nav-text" tooltip>Protected Audience developer guide</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/fetch-and-join?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/developer-guide/fetch-and-join" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/fetch-and-join"><span class="devsite-nav-text" tooltip>Join Custom Audience Delegation</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/profiling?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/developer-guide/profiling" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/profiling"><span class="devsite-nav-text" tooltip>Profile a Protected Audience auction</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/debug-reporting?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/developer-guide/debug-reporting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/debug-reporting"><span class="devsite-nav-text" tooltip>Debug reporting</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/inspect_audiences_cli?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/developer-guide/inspect_audiences_cli" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/developer-guide/inspect_audiences_cli"><span class="devsite-nav-text" tooltip>Inspect custom audiences on the command line</span></a></li> </ul> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/integration-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/integration-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/integration-guide"><span class="devsite-nav-text" tooltip>Integration guide</span></a></li> <li class="devsite-nav-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://developer.android.com/design-for-safety/privacy-sandbox/reference/packages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://developer.android.com/design-for-safety/privacy-sandbox/reference/packages" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://developer.android.com/design-for-safety/privacy-sandbox/reference/packages"><span class="devsite-nav-text" tooltip>API reference</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Protected App Signals</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/protected-app-signals?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/protected-app-signals" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/protected-app-signals"><span class="devsite-nav-text" tooltip>Overview for Android</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/protected-app-signals-developer-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/protected-app-signals-developer-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/protected-app-signals-developer-guide"><span class="devsite-nav-text" tooltip>Developer guide</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Bidding and Auction services</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/bidding-and-auction-services?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/bidding-and-auction-services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/bidding-and-auction-services"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/protected-audience/android/bidding-and-auction-integration?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/protected-audience/android/bidding-and-auction-integration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/protected-audience/android/bidding-and-auction-integration"><span class="devsite-nav-text" tooltip>Integration and optimization</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Fenced frames</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/fenced-frame?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/fenced-frame" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/fenced-frame"><span class="devsite-nav-text" tooltip>Overview for Web</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Attribution Reporting</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Web</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-updates?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-updates" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-updates"><span class="devsite-nav-text" tooltip>API updates</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/chrome-shipping?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/chrome-shipping" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/chrome-shipping"><span class="devsite-nav-text" tooltip>Why Chrome shipped the Attribution Reporting API</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/system-overview?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/system-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/system-overview"><span class="devsite-nav-text" tooltip>System overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/summary-reports?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/summary-reports" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/summary-reports"><span class="devsite-nav-text" tooltip>Generate summary reports</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/report-schedules?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/report-schedules" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/report-schedules"><span class="devsite-nav-text" tooltip>Report schedules</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/constraints?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/constraints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/constraints"><span class="devsite-nav-text" tooltip>Constraints</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Developer guide</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/dev-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/dev-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/dev-guide"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/getting-started?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/getting-started" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/getting-started"><span class="devsite-nav-text" tooltip>Get started</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/register-attribution-source?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/register-attribution-source" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/register-attribution-source"><span class="devsite-nav-text" tooltip>Register an attribution source</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/register-attribution-trigger?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/register-attribution-trigger" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/register-attribution-trigger"><span class="devsite-nav-text" tooltip>Register triggers</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/enable-conversion-measurement?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/enable-conversion-measurement" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/enable-conversion-measurement"><span class="devsite-nav-text" tooltip>Enable conversion measurement</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/change-attribution-logic?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/change-attribution-logic" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/change-attribution-logic"><span class="devsite-nav-text" tooltip>Change attribution logic</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/define-filters?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/define-filters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/define-filters"><span class="devsite-nav-text" tooltip>Define filters</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/prevent-duplication?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/prevent-duplication" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/prevent-duplication"><span class="devsite-nav-text" tooltip>Prevent duplication</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/custom-report-windows?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/custom-report-windows" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/custom-report-windows"><span class="devsite-nav-text" tooltip>Custom report windows</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging"><span class="devsite-nav-text" tooltip>Introduction to debug reports</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging/part-2?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging/part-2" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging/part-2"><span class="devsite-nav-text" tooltip>Set up debug reports</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging/part-3?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging/part-3" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-debugging/part-3"><span class="devsite-nav-text" tooltip>Debugging cookbook</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/summary-reports-intro?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/summary-reports-intro" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/summary-reports-intro"><span class="devsite-nav-text" tooltip>Introduction to summary reports</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/contribution-budget?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/contribution-budget" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/contribution-budget"><span class="devsite-nav-text" tooltip>Contribution budget</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/aggregation-keys?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/aggregation-keys" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/aggregation-keys"><span class="devsite-nav-text" tooltip>Aggregation keys</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/understanding-noise?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/understanding-noise" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/understanding-noise"><span class="devsite-nav-text" tooltip>Understand noise</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/working-with-noise?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/working-with-noise" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/working-with-noise"><span class="devsite-nav-text" tooltip>Work with noise</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/design-decisions?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/design-decisions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/design-decisions"><span class="devsite-nav-text" tooltip>Noiselab</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/measurement-implementation-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/measurement-implementation-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/measurement-implementation-guide"><span class="devsite-nav-text" tooltip>Measurement implementation guide</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/measurement-testing-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/measurement-testing-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/measurement-testing-guide"><span class="devsite-nav-text" tooltip>Measurement testing guide</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-data-clearing?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-data-clearing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/attribution-reporting-data-clearing"><span class="devsite-nav-text" tooltip>Data clearing</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/cross-web-app?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/cross-web-app" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/cross-web-app"><span class="devsite-nav-text" tooltip>Cross app and web measurement</span></a></li> </ul> </div></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Android</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/android?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/android"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/android/attribution-app-to-web?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/android/attribution-app-to-web" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/android/attribution-app-to-web"><span class="devsite-nav-text" tooltip>Cross app and web measurement</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/android/simulation-library?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/android/simulation-library" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/android/simulation-library"><span class="devsite-nav-text" tooltip>Measurement Simulation Library</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Developer guide</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/android/developer-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/android/developer-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/android/developer-guide"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/cross-web-app?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/cross-web-app" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/cross-web-app"><span class="devsite-nav-text" tooltip>Cross app and web measurement</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/android/xna-examples?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/android/xna-examples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/android/xna-examples"><span class="devsite-nav-text" tooltip>Cross-network attribution examples</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/attribution-reporting/android/integration-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/attribution-reporting/android/integration-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/attribution-reporting/android/integration-guide"><span class="devsite-nav-text" tooltip>Integration guide</span></a></li> </ul> </div></li> <li class="devsite-nav-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://developer.android.com/design-for-safety/privacy-sandbox/reference/packages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://developer.android.com/design-for-safety/privacy-sandbox/reference/packages" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://developer.android.com/design-for-safety/privacy-sandbox/reference/packages"><span class="devsite-nav-text" tooltip>API reference</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Private Aggregation</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation"><span class="devsite-nav-text" tooltip>Overview for Web</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/fundamentals?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation/fundamentals" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation/fundamentals"><span class="devsite-nav-text" tooltip>Fundamentals</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/private-aggregation-experiment?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation/private-aggregation-experiment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation/private-aggregation-experiment"><span class="devsite-nav-text" tooltip>Experiment</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Use cases</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/unique-reach?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation/unique-reach" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation/unique-reach"><span class="devsite-nav-text" tooltip>Measure unique reach</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/k-freq-reach?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation/k-freq-reach" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation/k-freq-reach"><span class="devsite-nav-text" tooltip>Measure K+ frequency reach</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/user-demographics?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation/user-demographics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation/user-demographics"><span class="devsite-nav-text" tooltip>Measure user demographic</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/multi-touch-attribution?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/private-aggregation/multi-touch-attribution" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/private-aggregation/multi-touch-attribution"><span class="devsite-nav-text" tooltip>Multi-touch attribution</span></a></li> </ul> </div></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Aggregation Service</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/get-started?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/get-started" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/get-started"><span class="devsite-nav-text" tooltip>Get Started</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/coordinators-ags-purpose?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/coordinators-ags-purpose" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/coordinators-ags-purpose"><span class="devsite-nav-text" tooltip>Coordinator's Purpose In Aggregation Service</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/privacy-protection-report-strategy?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/privacy-protection-report-strategy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/privacy-protection-report-strategy"><span class="devsite-nav-text" tooltip>Privacy Protections &amp; Report Strategy</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/operate-ags?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/operate-ags" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/operate-ags"><span class="devsite-nav-text" tooltip>Operate Aggregation Service</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/receive-store-aggregatable-reports?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/receive-store-aggregatable-reports" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/receive-store-aggregatable-reports"><span class="devsite-nav-text" tooltip>Receive &amp; Store Aggregatable Reports</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/understand-ags-api?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/understand-ags-api" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/understand-ags-api"><span class="devsite-nav-text" tooltip>Understand the API</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/batch-strategies?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/batch-strategies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/batch-strategies"><span class="devsite-nav-text" tooltip>Batch Strategies</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/load-testing-framework?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/load-testing-framework" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/load-testing-framework"><span class="devsite-nav-text" tooltip>Load Testing Framework</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/aggregation-service/tos?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/aggregation-service/tos" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/aggregation-service/tos"><span class="devsite-nav-text" tooltip>Terms of Service</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>Shared Storage</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage"><span class="devsite-nav-text" tooltip>Overview for Web</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/content-selection?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/content-selection" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/content-selection"><span class="devsite-nav-text" tooltip>URL selection</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/api-walkthrough?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/api-walkthrough" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/api-walkthrough"><span class="devsite-nav-text" tooltip>API walkthrough</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Use cases</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/creative-rotation?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/creative-rotation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/creative-rotation"><span class="devsite-nav-text" tooltip>Rotate ad creatives</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/creative-selection-by-frequency?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/creative-selection-by-frequency" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/creative-selection-by-frequency"><span class="devsite-nav-text" tooltip>Select ad creative by frequency</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/ab-testing?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/ab-testing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/ab-testing"><span class="devsite-nav-text" tooltip>Run A/B testing</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/known-customer?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/known-customer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/known-customer"><span class="devsite-nav-text" tooltip>Customize experience for known customers</span></a></li> </ul> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/try-the-demo?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/try-the-demo" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/try-the-demo"><span class="devsite-nav-text" tooltip>Try the demo</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/shared-storage/debugging?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/shared-storage/debugging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/shared-storage/debugging"><span class="devsite-nav-text" tooltip>Debugging</span></a></li> <li class="devsite-nav-item devsite-nav-heading"> <div class="devsite-nav-title devsite-nav-title-no-path"><span class="devsite-nav-text" tooltip>SDK Runtime</span> </div></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime"><span class="devsite-nav-text" tooltip>Overview for Android</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/ui-presentation?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/ui-presentation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/ui-presentation"><span class="devsite-nav-text" tooltip>UI presentation APIs</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/viewability?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/viewability" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/viewability"><span class="devsite-nav-text" tooltip>Viewability</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/backward-compatibility?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/backward-compatibility" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/backward-compatibility"><span class="devsite-nav-text" tooltip>Backward compatibility</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/full-screen-ads?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/full-screen-ads" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/full-screen-ads"><span class="devsite-nav-text" tooltip>Full-screen ads</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/native-ads?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/native-ads" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/native-ads"><span class="devsite-nav-text" tooltip>Native ads</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/mediation?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/mediation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/mediation"><span class="devsite-nav-text" tooltip>Mediation</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"> <div class="devsite-expandable-nav"><a class="devsite-nav-toggle" aria-hidden="true"></a> <div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"><span class="devsite-nav-text" tooltip>Developer guide</span> </div> <ul class="devsite-nav-section"> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/developer-guide?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/developer-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/developer-guide"><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/key-concepts?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/developer-guide/key-concepts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/key-concepts"><span class="devsite-nav-text" tooltip>Key concepts</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/dev-environment?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/developer-guide/dev-environment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/dev-environment"><span class="devsite-nav-text" tooltip>Set up your developer environment</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/build-re-sdk?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/developer-guide/build-re-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/build-re-sdk"><span class="devsite-nav-text" tooltip>Build a Runtime-Enabled SDK</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/consume-re-sdk?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/developer-guide/consume-re-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/consume-re-sdk"><span class="devsite-nav-text" tooltip>Consume the Runtime-Enabled SDK</span></a></li> <li class="devsite-nav-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/build-test?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /privacy-sandbox/private-advertising/sdk-runtime/developer-guide/build-test" track-type="bookNav" track-name="click" track-metadata-eventdetail="/privacy-sandbox/private-advertising/sdk-runtime/developer-guide/build-test"><span class="devsite-nav-text" tooltip>Build and test</span></a></li> </ul> </div></li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar> <div class="devsite-sidebar"> <div class="devsite-sidebar-content"><devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div><devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "><a href="https://developers-google-com.translate.goog/?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail=""> Home </a></li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div><a href="https://developers-google-com.translate.goog/privacy-sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Privacy Sandbox"> Privacy Sandbox </a></li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div><a href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail=""> Private advertising </a></li> </ul><devsite-thumb-rating position="header"> </devsite-thumb-rating> </div><devsite-feedback position="header" project-name="Privacy Sandbox" product-id="5335444" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" disable-product-feedback project-icon="https://developers.google.com/static/privacy-sandbox/assets/images/privacy-sandbox-logo.png"> <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1">Measure user demographics</h1><devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"> <devsite-view-release-notes></devsite-view-release-notes> </div><devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded> </devsite-toc> <devsite-recommendations-dropdown class="nocontent"></devsite-recommendations-dropdown> <div class="devsite-article-body clearfix "> <p>Content producers often want to understand the demographics of their audience. You can use Shared Storage to record user demographic data in a context where you have it, such as your first-party site, and then use aggregated reporting to include that data in reports from other sites, such as your embedded content.</p> <p>The <a href="https://developers-google-com.translate.goog/privacy-sandbox/relevance/shared-storage?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto">Shared Storage API</a> is a Privacy Sandbox proposal for general purpose, cross-site storage, which supports many possible use cases. <a href="https://developers-google-com.translate.goog/privacy-sandbox/relevance/private-aggregation?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto">Private Aggregation API</a> is an output available in Shared Storage that allows you to aggregate cross-site data.</p> <h2 id="try_user_demographic_measurement" data-text="Try user demographic measurement" tabindex="-1">Try user demographic measurement</h2> <p>To experiment with user demographic measurement with Shared Storage and Private Aggregation, confirm you're using Chrome Canary and Dev M107 or later. Enable all the Ad privacy APIs under <code translate="no" dir="ltr">chrome://settings/adPrivacy</code>.</p> <p>You can also enable Shared Storage with the <code translate="no" dir="ltr">--enable-features=PrivacySandboxAdsAPIsOverride,OverridePrivacySandboxSettingsLocalTesting,SharedStorageAPI,FencedFrames</code> flag in the command line.</p> <h2 id="experiment_with_code_samples" data-text="Experiment with code samples" tabindex="-1">Experiment with code samples</h2> <aside class="note"> <b>Note:</b> The following code samples were created to demonstrate how the API may be used for the given use cases. These are not meant to be used in production. </aside> <p>You may want to measure certain demographics of the users who have seen your content across different sites, for example age range or geographical location. In this example, the content ID, age group ID, and the geography ID dimensions are encoded into the aggregation key (bucket), and the count is used as the aggregatable value. The summary report generated will provide information such as "Approximately 391 users who have seen the content ID 123 are between the age of 18-39 and are from Europe."</p> <p>In this example:</p> <ul> <li><code translate="no" dir="ltr">demographic-measurement.js</code> is loaded via a frame, and is responsible for loading the shared storage worklet.</li> <li><code translate="no" dir="ltr">demographic-measurement-worklet.js</code> is the shared storage worklet that reads the demographics data in shared storage and sends a report via the Private Aggregation API.</li> </ul> <p><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/GoogleChromeLabs/shared-storage-demo/blob/main/sites/content-producer/private-aggregation/demographics-survey.js"><code translate="no" dir="ltr">store-demographic-data.js</code></a></p> <p>(Runs at some point in time before the measurement is made to set the demographics data into Shared Storage)</p> <div></div><devsite-code> <pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">getDemogrationsData</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Collect age group and continent data</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">return</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continent</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-k">async</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">storeDemographics</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continent</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">getDemographicsData</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">window</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">set</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'age-group'</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">window</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">set</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'continent'</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continent</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-nx">storeDemographics</span><span class="devsite-syntax-p">();</span> </code></pre> </devsite-code> <p><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/GoogleChromeLabs/shared-storage-demo/blob/4c8469e34d420dc92972052533aff12ad38cd7b9/sites/content-producer/private-aggregation/demographics-measurement.js"><code translate="no" dir="ltr">demographic-measurement.js</code></a></p> <div></div><devsite-code> <pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-k">async</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">measureDemographics</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Load the Shared Storage worklet</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">window</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">worklet</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">addModule</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'demographics-measurement-worklet.js'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Run the demographics measurement operation</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">window</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">run</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'demographics-measurement'</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">data</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">contentId</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'123'</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">});</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-nx">measureDemographics</span><span class="devsite-syntax-p">();</span> </code></pre> </devsite-code> <p><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/GoogleChromeLabs/shared-storage-demo/blob/4c8469e34d420dc92972052533aff12ad38cd7b9/sites/content-producer/private-aggregation/demographics-measurement-worklet.js"><code translate="no" dir="ltr">demographic-measurement-worklet.js</code></a></p> <div></div><devsite-code> <pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-c1">// Learn more about noise and scaling from the Private Aggregation fundamentals</span> <span class="devsite-syntax-c1">// documentation on Chrome blog</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">SCALE_FACTOR</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">65536</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-cm">/**</span> <span class="devsite-syntax-cm"> * The bucket key must be a number, and in this case, it is simply the ad campaign</span> <span class="devsite-syntax-cm"> * ID itself. For more complex bucket key construction, see other use cases in</span> <span class="devsite-syntax-cm"> * this demo.</span> <span class="devsite-syntax-cm"> */</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">AGGREGATION_KEY_MAP</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroupId</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'18-39'</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'40-64'</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'65+'</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'3'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">},</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continentId</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">africa</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">antarctica</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">asia</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'3'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">australia</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'4'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">europe</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'5'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'north-america'</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'6'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'south-america'</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'7'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">},</span> <span class="devsite-syntax-p">};</span> <span class="devsite-syntax-cm">/**</span> <span class="devsite-syntax-cm"> * The aggregation key will be in the format of:</span> <span class="devsite-syntax-cm"> * contentId | ageGroupId | continentId</span> <span class="devsite-syntax-cm"> *</span> <span class="devsite-syntax-cm"> * For example, a user from Australia between the age of 40-64, who has</span> <span class="devsite-syntax-cm"> * seen the Content ID 321 will be represented by the key:</span> <span class="devsite-syntax-cm"> * 321 | 2 | 4 or 32124</span> <span class="devsite-syntax-cm"> */</span> <span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">generateAggregationKey</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">contentId</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continent</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroupId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">AGGREGATION_KEY_MAP</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">ageGroupId</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-p">];</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continentId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">AGGREGATION_KEY_MAP</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">continentId</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">continent</span><span class="devsite-syntax-p">];</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aggregationKey</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">BigInt</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">contentId</span><span class="devsite-syntax-si">}${</span><span class="devsite-syntax-nx">ageGroupId</span><span class="devsite-syntax-si">}${</span><span class="devsite-syntax-nx">continentId</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">return</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aggregationKey</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-kd">class</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">DemographicsMeasurementOperation</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">async</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">run</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">data</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">contentId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">data</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Read from Shared Storage</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">key</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'has-reported-content'</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">hasReportedContent</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">get</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">key</span><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">===</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'true'</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">get</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'age-group'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continent</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">get</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'continent'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Do not report if a report has been sent already</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">if</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">hasReportedContent</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">return</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Generate the aggregation key and the aggregatable value</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">bucket</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">generateAggregationKey</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">contentId</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">ageGroup</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">continent</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">value</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">1</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">*</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">SCALE_FACTOR</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Send an aggregatable report via the Private Aggregation API</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">privateAggregation</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">contributeToHistogram</span><span class="devsite-syntax-p">({</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">bucket</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">value</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">});</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Set the report submission status flag</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">sharedStorage</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">set</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">key</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kc">true</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-c1">// Register the operation</span> <span class="devsite-syntax-nx">register</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'demographics-measurement'</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">DemographicsMeasurementOperation</span><span class="devsite-syntax-p">);</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">\</span> </code></pre> </devsite-code> <h2 id="engage_and_share_feedback" data-text="Engage and share feedback" tabindex="-1">Engage and share feedback</h2> <p>The Shared Storage proposal is under active discussion and subject to change in the future. If you try this API and have feedback, we'd love to hear it.</p> <ul> <li><strong>GitHub</strong>: Read the <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/WICG/shared-storage">proposal</a>, <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/patcg-individual-drafts/private-aggregation-api/blob/main/reach_whitepaper.md">reach whitepaper</a>, <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/WICG/shared-storage/issues">raise questions and participate in discussion</a>.</li> <li><strong>Shared Storage API announcements</strong>: Join or view past announcements on our <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://groups.google.com/a/chromium.org/g/shared-storage-api-announcements">mailing list</a></li> <li><strong>Developer support</strong>: Ask questions and join discussions on the <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support">Privacy Sandbox Developer Support repo</a>.</li> </ul> </div><devsite-recommendations display="in-page" hidden yield> </devsite-recommendations> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Privacy Sandbox" product-id="5335444" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" disable-product-feedback project-icon="https://developers.google.com/static/privacy-sandbox/assets/images/privacy-sandbox-logo.png"> <button> Send feedback </button> </devsite-feedback> <devsite-recommendations id="recommendations-link" yield></devsite-recommendations> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers-google-com.translate.goog/site-policies?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-04-02 UTC.</p> </devsite-content-footer> <devsite-notification> </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"><devsite-feedback position="thumb-rating" project-name="Privacy Sandbox" product-id="5335444" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" disable-product-feedback project-icon="https://developers.google.com/static/privacy-sandbox/assets/images/privacy-sandbox-logo.png"> <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-02 UTC."],[],[]] </template> </div> </devsite-content> </main><devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "><h3 class="devsite-footer-linkbox-heading no-link">Get support</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://github.com/privacysandbox/privacy-sandbox-dev-support" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)"> Ask a question on our GitHub support repo </a></li> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://goo.gle/privacy-sandbox-feedback" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)"> Submit project feedback </a></li> </ul></li> <li class="devsite-footer-linkbox "><h3 class="devsite-footer-linkbox-heading no-link">Get updates</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"><a href="https://developers-google-com.translate.goog/privacy-sandbox/blog?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)"> Developer blog </a></li> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://privacysandbox.com/news/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)"> Project news </a></li> </ul></li> <li class="devsite-footer-linkbox "><h3 class="devsite-footer-linkbox-heading no-link">Resources</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://privacysandbox.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)"> Project site </a></li> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://privacysandbox.com/open-web/%23the-privacy-sandbox-timeline" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)"> Privacy Sandbox timeline </a></li> </ul></li> <li class="devsite-footer-linkbox "><h3 class="devsite-footer-linkbox-heading no-link">Tools</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://goo.gle/psat" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)"> Privacy Sandbox Analysis Tool </a></li> <li class="devsite-footer-linkbox-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://privacy-sandbox-demos.dev/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)"> Privacy Sandbox demos </a></li> </ul></li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-sites" aria-label="Other Google Developers websites"><a href="https://developers-google-com.translate.goog/?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-footer-sites-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Developers Link"> <picture> <img class="devsite-footer-sites-logo" src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers/images/lockup-google-for-developers.svg" loading="lazy" alt="Google Developers"> </picture> </a> <ul class="devsite-footer-sites-list"> <li class="devsite-footer-sites-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://developer.android.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Android Link"> Android </a></li> <li class="devsite-footer-sites-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://developer.chrome.com/home" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Chrome Link"> Chrome </a></li> <li class="devsite-footer-sites-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://firebase.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Firebase Link"> Firebase </a></li> <li class="devsite-footer-sites-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://cloud.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud Platform Link"> Google Cloud Platform </a></li> <li class="devsite-footer-sites-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://ai.google.dev/" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google AI Link"> Google AI </a></li> <li class="devsite-footer-sites-item"><a href="https://developers-google-com.translate.goog/products?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer All products Link"> All products </a></li> </ul> </nav> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "><a class="devsite-footer-utility-link gc-analytics-event" href="https://developers-google-com.translate.goog/terms/site-terms?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" data-category="Site-Wide Custom Events" data-label="Footer Terms link"> Terms </a></li> <li class="devsite-footer-utility-item "><a class="devsite-footer-utility-link gc-analytics-event" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=auto&amp;u=https://policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link"> Privacy </a></li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"><a class="devsite-footer-utility-link gc-analytics-event" href="https://developers-google-com.translate.goog/privacy-sandbox/private-advertising/private-aggregation/user-demographics?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" aria-hidden="true"> Manage cookies </a></li> <li class="devsite-footer-utility-item devsite-footer-utility-button"><span class="devsite-footer-utility-description">Sign up for the Google for Developers newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="https://developers-google-com.translate.goog/newsletter/subscribe?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=auto" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link"> Subscribe </a></li> </ul><devsite-language-selector> <ul role="presentation"> <li role="presentation"><a role="menuitem" lang="en">English</a></li> <li role="presentation"><a role="menuitem" lang="de">Deutsch</a></li> <li role="presentation"><a role="menuitem" lang="es">Español</a></li> <li role="presentation"><a role="menuitem" lang="es_419">Español – América Latina</a></li> <li role="presentation"><a role="menuitem" lang="fr">Français</a></li> <li role="presentation"><a role="menuitem" lang="id">Indonesia</a></li> <li role="presentation"><a role="menuitem" lang="it">Italiano</a></li> <li role="presentation"><a role="menuitem" lang="pl">Polski</a></li> <li role="presentation"><a role="menuitem" lang="pt_br">Português – Brasil</a></li> <li role="presentation"><a role="menuitem" lang="vi">Tiếng Việt</a></li> <li role="presentation"><a role="menuitem" lang="tr">Türkçe</a></li> <li role="presentation"><a role="menuitem" lang="ru">Русский</a></li> <li role="presentation"><a role="menuitem" lang="he">עברית</a></li> <li role="presentation"><a role="menuitem" lang="ar">العربيّة</a></li> <li role="presentation"><a role="menuitem" lang="fa">فارسی</a></li> <li role="presentation"><a role="menuitem" lang="hi">हिंदी</a></li> <li role="presentation"><a role="menuitem" lang="bn">বাংলা</a></li> <li role="presentation"><a role="menuitem" lang="th">ภาษาไทย</a></li> <li role="presentation"><a role="menuitem" lang="zh_cn">中文 – 简体</a></li> <li role="presentation"><a role="menuitem" lang="zh_tw">中文 – 繁體</a></li> <li role="presentation"><a role="menuitem" lang="ja">日本語</a></li> <li role="presentation"><a role="menuitem" lang="ko">한국어</a></li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section> </section><devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[{&#34;dimensions&#34;: {&#34;dimension6&#34;: &#34;en&#34;, &#34;dimension11&#34;: false, &#34;dimension3&#34;: false, &#34;dimension5&#34;: &#34;en&#34;, &#34;dimension1&#34;: &#34;Signed out&#34;, &#34;dimension4&#34;: &#34;Privacy Sandbox&#34;}, &#34;gaid&#34;: &#34;UA-24532603-1&#34;, &#34;metrics&#34;: {&#34;ratings_value&#34;: &#34;metric1&#34;, &#34;ratings_count&#34;: &#34;metric2&#34;}, &#34;purpose&#34;: 1}]</script> <script type="application/json" tag-management>{&#34;at&#34;: &#34;True&#34;, &#34;ga4&#34;: [{&#34;id&#34;: &#34;G-272J68FCRF&#34;, &#34;purpose&#34;: 1}], &#34;ga4p&#34;: [{&#34;id&#34;: &#34;G-272J68FCRF&#34;, &#34;purpose&#34;: 1}], &#34;gtm&#34;: [{&#34;id&#34;: &#34;GTM-WPJH8HP6&#34;, &#34;purpose&#34;: 0}], &#34;parameters&#34;: {&#34;internalUser&#34;: &#34;False&#34;, &#34;language&#34;: {&#34;machineTranslated&#34;: &#34;False&#34;, &#34;requested&#34;: &#34;en&#34;, &#34;served&#34;: &#34;en&#34;}, &#34;pageType&#34;: &#34;article&#34;, &#34;projectName&#34;: &#34;Privacy Sandbox&#34;, &#34;signedIn&#34;: &#34;False&#34;, &#34;tenant&#34;: &#34;developers&#34;, &#34;recommendations&#34;: {&#34;sourcePage&#34;: &#34;&#34;, &#34;sourceType&#34;: 0, &#34;sourceRank&#34;: 0, &#34;sourceIdenticalDescriptions&#34;: 0, &#34;sourceTitleWords&#34;: 0, &#34;sourceDescriptionWords&#34;: 0, &#34;experiment&#34;: &#34;&#34;}, &#34;experiment&#34;: {&#34;ids&#34;: &#34;&#34;}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <script nonce="E/eJMXQROUgYZk8Spz9Cfx1IHPVx5A"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers/js/app_loader.js', '[1,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers","https://developers-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/developers/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/developers/images/favicon-new.png","https://fonts.googleapis.com/css?family=Google+Sans:400,500|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","developers.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["Profiles__enable_awarding_url","DevPro__enable_cloud_innovators_plus","MiscFeatureFlags__developers_footer_image","TpcFeatures__enable_mirror_tenant_redirects","Cloud__enable_llm_concierge_chat","Concierge__enable_pushui","Search__enable_ai_eligibility_checks","Analytics__enable_clearcut_logging","Profiles__enable_recognition_badges","Profiles__require_profile_eligibility_for_signin","Cloud__enable_legacy_calculator_redirect","MiscFeatureFlags__enable_firebase_utm","Significatio__enable_by_tenant","Profiles__enable_release_notes_notifications","MiscFeatureFlags__enable_view_transitions","Cloud__enable_free_trial_server_call","TpcFeatures__enable_required_headers","MiscFeatureFlags__emergency_css","Search__enable_dynamic_content_confidential_banner","Cloud__enable_cloudx_experiment_ids","Search__enable_suggestions_from_borg","Cloud__enable_cloud_shell","BookNav__enable_tenant_cache_key","Experiments__reqs_query_experiments","Profiles__enable_developer_profiles_callout","DevPro__enable_developer_subscriptions","MiscFeatureFlags__enable_project_variables","Cloud__enable_cloudx_ping","Profiles__enable_profile_collections","Profiles__enable_page_saving","MiscFeatureFlags__developers_footer_dark_image","Profiles__enable_complete_playlist_endpoint","Profiles__enable_completecodelab_endpoint","Cloud__enable_cloud_dlp_service","Profiles__enable_dashboard_curated_recommendations","Cloud__enable_cloud_facet_chat","Cloud__enable_cloud_shell_fte_user_flow","Profiles__enable_public_developer_profiles","CloudShell__cloud_code_overflow_menu","EngEduTelemetry__enable_engedu_telemetry","Search__enable_page_map","MiscFeatureFlags__enable_variable_operator","CloudShell__cloud_shell_button"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,null,"https://developerprofiles-pa.clients6.google.com",[1,"developers","Google for Developers","developers.google.com",null,"developers-dot-devsite-v2-prod.appspot.com",null,null,[1,1,[1],null,null,null,null,null,null,null,null,[1],null,null,null,null,null,null,[1],[1,null,null,[1,20],"/recommendations/information"],null,null,null,[1,1,1],[1,1,null,1,1]],null,[null,null,null,null,null,null,"/images/lockup-new.svg","/images/touchicon-180-new.png",null,null,null,null,1,null,null,null,null,null,null,null,null,1,null,null,null,"/images/lockup-dark-theme-new.svg",[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,20,22,23,29,32,36],null,[[null,null,null,[3,7,10,2,39,17,4,32,24,11,12,13,34,15,25],null,null,[1,[["docType","Choose a content type",[["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"],["Guide",null,null,null,null,null,null,null,null,"Guide"],["Sample",null,null,null,null,null,null,null,null,"Sample"]]],["product","Choose a product",[["Android",null,null,null,null,null,null,null,null,"Android"],["ARCore",null,null,null,null,null,null,null,null,"ARCore"],["ChromeOS",null,null,null,null,null,null,null,null,"ChromeOS"],["Firebase",null,null,null,null,null,null,null,null,"Firebase"],["Flutter",null,null,null,null,null,null,null,null,"Flutter"],["Assistant",null,null,null,null,null,null,null,null,"Google Assistant"],["GoogleCloud",null,null,null,null,null,null,null,null,"Google Cloud"],["GoogleMapsPlatform",null,null,null,null,null,null,null,null,"Google Maps Platform"],["GooglePay",null,null,null,null,null,null,null,null,"Google Pay & Google Wallet"],["GooglePlay",null,null,null,null,null,null,null,null,"Google Play"],["Tensorflow",null,null,null,null,null,null,null,null,"TensorFlow"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"AI and Machine Learning"],["Data",null,null,null,null,null,null,null,null,"Data"],["Enterprise",null,null,null,null,null,null,null,null,"Enterprise"],["Gaming",null,null,null,null,null,null,null,null,"Gaming"],["Mobile",null,null,null,null,null,null,null,null,"Mobile"],["Web",null,null,null,null,null,null,null,null,"Web"]]]]]],[1,1],null,1],[[["UA-24532603-1"],["UA-22084204-5"],null,null,["UA-24532603-5"],null,null,[["G-272J68FCRF"],null,null,[["G-272J68FCRF",2]]],[["UA-24532603-1",2]],null,[["UA-24532603-5",2]],null,1],[[14,11],[11,8],[16,13],[15,12],[6,5],[3,2],[12,9],[13,10],[5,4],[4,3],[1,1]],[[2,2],[1,1]]],null,4,null,null,null,null,null,null,null,null,null,null,null,null,null,"developers.devsite.google"],1,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script><devsite-a11y-announce></devsite-a11y-announce> <script>function gtElInit() {var lib = new google.translate.TranslateService();lib.translatePage('en', 'en', function () {});}</script> <script src="https://translate.google.com/translate_a/element.js?cb=gtElInit&amp;hl=auto&amp;client=wt" type="text/javascript"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10