<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 15.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKANError-swift.struct/Code/mismatchedSourceAppId",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@E@SKANError@SKANErrorMismatchedSourceAppId"
  },
  "title" : "SKANError.Code.mismatchedSourceAppId"
}
-->

# SKANError.Code.mismatchedSourceAppId

The source app identifier in the ad impression doesn’t match the app identifier in the source app.

```
case mismatchedSourceAppId
```

## Discussion

Check that the [`sourceAppStoreItemIdentifier`](/documentation/StoreKit/SKAdImpression/sourceAppStoreItemIdentifier) you provide in the [`SKAdImpression`](/documentation/StoreKit/SKAdImpression) object matches the app identifier of the app displaying the ad.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)