About SKAdImpression

When multiple advertisements are displayed on a single screen SKAdNetwork.startImpression and SKAdNetwork.endImpression should be executed at?

If I startImpression for the first ad and immediately execute endImpression, an error will occur. (There are times when it succeeds.)

SKAdNetwork.startImpression(skanImp) { error in if error ! = nil { print("startImpression error") } else { print("startImpression success") SKAdNetwork.endImpression(skanImp) { _ in } } }

Error

"SKAdNetwork: Start and end called too quickly. Cannot finalize"

Is SKAdImpression not designed to display multiple ads on one screen? Please let me know how to solve this.

Thank you very much.

StoreKit only records the impression if the ad was displayed a minimum of 3 seconds. If the app displayed the ad for fewer than 3 seconds, StoreKit doesn’t record the ad impression for attribution.

And multiple ads are not supported currently so each view through impression will need to be started and ended asynchronously, see the "Important" note in the discussion section of https://developer.apple.com/documentation/storekit/skadnetwork/3727304-startimpression

To App Store Connect Engineer

Thank you for your reply. Am I correct in understanding that if the ViewIn and ViewOut are within 3 seconds of each other, the following error will be printed, but if less than 3 seconds have passed, the Impression will not be generated? "SKAdNetwork: Start and end called too quickly. Cannot finalize".

About SKAdImpression
 
 
Q