<!--
{
  "documentType" : "article",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/ad-network-install-validation-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Ad network install-validation keys"
}
-->

# Ad network install-validation keys

Specify key values that validate and associate an app installation with an ad campaign.

## Discussion

Ad networks use these keys when calling the product view controller’s [`loadProduct(withParameters:completionBlock:)`](/documentation/StoreKit/SKStoreProductViewController/loadProduct(withParameters:completionBlock:)) method. These keys describe an ad impression in an advertising campaign. The information they contain associates an app installation with an ad campaign. The [`SKStoreProductParameterITunesItemIdentifier`](/documentation/StoreKit/SKStoreProductParameterITunesItemIdentifier) key identifies the advertised app.

Include all the required validation keys in the parameter dictionary for the SKAdNetwork version you’re using.

You also use the values of these keys to generate a signature for the ad impression. For more information, see [Generating the signature to validate StoreKit-rendered ads](/documentation/StoreKit/generating-the-signature-to-validate-storekit-rendered-ads).

## Topics

### Required keys for SKAdNetwork 4 and later

[`SKStoreProductParameterAdNetworkSourceIdentifier`](/documentation/StoreKit/SKStoreProductParameterAdNetworkSourceIdentifier)

A four-digit integer that ad networks define to represent the ad campaign.

### Required keys for SKAdNetwork 2 and later

[`SKStoreProductParameterAdNetworkVersion`](/documentation/StoreKit/SKStoreProductParameterAdNetworkVersion)

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

[`SKStoreProductParameterAdNetworkSourceAppStoreIdentifier`](/documentation/StoreKit/SKStoreProductParameterAdNetworkSourceAppStoreIdentifier)

The key that represents the App Store ID of the app that displays the ad.

### Required keys

[`SKStoreProductParameterAdNetworkIdentifier`](/documentation/StoreKit/SKStoreProductParameterAdNetworkIdentifier)

The key that represents the advertising network’s unique identifier.

[`SKStoreProductParameterAdNetworkCampaignIdentifier`](/documentation/StoreKit/SKStoreProductParameterAdNetworkCampaignIdentifier)

The key that represents the advertising network’s campaign.

[`SKStoreProductParameterAdNetworkTimestamp`](/documentation/StoreKit/SKStoreProductParameterAdNetworkTimestamp)

The key that represents the UNIX time, in milliseconds, of the ad impression.

[`SKStoreProductParameterAdNetworkNonce`](/documentation/StoreKit/SKStoreProductParameterAdNetworkNonce)

The key that represents a random value to use for added security.

[`SKStoreProductParameterAdNetworkAttributionSignature`](/documentation/StoreKit/SKStoreProductParameterAdNetworkAttributionSignature)

The key that represents the advertising network’s cryptographic signature to use for install validation.



---

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)