SetAppInstallAdvertisersRequest
public class SetAppInstallAdvertisersRequest
extends Object
| java.lang.Object | |
| ↳ | android.adservices.adselection.SetAppInstallAdvertisersRequest |
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 input parameters to the setAppInstallAdvertiser API.
Summary
Nested classes | |
|---|---|
class | SetAppInstallAdvertisersRequest.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 | |
|---|---|
Set<AdTechIdentifier> | getAdvertisers() Returns the set of advertisers that will be able to run app install filters based on this app's presence on the device after a call to SetAppInstallAdvertisers is made with this as input. |
Inherited methods | |
|---|---|
Public methods
getAdvertisers
public Set<AdTechIdentifier> getAdvertisers ()
Returns the set of advertisers that will be able to run app install filters based on this app's presence on the device after a call to SetAppInstallAdvertisers is made with this as input.
| Returns | |
|---|---|
Set<AdTechIdentifier> | This value cannot be null. |
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.