---
title: "Apple Ads Attribution Without an MMP | Appy"
description: "How to read the AdServices token, call Apple’s attribution API with the right retries, and get campaign, ad group and keyword ids for every Apple Ads install."
source: "https://appy.to/blog/apple-ads-attribution-without-mmp"
---

[← Back to Blog](https://appy.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.

Appy•October 15, 2026•4 min read

Updated November 8, 2026

Summarize with[ChatGPT](https://chatgpt.com/?q=Summarize%20this%20page%20and%20list%20its%20key%20points%3A%20https%3A%2F%2Fappy.to%2Fblog%2Fapple-ads-attribution-without-mmp) [Claude](https://claude.ai/new?q=Summarize%20this%20page%20and%20list%20its%20key%20points%3A%20https%3A%2F%2Fappy.to%2Fblog%2Fapple-ads-attribution-without-mmp) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20this%20page%20and%20list%20its%20key%20points%3A%20https%3A%2F%2Fappy.to%2Fblog%2Fapple-ads-attribution-without-mmp)

Short answer

## How do I get Apple Ads attribution without an MMP?

Read the AdServices attribution token in your app on first launch and have your server POST it to api-adservices.apple.com. Apple answers with the campaign and keyword ids behind the install. It works since iOS 14.3, needs no IDFA and no tracking prompt, and the token is valid for 24 hours, so ask Apple right away.

Key takeaways

-   A 404 means the record isn’t ready or the token is over 24 hours old; retry every 5 seconds, three times.
-   Campaign id 1234567890 is Apple’s test record from developer mode, so filter it out.
-   Campaigns with age or gender targeting return attribution: false or withhold detailed campaign fields.

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.

24 h

token lifetime

30 days

tap-through window

24 h

view-through window

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

Apple returns

Meaning

Count it as

claimType: Click

Meaning: Tapped an ad

Count it as: Paid install

claimType: Impression

Meaning: Saw an ad, didn’t tap

Count it as: Paid, view-through

Redownload

Meaning: Had the app before

Count it as: Returning user

attribution: false

Meaning: No Apple Ads touch

Count it as: Organic

Taps win over views. Pre-orders are attributed too, with longer windows.

## When you get nothing back

Situation

What happens

Fix

Simulator

What happens: No token

Fix: Use a device

Developer mode

What happens: Test ids 1234567890

Fix: Filter them out

Token older than 24 h

What happens: 404 forever

Fix: Ask Apple right away

Age or gender targeting

What happens: Detailed payload withheld / attribution: false

Fix: Remove the targeting

Timeout under 1 s

What happens: Network errors

Fix: Allow a few seconds

When an Apple Ads campaign uses age or gender targeting (or when a user turns off Personalized Ads on their device), Apple withholds detailed campaign payload fields or returns attribution: false to protect user privacy.

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

-   [Decrypt the Meta Install ReferrerThe Android side, for Facebook and Instagram ads.](https://appy.to/blog/meta-install-referrer-decryption)
-   [Install postbacks and webhooksSend every install to a network or your server.](https://appy.to/blog/app-install-postbacks-webhooks)
-   [Ad networks in the docsEvery field, for developers.](https://appy.to/docs/ad-networks)

## 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](https://appy.to/blog/install-attribution-sdk)

Guide

Oct 21, 2026

8 min read

### How to Measure App Installs Without Fingerprinting

Apple doesn’t allow fingerprinting even when users agree to tracking, and EU regulators treat IP-based tracking as access to the device. What still measures installs with proof on iPhone and Android, and a plan that never has to guess.

attribution

fingerprinting

privacy

install attribution

[Read article](https://appy.to/blog/measure-app-installs-without-fingerprinting)

Guide

Aug 14, 2026

11 min read

### Deferred Deep Linking Without an SDK: How It Works

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](https://appy.to/blog/deferred-deep-linking-without-sdk)

Looking for something else? Browse all topics on [the blog](https://appy.to/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. Every Appy link already puts its name in the Google Play referrer, on the Free plan too.

[Talk to sales](mailto:sales@appy.to?subject=Appy%20Enterprise%20ad%20networks) [Start free](https://appy.to/account/register)
