SKAdNetwork
What this enables
The Teads SDK can request iOS install attribution for the app-install ads it shows, using Apple's SKAdNetwork framework. This lets you and Apple measure whether a tap on an ad led to an app install, without any user-level tracking identifier.
The SDK uses SKAdNetwork on every supported iOS version, including iOS 17.4 and later. Apple's newer AdAttributionKit framework is not used yet.
Required integration step — Info.plist
Add Teads' ad network ID to your app's Info.plist, under both keys. SKAdNetwork reads
SKAdNetworkItems; AdNetworkIdentifiers is the AdAttributionKit key, which prepares your app for
a future SDK release that uses AdAttributionKit.
<key>AdNetworkIdentifiers</key>
<array>
<string>v55ueg98f8.adattributionkit</string>
<!-- your other ad networks' entries -->
</array>
<key>SKAdNetworkItems</key>
<array>
<dict>
<key>SKAdNetworkIdentifier</key>
<string>v55ueg98f8.adattributionkit</string>
</dict>
<!-- your other ad networks' entries -->
</array>
Apple discards every attribution call the SDK makes if the identifier is absent. No error is surfaced back to your app. Copy the value exactly, in lowercase: Apple does not recognize an ID with different casing. These entries merge cleanly with the ones you already have for other ad networks.
SKAdNetworkItems is required whatever your app's minimum deployment target: without it, no
install is attributed, even on iOS 17.4 and later.
Once per app version, Teads.configure checks your Info.plist for the ID and writes the result
to the SDK log (SKAN plist compliance: ...). The result is not sent anywhere.
Additional Teads-owned IDs may be added in a future release; check this page or the release notes when that happens.
Behavior change — SDK-presented store UI
Before: for an app-install ad, the SDK handed the click URL to your app, or opened it in a browser.
Now: when the store UI is enabled for your placement and the ad carries attribution data, the SDK presents Apple's own store UI instead of opening the URL:
| Surface | When it appears | Store UI |
|---|---|---|
| Feed, Explore More | As soon as the app-install recommendation is shown | SKOverlay (a small bottom banner), or a full-screen product sheet if the creative asks for one |
| Banner | When the user taps the app-install ad | SKOverlay, or a full-screen product sheet if the creative asks for one |
| Interstitial | When the user taps the app-install ad | Full-screen StoreKit product sheet |
| Recommendations API | When you route the tap through handleClick(_:) | SKOverlay |
Fallback: if the ad carries no attribution data, or Apple declines the request, the SDK falls back to the previous URL-open behavior. A product sheet that fails to load after it has been presented is the exception: the click is already reported as handled, so an empty sheet stays on screen until the user dismisses it.
When a fallback opens an app-install link in the in-app browser, the browser closes itself once the App Store takes over, so the user doesn't come back to a blank page.
Enabling the store UI
For Feed, Banner, Interstitial and Explore More, the store UI is controlled by a setting delivered
server-side in each widget's configuration (storeOverlayEnabled). It is off unless that setting
is sent and set to true for your placement. There is no client-side flag to turn it on or off
from your app; to enable it, contact your Teads account manager.
For the Recommendations API, storeOverlayEnabled does not apply. The store UI only appears if you
route clicks through handleClick(_:) — see
Route recommendation clicks through the SDK below.
If you keep opening the URL yourself, this feature is a no-op for your Recommendations integration.
Your responsibilities
Dismiss the overlay when the screen goes away
The SKOverlay is scene-level: it can outlive the screen that triggered it.
- Feed and Banner dismiss it themselves when the placement view leaves the view hierarchy or is released.
- Recommendations API: the SDK doesn't own your views, so call
Teads.dismissStoreOverlay()when the screen showing the recommendations disappears.
Calling it on other screens is harmless.
// SwiftUI - apply at the screen root, not on an individual row.
// Inside a List, rows are recycled on scroll and would dismiss the overlay too early.
struct ArticleScreen: View {
var body: some View {
List {
// ... your content, including the Teads placement
}
.onDisappear {
Teads.dismissStoreOverlay()
}
}
}
// UIKit
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
Teads.dismissStoreOverlay()
}
// Objective-C
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[Teads dismissStoreOverlay];
}
Teads.dismissStoreOverlay() dismisses whichever store UI is currently live — the SKOverlay or
the full-screen product sheet — so you don't need to know which one is showing.
Route recommendation clicks through the SDK
This step applies only to the Recommendations API, where your app renders the recommendation
rows and therefore owns the tap. The SDK never sees it, so an app-install recommendation can only
be attributed if you hand the click back. Call handleClick(_:) in place of the
getUrl(_:) click flow, for every recommendation:
func didTap(_ recommendation: OBRecommendation) {
placement.handleClick(recommendation)
}
- (void)didTapRecommendation:(OBRecommendation *)recommendation {
[self.placement handleClick:recommendation];
}
handleClick(_:) presents the store UI for app-install recommendations. Otherwise it opens the
recommendation the same way getUrl(_:) would: a paid recommendation opens its click URL
externally, and an organic one reports the click and opens the article in-app. It does nothing if
the recommendation has no URL. If you keep using getUrl(_:), nothing breaks; app-install clicks
are simply not attributed.
Feed, Banner and Interstitial placements render inside SDK-owned views and need no click code from you.
Observing the outcome
On Feed, Banner and Interstitial, a .clicked event carries isStoreOverlay: true in its payload
when the click was handled by the store UI rather than by opening the URL:
case .clicked:
let handledByStoreOverlay = data?["isStoreOverlay"] as? Bool ?? false
BOOL handledByStoreOverlay = [data[@"isStoreOverlay"] boolValue];
The tap happened either way, but no browser was opened and Apple owns the attribution — so these clicks will not reconcile against browser-based click reporting. See Placement Events Listener for the full event reference.
The Recommendations API emits no event for handleClick(_:); your app already knows about the tap.
iOS-version behavior matrix
| iOS range | Click-through | View-through | What you should see |
|---|---|---|---|
| 14.0–14.4.x | Attributed, SKAdNetwork 2.0/3.0 | Not available | Store UI as described above; no view-through signal on this OS range |
| 14.5–16.0.x | Attributed, SKAdNetwork 2.0/3.0 | Attributed | Store UI as described above |
| 16.1+ | Attributed, SKAdNetwork 4.0 (sourceIdentifier) | Attributed, SKAdNetwork 4.0 | Same UI, more precise attribution data |
View-through is reported on Feed, Banner, Interstitial and Recommendations placements while the app-install ad is visible.
No view-through attribution mechanism exists below iOS 14.5. That tier fails open by design, not by bug.
Troubleshooting
If the store UI never appears where you expect it, check in this order:
Info.plistentry missing or misspelled — verifyv55ueg98f8.adattributionkitis present, in lowercase, underAdNetworkIdentifiersandSKAdNetworkItems. The SDK log lineSKAN plist complianceshows the result of the SDK's own check. When your minimum deployment target is iOS 17.4 or later, that check passes withAdNetworkIdentifiersalone, but attribution still needsSKAdNetworkItems.- Store UI not enabled —
storeOverlayEnabledis off unless it is sent for your placement; confirm with your Teads account manager that it is enabled. - The ad is not an app-install ad — this feature only applies to app-install creatives, not standard display or video ads.
- Recommendations only: clicks are not routed through the SDK — confirm you call
placement.handleClick(_:)rather than opening the URL yourself. - No attribution data in the response — some ads legitimately have none; the SDK falls back to the previous URL-open behavior in that case, which is expected.
- Simulator — the StoreKit product sheet can't load on the Simulator, so the SDK falls back to opening the URL. Test on a device.
- OS version — see the matrix above.
Privacy
SKAdNetwork is an entirely Apple-mediated attribution mechanism. The SDK does not collect or transmit any new user-level identifier as part of this feature. See the Privacy & Compliance Guide for the wider privacy picture.
Related documentation
- Privacy & Compliance Guide — consent, IDFA and ATT
- App Tracking Transparency — ATT prompt handling
- Placement Events Listener — the
.clickedevent payload