透過集合功能整理內容
你可以依據偏好儲存及分類內容。
android.adservices.common
介面
類別
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# android.adservices.common\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.adservices.common\n=========================\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| [AdServicesOutcomeReceiver](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesOutcomeReceiver)\\\u003cR, E extends [Throwable](/reference/java/lang/Throwable)\\\u003e | Callback interface intended for use when an asynchronous operation may result in a failure. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [AdData](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData) | Represents data specific to an ad that is necessary for ad selection and rendering. |\n| [AdData.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData.Builder) | Builder for [AdData](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData) objects. |\n| [AdFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters) | A container class for filters which are associated with an ad. |\n| [AdFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters.Builder) | Builder for creating [AdFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters) objects. |\n| [AdSelectionSignals](/design-for-safety/privacy-sandbox/reference/adservices/common/AdSelectionSignals) | This class holds JSON that will be passed into a JavaScript function during ad selection. |\n| [AdServicesPermissions](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesPermissions) | Permissions used by the AdServices APIs. |\n| [AdTechIdentifier](/design-for-safety/privacy-sandbox/reference/adservices/common/AdTechIdentifier) | An Identifier representing an ad buyer or seller. |\n| [FrequencyCapFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters) | A container for the ad filters that are based on frequency caps. |\n| [FrequencyCapFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters.Builder) | Builder for creating [FrequencyCapFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters) objects. |\n| [KeyedFrequencyCap](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap) | A frequency cap for a specific ad counter key. |\n| [KeyedFrequencyCap.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap.Builder) | Builder for creating [KeyedFrequencyCap](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap) objects. |\n\n-\n\n Interfaces\n ----------\n\n - [AdServicesOutcomeReceiver](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesOutcomeReceiver)\n-\n\n Classes\n -------\n\n - [AdData](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData)\n - [AdData.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdData.Builder)\n - [AdFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters)\n - [AdFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/AdFilters.Builder)\n - [AdSelectionSignals](/design-for-safety/privacy-sandbox/reference/adservices/common/AdSelectionSignals)\n - [AdServicesPermissions](/design-for-safety/privacy-sandbox/reference/adservices/common/AdServicesPermissions)\n - [AdTechIdentifier](/design-for-safety/privacy-sandbox/reference/adservices/common/AdTechIdentifier)\n - [FrequencyCapFilters](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters)\n - [FrequencyCapFilters.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/FrequencyCapFilters.Builder)\n - [KeyedFrequencyCap](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap)\n - [KeyedFrequencyCap.Builder](/design-for-safety/privacy-sandbox/reference/adservices/common/KeyedFrequencyCap.Builder)"]]