Android.AdServices.AdSelection Namespace

Contains types for ad selection and impression reporting.

Classes

Name Description
AddAdSelectionFromOutcomesOverrideRequest

This POJO represents the TestAdSelectionManager#overrideAdSelectionFromOutcomesConfigRemoteInfo ( AddAdSelectionOverrideRequest, Executor, OutcomeReceiver)} request

AddAdSelectionOverrideRequest

This POJO represents the TestAdSelectionManager#overrideAdSelectionConfigRemoteInfo(AddAdSelectionOverrideRequest, Executor, OutcomeReceiver) request

AdSelectionConfig

Contains the configuration of the ad selection process.

AdSelectionConfig.Builder

Builder for AdSelectionConfig object.

AdSelectionConfig.InterfaceConsts

Provides interface constants for AdSelectionConfig.

AdSelectionFromOutcomesConfig

Contains the configuration of the ad selection process that select a winner from a given list of ad selection ids.

AdSelectionFromOutcomesConfig.Builder

Builder for AdSelectionFromOutcomesConfig objects.

AdSelectionFromOutcomesConfig.InterfaceConsts

Provides interface constants for AdSelectionFromOutcomesConfig.

AdSelectionManager

AdSelection Manager provides APIs for app and ad-SDKs to run ad selection processes as well as report impressions.

AdSelectionOutcome

This class represents a field in the OutcomeReceiver, which is an input to the AdSelectionManager#selectAds in the AdSelectionManager.

AdSelectionOutcome.Builder

Builder for AdSelectionOutcome objects.

AdWithBid

Represents an ad and its corresponding bid value after the bid generation step in the ad selection process.

AdWithBid.InterfaceConsts

Provides interface constants for AdWithBid.

DecisionLogic

Generic Decision logic that could be provided by the buyer or seller.

DecisionLogic.InterfaceConsts

Provides interface constants for DecisionLogic.

GetAdSelectionDataOutcome

Represents ad selection data collected from device for ad selection.

GetAdSelectionDataRequest

Represents a request containing the information to get ad selection data.

GetAdSelectionDataRequest.Builder

Builder for GetAdSelectionDataRequest objects.

PerBuyerConfiguration

Contains a per buyer configuration which will be used as part of a SellerConfiguration in a GetAdSelectionDataRequest.

PerBuyerConfiguration.Builder

Builder for PerBuyerConfiguration objects.

PerBuyerConfiguration.InterfaceConsts

Provides interface constants for PerBuyerConfiguration.

PerBuyerDecisionLogic

The override object for decision logic JS per buyer for SignedContextualAds.

PerBuyerDecisionLogic.InterfaceConsts

Provides interface constants for PerBuyerDecisionLogic.

PersistAdSelectionResultRequest

Represents a request containing the seller, the ad selection data id and data.

PersistAdSelectionResultRequest.Builder

Builder for PersistAdSelectionResultRequest objects.

RemoveAdSelectionFromOutcomesOverrideRequest

This POJO represents the TestAdSelectionManager #removeAdSelectionFromOutcomesConfigRemoteInfoOverride( RemoveAdSelectionFromOutcomesOverrideRequest, Executor, OutcomeReceiver) request

RemoveAdSelectionOverrideRequest

This POJO represents the TestAdSelectionManager#removeAdSelectionConfigRemoteInfoOverride( RemoveAdSelectionOverrideRequest, Executor, OutcomeReceiver) request

ReportEventRequest

Request object wrapping the required arguments needed to report an ad event.

ReportEventRequest.Builder

Builder for ReportEventRequest objects.

ReportImpressionRequest

Represent input parameters to the reportImpression API.

SellerConfiguration

This object will be part of the GetAdSelectionDataRequest and will be constructed and used by the SDK to influence the size of the response of AdSelectionManager#getAdSelectionData(GetAdSelectionDataRequest, Executor, OutcomeReceiver)

SellerConfiguration.Builder

Builder for SellerConfiguration objects.

SellerConfiguration.InterfaceConsts

Provides interface constants for SellerConfiguration.

SetAppInstallAdvertisersRequest

Represents input parameters to the setAppInstallAdvertiser API.

SetAppInstallAdvertisersRequest.Builder

Builds a request containing app-install advertiser identifiers.

SignedContextualAds

Contains a list of buyer supplied AdWithBid bundle and its signature.

SignedContextualAds.Builder

Builder for SignedContextualAds object

SignedContextualAds.InterfaceConsts

Provides interface constants for SignedContextualAds.

TestAdSelectionManager

TestAdSelectionManager provides APIs for apps and ad SDKs to test ad selection processes.

UpdateAdCounterHistogramRequest

Request object wrapping the required arguments needed to update an ad counter histogram.

UpdateAdCounterHistogramRequest.Builder

Builder for UpdateAdCounterHistogramRequest objects.

Enums

Name Description
ReportingDestination

Identifies the destinations for an ad event report.

Remarks

AdSelectionManager takes an AdSelectionConfig for ad selection and a ReportImpressionRequest for impression reporting. The manager is marked obsolete from Android API level 37.