<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKAdImpression/adCampaignIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKAdImpression(py)adCampaignIdentifier"
  },
  "title" : "adCampaignIdentifier"
}
-->

# adCampaignIdentifier

A number that represents the advertising network’s campaign.

```
var adCampaignIdentifier: NSNumber { get set }
```

## Discussion

Ad networks set their own campaign identifiers, which must be an integer `>=1` and `<=100.`

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)