# AdServicesPermissions

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 4](https://developer.android.com/sdkExtensions)

# AdServicesPermissions

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/adservices/common/AdServicesPermissions "View this page in Java")  

```
open class AdServicesPermissions
```

|---|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                     ||
| ↳ | [android.adservices.common.AdServicesPermissions](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#) |

Permissions used by the AdServices APIs.

## Summary

|                                                                                                                                                                           Constants                                                                                                                                                                           ||
|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCESS_ADSERVICES_AD_ID](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#ACCESS_ADSERVICES_AD_ID:kotlin.String) This permission needs to be declared by the caller of Advertising ID APIs.                            |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCESS_ADSERVICES_AD_SELECTION](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#ACCESS_ADSERVICES_AD_SELECTION:kotlin.String) This permission needs to be declared by the caller of Protected Signals APIs.           |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCESS_ADSERVICES_ATTRIBUTION](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#ACCESS_ADSERVICES_ATTRIBUTION:kotlin.String) This permission needs to be declared by the caller of Attribution APIs.                   |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCESS_ADSERVICES_CUSTOM_AUDIENCE](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#ACCESS_ADSERVICES_CUSTOM_AUDIENCE:kotlin.String) This permission needs to be declared by the caller of Custom Audiences APIs.      |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCESS_ADSERVICES_PROTECTED_SIGNALS](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#ACCESS_ADSERVICES_PROTECTED_SIGNALS:kotlin.String) This permission needs to be declared by the caller of Protected Signals APIs. |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCESS_ADSERVICES_TOPICS](https://developer.android.com/reference/kotlin/android/adservices/common/AdServicesPermissions#ACCESS_ADSERVICES_TOPICS:kotlin.String) This permission needs to be declared by the caller of Topics APIs.                                  |

## Constants

### ACCESS_ADSERVICES_AD_ID

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 4](https://developer.android.com/sdkExtensions)  

```
static val ACCESS_ADSERVICES_AD_ID: String
```

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

    Value: "android.permission.ACCESS_ADSERVICES_AD_ID"

### ACCESS_ADSERVICES_AD_SELECTION

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 12](https://developer.android.com/sdkExtensions)  

```
static val ACCESS_ADSERVICES_AD_SELECTION: String
```

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

    Value: "android.permission.ACCESS_ADSERVICES_AD_SELECTION"

### ACCESS_ADSERVICES_ATTRIBUTION

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 4](https://developer.android.com/sdkExtensions)  

```
static val ACCESS_ADSERVICES_ATTRIBUTION: String
```

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

    Value: "android.permission.ACCESS_ADSERVICES_ATTRIBUTION"

### ACCESS_ADSERVICES_CUSTOM_AUDIENCE

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 4](https://developer.android.com/sdkExtensions)  

```
static val ACCESS_ADSERVICES_CUSTOM_AUDIENCE: String
```

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

    Value: "android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE"

### ACCESS_ADSERVICES_PROTECTED_SIGNALS

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 12](https://developer.android.com/sdkExtensions)  

```
static val ACCESS_ADSERVICES_PROTECTED_SIGNALS: String
```

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

    Value: "android.permission.ACCESS_ADSERVICES_PROTECTED_SIGNALS"

### ACCESS_ADSERVICES_TOPICS

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[Ad Services Extensions 4](https://developer.android.com/sdkExtensions)  

```
static val ACCESS_ADSERVICES_TOPICS: String
```

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

    Value: "android.permission.ACCESS_ADSERVICES_TOPICS"