Product Dictionary Keys

Keys for identifying products and the tokens for affiliates and campaigns.

Overview

These dictionary keys are used in the parameter for the loadProductWithParameters:completionBlock: method.

The SKStoreProductParameterITunesItemIdentifier key represents the product to display, and is always required. Other keys provide optional affiliate or promoted product information.

Learn more about the Affiliate Program at https://apple.com/itunes/affiliates.

Topics

Required Key

SKStoreProductParameterITunesItemIdentifier

The key representing the iTunes identifier for the item you want the store to display when the view controller is presented.

Affiliate and Analytics Keys

SKStoreProductParameterProductIdentifier

The key representing the product identifier for the promoted product you want the store to display at the top of the page.

SKStoreProductParameterAdvertisingPartnerToken

The key representing the advertising partner you wish to use for any purchase made through the view controller.

SKStoreProductParameterAffiliateToken

The key representing the affiliate identifier you wish to use for any purchase made through the view controller.

SKStoreProductParameterCampaignToken

The key representing an App Analytics campaign.

SKStoreProductParameterProviderToken

The key representing the provider token for the developer that created the app specified by the SKStoreProductParameterITunesItemIdentifier key.

See Also

Loading a New Product Screen

Offering Media for Sale in Your App

Allow users to purchase media in the App Store from within your app.

- loadProductWithParameters:completionBlock:

Loads a new product screen to display.