Android.AdServices.Common Namespace

Provides shared ad data, signals, identifiers, filters, permissions, and result callbacks for Android AdServices.

Classes

Name Description
AdData

Represents data specific to an ad that is necessary for ad selection and rendering.

AdData.Builder

Builder for AdData objects.

AdData.InterfaceConsts

Exposes constants from the Java interfaces implemented by AdData.

AdFilters

A container class for filters which are associated with an ad.

AdFilters.Builder

Builder for creating AdFilters objects.

AdFilters.InterfaceConsts

Exposes constants from the Java interfaces implemented by AdFilters.

AdSelectionSignals

This class holds JSON that will be passed into a JavaScript function during ad selection.

AdSelectionSignals.InterfaceConsts

Exposes constants from the Java interfaces implemented by AdSelectionSignals.

AdServicesPermissions

Permissions used by the AdServices APIs.

AdTechIdentifier

An Identifier representing an ad buyer or seller.

AdTechIdentifier.InterfaceConsts

Exposes constants from the Java interfaces implemented by AdTechIdentifier.

AppInstallFilters

A container for the ad filters that are based on app install state.

AppInstallFilters.Builder

Builder for creating AppInstallFilters objects.

AppInstallFilters.InterfaceConsts

Exposes constants from the Java interfaces implemented by AppInstallFilters.

ComponentAdData

Represents data specific to a component ad that is necessary for ad selection and rendering.

ComponentAdData.InterfaceConsts

Exposes constants from the Java interfaces implemented by ComponentAdData.

FrequencyCapFilters

A container for the ad filters that are based on frequency caps.

FrequencyCapFilters.Builder

Builder for creating FrequencyCapFilters objects.

FrequencyCapFilters.InterfaceConsts

Exposes constants from the Java interfaces implemented by FrequencyCapFilters.

KeyedFrequencyCap

A frequency cap for a specific ad counter key.

KeyedFrequencyCap.Builder

Builder for creating KeyedFrequencyCap objects.

KeyedFrequencyCap.InterfaceConsts

Exposes constants from the Java interfaces implemented by KeyedFrequencyCap.

Interfaces

Name Description
IAdServicesOutcomeReceiver

Callback interface intended for use when an asynchronous operation may result in a failure.

Enums

Name Description
AdEventType

Identifies the event category used for ad counter histograms and frequency cap filtering.

Remarks

Use the data and builder types to describe ads and their filters, and the signals type to carry JSON data for ad selection. The namespace also contains the AdServices permission names and asynchronous result callback interface. See the Android package reference for the corresponding Java APIs and their availability and deprecation notices.