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

Added in API level 35
Also in Ad Services Extensions 12
Deprecated in API level 37
 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.