---
title: "init(productIDs:marketingContent:)"
framework: storekit
role: symbol
role_heading: Initializer
path: "storekit/subscriptionstoreview/init(productids:marketingcontent:)"
---

# init(productIDs:marketingContent:)

Creates a view that loads a collection of subscriptions from the App Store, and merchandises them with custom marketing content.

## Declaration

```swift
nonisolated init(productIDs: some Collection<String>, @ViewBuilder marketingContent: () -> Content)
```

## Parameters

- `productIDs`: The product identifiers to load from the App Store.
- `marketingContent`: The view that contains marketing content to display above the store controls.

## See Also

### Creating subscription store views with custom marketing content

- [init(groupID:visibleRelationships:marketingContent:)](storekit/subscriptionstoreview/init(groupid:visiblerelationships:marketingcontent:).md)
- [init(subscriptions:marketingContent:)](storekit/subscriptionstoreview/init(subscriptions:marketingcontent:).md)
