Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
android.adservices.common
Interfaces
Classes
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-27 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)"]]