# DynamicLink.ItunesConnectAnalyticsParameters.Builder

# DynamicLink.ItunesConnectAnalyticsParameters.Builder


```
class DynamicLink.ItunesConnectAnalyticsParameters.Builder
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Builder for iTunes Connect App Analytics parameters.

## Summary

| ### Public constructors |
|---|
| `[Builder](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#Builder())()` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |

| ### Public functions |
|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters` | `[build](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#build())()` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `[getAffiliateToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#getAffiliateToken())()` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `[getCampaignToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#getCampaignToken())()` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `[getProviderToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#getProviderToken())()` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder` | `[setAffiliateToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#setAffiliateToken(java.lang.String))(affiliateToken: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder` | `[setCampaignToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#setCampaignToken(java.lang.String))(campaignToken: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder` | `[setProviderToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#setProviderToken(java.lang.String))(providerToken: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |

## Public constructors

### Builder

```
[Builder](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#Builder())()
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Create iTunes Connect App Analytics parameter builder.

## Public functions

### build

```
fun [build](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#build())(): DynamicLink.ItunesConnectAnalyticsParameters
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Build ItunesConnectAnalyticsParameters for use with `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.Builder#setItunesConnectAnalyticsParameters(com.google.firebase.dynamiclinks.DynamicLink.ItunesConnectAnalyticsParameters)`.

### getAffiliateToken

```
fun [getAffiliateToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#getAffiliateToken())(): String
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Returns the affiliate token.

| Returns |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | the affiliate token. |

### getCampaignToken

```
fun [getCampaignToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#getCampaignToken())(): String
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Returns the campaign token.

| Returns |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | the campaign token. |

### getProviderToken

```
fun [getProviderToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#getProviderToken())(): String
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Returns the provider token.

| Returns |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | the provider token. |

### setAffiliateToken

```
fun [setAffiliateToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#setAffiliateToken(java.lang.String))(affiliateToken: String): DynamicLink.ItunesConnectAnalyticsParameters.Builder
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Sets the affiliate token.

| Parameters |
|---|---|
| `affiliateToken: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | The affiliate token used to create affiliate-coded links. |

### setCampaignToken

```
fun [setCampaignToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#setCampaignToken(java.lang.String))(campaignToken: String): DynamicLink.ItunesConnectAnalyticsParameters.Builder
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Sets the campaign token.

| Parameters |
|---|---|
| `campaignToken: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | The campaign token that developers can add to any link in order to track sales from a specific marketing campaign. |

### setProviderToken

```
fun [setProviderToken](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/DynamicLink.ItunesConnectAnalyticsParameters.Builder#setProviderToken(java.lang.String))(providerToken: String): DynamicLink.ItunesConnectAnalyticsParameters.Builder
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Sets the provider token.

| Parameters |
|---|---|
| `providerToken: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | The provider token that enables analytics for Dynamic Links from within iTunes Connect. |