<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKStoreProductParameterAdNetworkVersion",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@SKStoreProductParameterAdNetworkVersion"
  },
  "title" : "SKStoreProductParameterAdNetworkVersion"
}
-->

# SKStoreProductParameterAdNetworkVersion

The key that represents the version of the ad network API.

```
let SKStoreProductParameterAdNetworkVersion: String
```

## Discussion

The value for this key is an <doc://com.apple.documentation/documentation/Foundation/NSString>. Set this key to version number “`4.0`”, “`3.0`”, “`2.2"`, `“2.1"`, or `"2.0"`. Use the highest available version whenever possible. For version availability, see [SKAdNetwork release notes](/documentation/StoreKit/skadnetwork-release-notes).

Ad networks use this key and the other [Ad network install-validation keys](/documentation/StoreKit/ad-network-install-validation-keys) when signing ads. For more information, see [Generating the signature to validate StoreKit-rendered ads](/documentation/StoreKit/generating-the-signature-to-validate-storekit-rendered-ads).

---

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)