GetAdSelectionDataRequest


public final class GetAdSelectionDataRequest
extends Object

java.lang.Object
   ↳ android.adservices.adselection.GetAdSelectionDataRequest


This class was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.adselection, are being deprecated. Relevance APIs have no direct replacement. Developers should stop using them, as calls will be rejected in future Android releases. Please refer to official Privacy Sandbox documentation for deprecation and roadmap details: https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/

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

Instances of this class are created by SDKs to be provided as arguments to the AdSelectionManager.getAdSelectionData methods in AdSelectionManager.

Summary

Nested classes

class GetAdSelectionDataRequest.Builder

This class was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.adselection, are being deprecated. Relevance APIs have no direct replacement. Developers should stop using them, as calls will be rejected in future Android releases. Please refer to official Privacy Sandbox documentation for deprecation and roadmap details: https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/ 

Public methods

Uri getCoordinatorOriginUri()
AdTechIdentifier getSeller()
SellerConfiguration getSellerConfiguration()

Returns the seller ad tech's requested payload configuration, set by the calling SDK, to optimize the payload.

Inherited methods

Public methods

getCoordinatorOriginUri

Added in API level 35
Also in Ad Services Extensions 12
Deprecated in API level 37
public Uri getCoordinatorOriginUri ()

Returns
Uri the coordinator origin Uri where the public keys for encryption are fetched from

See Builder.setCoordinatorOriginUri(Uri) for more details on the coordinator origin.
This value may be null.

getSeller

Added in API level 35
Also in Ad Services Extensions 10
Deprecated in API level 37
public AdTechIdentifier getSeller ()

Returns
AdTechIdentifier a AdTechIdentifier of the seller, for example "www.example-ssp.com".
This value may be null.

getSellerConfiguration

Added in API level 36
Also in Ad Services Extensions 14
Deprecated in API level 37
public SellerConfiguration getSellerConfiguration ()

Returns the seller ad tech's requested payload configuration, set by the calling SDK, to optimize the payload.

If this is null, the service will send all data available.

Returns
SellerConfiguration