<!--
{
  "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/mismatchedSourceAppId",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:SC9SKANErrorLeV21mismatchedSourceAppIdSoAAVvpZ"
  },
  "title" : "mismatchedSourceAppId"
}
-->

# mismatchedSourceAppId

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

```
static var mismatchedSourceAppId: SKANError.Code { get }
```

## 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)