SKAdNetwork to AdAttributionKit migration guide
Key takeaways
- You don't have to switch off SKAdNetwork. Run both frameworks side by side, then shift to AdAttributionKit as your partners support it.
- Advertised apps call AdAttributionKit's
updateConversionValuealongside SKAN'supdatePostbackConversionValue, and can reuse the same 0–63 conversion value schema. - Ad networks reuse their SKAdNetwork ID, add an AAK postback endpoint, and must verify ES256 JWS signatures.
- Developers who want postback copies add
AttributionCopyEndpoint(plus the re-engagement opt-in) to Info.plist.
Apple’s SKAdNetwork documentation now points developers to AdAttributionKit for app ad campaigns, and at WWDC25 Apple said that if you’re using SKAdNetwork, “now is a great time to migrate over.” The good news: migration is incremental. The two frameworks interoperate, so you can run both during the transition.
Migration checklist by role
Advertisers (advertised apps)
- Call both update APIs. Keep calling SKAdNetwork’s
updatePostbackConversionValue(_:coarseValue:lockWindow:), and add AdAttributionKit’sPostback.updateConversionValue(_:). With no pending postback, the system ignores the call. - Reuse your schema. The fine values (0–63), coarse values and the three windows (days 0–2, 3–7, 8–35) are identical, so your existing conversion value mapping carries over.
- Decide how to measure re-engagement. If you run retargeting, use
PostbackUpdate(conversionTypes: [.reengagement])to give re-engagements their own values. See re-engagement. - Opt in to postback copies. Add
AttributionCopyEndpoint(shown in Xcode as “AdAttributionKit - Postback Copy URL”) with your domain. Apple posts to/.well-known/appattribution/report-attribution/. For re-engagement copies, also set “AdAttributionKit - Opt in for Reengagement Postback Copies” toYES. Keep your SKANNSAdvertisingAttributionReportEndpointtoo. - Optionally tune attribution rules with
AdAttributionKitConfigurations: attribution windows and cooldowns per ad network.
import AdAttributionKit
// On first launch, and whenever the user hits a milestone
let update = PostbackUpdate(fineConversionValue: 20,
lockPostback: false,
conversionTypes: [.install])
try await Postback.updateConversionValue(update)
Publishers (apps that show ads)
- Keep your
SKAdNetworkItemslist, and add the same ad network IDs, in lowercase, to theAdNetworkIdentifiersarray that AdAttributionKit reads. - Update ad SDKs to versions that render AdAttributionKit impressions (
AppImpression). If you show custom-rendered ads, check that your SDK supports passing a re-engagement URL.
Ad networks
- Reuse your registration. Your SKAdNetwork ad network ID works with AdAttributionKit.
- Sign AAK impressions as JWS, using your P-256 key.
- Add a postback endpoint for AAK and parse the new payload:
advertised-item-identifier,publisher-item-identifier,conversion-type,marketplace-identifier,country-code. - Verify every postback with Apple’s public key:
kidapple-cas-identifier/0in production. Count eachpostback-identifieronce. - Deduplicate across frameworks. A conversion is won by either an AAK or a SKAN impression, never both, but your reporting must merge the two streams.
MMPs and analytics
- Merge AAK and SKAN postbacks into one reporting model, keyed by window (
postback-sequence-index) and conversion type. - Report re-engagement separately from installs.
- Use
marketplace-identifierto split App Store from alternative-marketplace installs.
Test before you ship
Enable Developer Mode on a test device (iOS 18+), turn on AdAttributionKit Developer Mode under Settings → Developer → Ad Attribution Testing, and create development impressions by using publisher item identifier 0. Conversion windows shrink to 3 minutes each. Full steps are in how to test SKAdNetwork and AdAttributionKit.
Common pitfalls
- Uppercase ad network IDs. The system ignores IDs that aren’t lowercase.
- Never updating the conversion value. No update means no postback window starts.
- Expecting runner-up postbacks for re-engagement. There aren’t any.
- Counting unverified postbacks. Always check the JWS signature and dedupe on
postback-identifier.
Frequently asked questions
Do I need to remove SKAdNetwork to use AdAttributionKit?
No. Apple designed the frameworks to interoperate. If your stack integrates both, call both conversion value APIs. Impressions from both frameworks compete for a single winning attribution.
Can I reuse my SKAdNetwork conversion value schema in AdAttributionKit?
Yes. AdAttributionKit uses the same 64 fine values (0–63), the same low/medium/high coarse values and the same three conversion windows, so an existing SKAN 4 schema maps directly.
Do ad networks need to re-register for AdAttributionKit?
No. The ad network ID received during SKAdNetwork registration works with AdAttributionKit, and .skadnetwork and .adattributionkit IDs are compatible across both frameworks.