Combining parameters to generate a signature for SKAdNetwork 1
Generate signatures for apps compiled with earlier SDKs.
Overview
Generate a signature using the parameters for version 1.0 if you compile your app with an iOS SDK version from 11.3 through 13.7.
To generate the signature, first combine the values of Ad network install-validation keys for the version 1.0.
The parameters required for a version 1.0 signature are:
- SKStoreProductParameterAdNetworkIdentifier
Your ad network identifier that you registered with Apple. Shown as
ad-network-idin Combine the parameters for version 1.0.- SKStoreProductParameterAdNetworkCampaignIdentifier
A campaign number you provide. Shown as
campaign-idin Combine the parameters for version 1.0.- SKStoreProductParameterITunesItemIdentifier
The App Store ID of the product to advertise. Shown as
itunes-item-idin Combine the parameters for version 1.0.- SKStoreProductParameterAdNetworkNonce
A unique
UUIDvalue that you provide for each ad impression. You must lowercase the string representation of the nonce in the signature. Shown asnoncein Combine the parameters for version 1.0.- SKStoreProductParameterAdNetworkTimestamp
A timestamp you generate near the time of the ad impression. Shown as
timestampin Combine the parameters for version 1.0.
Combine the parameters for version 1.0
Create the UTF-8 string for version 1.0 if you compile your app with an SDK prior to iOS 14.
Combine the values into a UTF-8 string with an invisible separator (‘\u2063’) between them, in the exact order shown:
ad-network-id + '\u2063' + campaign-id + '\u2063' + itunes-item-id + '\u2063' + nonce + '\u2063' + timestamp
Next, follow the instructions to sign the combined string, encode the signature, and use the generated signature string as described in Generating the signature to validate StoreKit-rendered ads.