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
public Uri getCoordinatorOriginUri ()
| Returns | |
|---|---|
Uri |
the coordinator origin Uri where the public keys for encryption are fetched from
See |
getSeller
public AdTechIdentifier getSeller ()
| Returns | |
|---|---|
AdTechIdentifier |
a AdTechIdentifier of the seller, for example "www.example-ssp.com".
This value may be null. |
getSellerConfiguration
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 |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-03-26 UTC.