---
title: campaignToken
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skoverlay/appconfiguration/campaigntoken
---

# campaignToken

A token you use to represent an ad campaign and measure its effectiveness.

## Declaration

```swift
var campaignToken: String? { get set }
```

## Discussion

Discussion A campaign token is a 40-byte string that represents an ad campaign. By setting the campaignToken, you can measure the effectiveness of an Apple Services Performance Partners Program link or an App Store Connect Analytics campaign. For more information, see Apple Services Performance Partners Program and App Store Connect.

## See Also

### Verifying Advertising Campaigns

- [providerToken](storekit/skoverlay/appconfiguration/providertoken.md)
- [setAdditionalValue(_:forKey:)](storekit/skoverlay/appconfiguration/setadditionalvalue(_:forkey:).md)
- [additionalValue(forKey:)](storekit/skoverlay/appconfiguration/additionalvalue(forkey:).md)
