Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
android.adservices.common
Interfaces
Clases
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-27 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-27 (UTC)"],[],[],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)"]]