AdServicesPermissions


public class AdServicesPermissions
extends Object

java.lang.Object
   ↳ android.adservices.common.AdServicesPermissions


Permissions used by the AdServices APIs.

Summary

Constants

String ACCESS_ADSERVICES_AD_ID

This constant was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

String ACCESS_ADSERVICES_AD_SELECTION

This constant was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

String ACCESS_ADSERVICES_ATTRIBUTION

This constant was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

String ACCESS_ADSERVICES_CUSTOM_AUDIENCE

This constant was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

String ACCESS_ADSERVICES_PROTECTED_SIGNALS

This constant was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

String ACCESS_ADSERVICES_TOPICS

This constant was deprecated in API level 37. The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

Inherited methods

Constants

ACCESS_ADSERVICES_AD_ID

Added in API level 34
Also in Ad Services Extensions 4
Deprecated in API level 37
public static final String ACCESS_ADSERVICES_AD_ID

This constant was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

This permission needs to be declared by the caller of Advertising ID APIs.

Constant Value: "android.permission.ACCESS_ADSERVICES_AD_ID"

ACCESS_ADSERVICES_AD_SELECTION

Added in API level 35
Also in Ad Services Extensions 12
Deprecated in API level 37
public static final String ACCESS_ADSERVICES_AD_SELECTION

This constant was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

This permission needs to be declared by the caller of Protected Signals APIs.

Constant Value: "android.permission.ACCESS_ADSERVICES_AD_SELECTION"

ACCESS_ADSERVICES_ATTRIBUTION

Added in API level 34
Also in Ad Services Extensions 4
Deprecated in API level 37
public static final String ACCESS_ADSERVICES_ATTRIBUTION

This constant was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

This permission needs to be declared by the caller of Attribution APIs.

Constant Value: "android.permission.ACCESS_ADSERVICES_ATTRIBUTION"

ACCESS_ADSERVICES_CUSTOM_AUDIENCE

Added in API level 34
Also in Ad Services Extensions 4
Deprecated in API level 37
public static final String ACCESS_ADSERVICES_CUSTOM_AUDIENCE

This constant was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

This permission needs to be declared by the caller of Custom Audiences APIs.

Constant Value: "android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE"

ACCESS_ADSERVICES_PROTECTED_SIGNALS

Added in API level 35
Also in Ad Services Extensions 12
Deprecated in API level 37
public static final String ACCESS_ADSERVICES_PROTECTED_SIGNALS

This constant was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

This permission needs to be declared by the caller of Protected Signals APIs.

Constant Value: "android.permission.ACCESS_ADSERVICES_PROTECTED_SIGNALS"

ACCESS_ADSERVICES_TOPICS

Added in API level 34
Also in Ad Services Extensions 4
Deprecated in API level 37
public static final String ACCESS_ADSERVICES_TOPICS

This constant was deprecated in API level 37.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, 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/

This permission needs to be declared by the caller of Topics APIs.

Constant Value: "android.permission.ACCESS_ADSERVICES_TOPICS"