<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 15.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKANError-swift.struct/Code/invalidVersion",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@E@SKANError@SKANErrorInvalidVersion"
  },
  "title" : "SKANError.Code.invalidVersion"
}
-->

# SKANError.Code.invalidVersion

The SKAdNetwork version number is invalid.

```
case invalidVersion
```

## Discussion

Ad networks provide an SKAdNetwork version number when preparing an ad impression, in [`SKStoreProductParameterAdNetworkVersion`](/documentation/StoreKit/SKStoreProductParameterAdNetworkVersion) or [`version`](/documentation/StoreKit/SKAdImpression/version). Check that the version number is valid and that you follow the version-specific instructions to generate a signature. For more information about versions, see [SKAdNetwork release notes](/documentation/StoreKit/skadnetwork-release-notes).

---

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)