Appy
← Back to Blog
Guide

Apple Ads Attribution Without an MMP

Apple tells you which campaign and keyword brought an install. One token from the app, one call from your server, no IDFA and no tracking prompt.

October 15, 2026•4 min read

Apple Ads is the one ad network that answers you directly. Since iOS 14.3 the AdServices framework gives your app a token, and Apple’s attribution API turns it into the campaign behind the install. No contract, no partner program, and it works for users who declined tracking.

token lifetime
24 h

token lifetime

tap-through window
30 days

tap-through window

view-through window
24 h

view-through window

retries after a 404
3 × 5 s

retries after a 404

How it works

The app reads the token on first launch and hands it to your server. Your server asks Apple.

Your server

api-adservices.apple.com

  1. 01Seconds after first launch
    POST /api/v1/
    Content-Type: text/plain
    
    G9i5hC8lQJeGOfmS+MFycll…

    One token per request, as plain text.

  2. 02Too early
    404 Not Found

    The record isn’t ready yet. Retry every 5 seconds, up to three times.

  3. 03The attribution record
    200 OK
    {
      "attribution": true,
      "campaignId": 542370539,
      "keywordId": 87675432,
      "claimType": "Click"
    }

    Ids only. Names come from your Apple Ads reports.

After 24 hours the token is dead and Apple answers 404 for good.

The code

Swift, iOS 14.3+

import AdServices

let token = try? AAAttribution.attributionToken()

Your server

curl -X POST https://api-adservices.apple.com/api/v1/ \
  -H "Content-Type: text/plain" \
  --data-raw "$ATTRIBUTION_TOKEN"
Simulators have no AdServices. Test on a real device.

Reading the record

claimType: Click
MeaningTapped an ad
Count it asPaid install
claimType: Impression
MeaningSaw an ad, didn’t tap
Count it asPaid, view-through
Redownload
MeaningHad the app before
Count it asReturning user
attribution: false
MeaningNo Apple Ads touch
Count it asOrganic
Taps win over views. Pre-orders are attributed too, with longer windows.

When you get nothing back

Simulator
What happensNo token
FixUse a device
Developer mode
What happensTest ids 1234567890
FixFilter them out
Token older than 24 h
What happens404 forever
FixAsk Apple right away
Age or gender targeting
What happensattribution: false
FixRemove the targeting
Timeout under 1 s
What happensNetwork errors
FixAllow a few seconds
Age and gender targeting has returned false since September 2026.

With Appy, it’s built in

On the Enterprise plan the Appy SDK does all of this for you, and puts Apple Ads in the same report as your links.

First launch

iOS, Appy SDK

  • Tapped your Appy linkCredited to the link
  • Apple Ads tap or viewCampaign, ad group, keyword
  • Developer modeTest record ignored
  • NeitherOrganic
Nothing to set up. A tap on your own link always wins over an ad.

Read next

Questions

Do I need the ATT prompt?

No. The token isn’t an advertising identifier.

Why does Apple answer 404?

The record isn’t ready yet, or the token is older than 24 hours. Retry every 5 seconds, three times.

Why is my campaign id 1234567890?

That is Apple’s test record from developer mode. Ignore it.

Do I need an MMP?

No. Any app can call Apple’s API from its own server.

Continue exploring

Product
Oct 1, 2026
8 min read

Know Which Link Brought Every Install: Appy’s iOS and Android SDK

Appy now follows your links past the app store: installs, in-app events and revenue for every link, QR code and campaign, and new users who open on the right screen.

install attribution
deferred deep linking
install referrer
mobile attribution
Read article
Guide
Aug 14, 2026
11 min read

Deferred Deep Linking Without an SDK: How It Actually Works Under the Hood

You can carry link intent across an app install without embedding an attribution SDK. What actually survives the store boundary on Android and iOS, what breaks, and what each workaround costs in privacy.

deferred deep linking
install referrer
ios
android
Read article
Guide
Oct 15, 2026
4 min read

How to Decrypt the Meta Install Referrer on Android

Facebook and Instagram can tell your app which campaign, ad set and ad brought an install, views included. How to read it and decrypt it.

meta install referrer
facebook ads
instagram ads
android
Read article

Looking for something else? Browse all topics on the blog.

See Apple Ads next to every other channel

The Appy SDK on the Enterprise plan reads the token, asks Apple and reports Apple Ads with your links and QR codes.