According to the documentation, we can provide both View-Through Ad and StoreKit-Rendered Ad in the same app. However, I am wondering if we can do that in the same ad ?You can provide ads using either or both ad presentation options in the same app.
On the ad network's server,
Generating the Signature to Validate View-Through Ads. (View-Through Ad)
Generating the Signature to Validate StoreKit-Rendered Ads. (StoreKit-Rendered Ad)
Present the ad
Create an SKAdImpression instance and set its properties to represent the ad impression. (View-Through Ad)
Call startImpression(_:completionHandler:) (View-Through Ad)
ad click
Call endImpression(_:completionHandler:) (View-Through Ad)
Set Ad Network Install Validation Keys with values that represent the ad impression. (StoreKit-Rendered Ad)
Call loadProduct(withParameters:completionBlock:) (StoreKit-Rendered Ad)
Present SKStoreProductViewController
However, if we had reach step 9 (user watch the ad more than 3 seconds and click it)
Would both StoreKit-Rendered and View-Through attribution stored as ad impression and eventually postback to ad server if the user installs the app.
Is this prohibited by apple