You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-3.0/adjust.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,9 @@ The integration between Adapty and Adjust works in two main ways.
33
33
2.**Adapty sends subscription events to Adjust**
34
34
Adapty can send all subscription events which are configured in your integration to Adjust. As a result, you'll be able to track these events within the Adjust dashboard. This integration is beneficial for evaluating the effectiveness of your advertising campaigns.
35
35
36
-
## Initial Setup
36
+
## Web configuration
37
+
38
+
### Connect Adapty to Adjust
37
39
38
40
1. Open the Adapty Dashboard, and navigate to [Integrations > Adjust](https://app.adapty.io/integrations/adjust).
39
41
@@ -83,7 +85,7 @@ The integration between Adapty and Adjust works in two main ways.
83
85
/>
84
86
</Zoom>
85
87
86
-
##Events and tags
88
+
### Set up events and tags
87
89
88
90
Adjust works a bit differently from other platforms. You need to manually create events in Adjust dashboard, get event tokens, and copy-paste them to appropriate events in Adapty.
89
91
@@ -125,7 +127,7 @@ Consider the following:
125
127
126
128
:::
127
129
128
-
## Attribution Integration
130
+
## SDK configuration
129
131
130
132
After you complete the steps described above, add the following two methods to your app. They will establish communication between your app and Adjust:
Copy file name to clipboardExpand all lines: versioned_docs/version-3.0/airbridge.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@ The integration between Adapty and Airbridge operates in two main ways.
20
20
2.**Sending subscription events to Airbridge**
21
21
Adapty can send all subscription events which are configured in your integration to Airbridge. As a result, you'll be able to track these events within the Airbridge dashboard. This integration is beneficial for evaluating the effectiveness of your advertising campaigns.
22
22
23
-
## Initial Setup
23
+
## Web configuration
24
+
25
+
### Connect Adapty to Airbridge
24
26
25
27
To integrate Airbridge go to [Integrations > Airbridge](https://app.adapty.io/integrations/airbridge), turn on a toggle from off to on, and fill out fields.
26
28
@@ -74,11 +76,7 @@ Adapty API token field is pre-generated on the Adapty backend. You will need to
74
76
/>
75
77
</Zoom>
76
78
77
-
78
-
79
-
80
-
81
-
## Events and tags
79
+
### Set up events and tags
82
80
83
81
Below the credentials, there are three groups of events you can send to Airbridge from Adapty
84
82
@@ -167,7 +165,7 @@ try {
167
165
Read more about airbridgeDeviceId in [Airbridge documentation.](https://developers.airbridge.io/v1.1-en/docs/airbridge-device-id)
168
166
169
167
170
-
## Attribution Integration
168
+
## SDK configuration
171
169
172
170
Airbridge does not send real-time attribution data to Adapty. As such, there's no need to request attribution data from Airbridge in your application code.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.0/apple-search-ads.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,10 @@ The Apple Ads integration in **App settings** is used only for basic analytics a
14
14
[Apple Ads Manager](adapty-ads-manager.md) uses a separate connection. Connect your Apple Ads account in the [Apple Ads Manager settings](adapty-ads-manager-get-started.md).
15
15
:::
16
16
17
-
18
17
Adapty can help you get attribution data from Apple Ads and analyze your metrics with campaign and keyword segmentation. Adapty collects the attribution data for Apple Ads automatically through its SDK and AdServices Framework.
19
18
20
19
Once you've set up the Apple Ads integration, Adapty will start receiving attribution data from Apple Ads. You can easily access and view this data on the profiles page.
@@ -39,7 +37,7 @@ Apple Ads via [AdServices](https://developer.apple.com/documentation/ad_services
39
37
40
38
Add `AdaptyAppleSearchAdsAttributionCollectionEnabled` to the app’s `Info.plist` file and set it to `YES` (boolean value).
41
39
42
-
### Step 2: Obtain Public Key
40
+
### Step 2: Obtain public key
43
41
44
42
In the Adapty Dashboard, navigate to [Settings -> Apple Ads.](https://app.adapty.io/settings/apple-search-ads)
45
43
Locate the pre-generated public key (Adapty provides a key pair for you) and copy it.
@@ -59,7 +57,7 @@ Locate the pre-generated public key (Adapty provides a key pair for you) and cop
59
57
If you're using an alternative service or your own solution for Apple Ads attribution, you can upload your own private key.
60
58
:::
61
59
62
-
### Step 3: Configure User Management on Apple Ads
60
+
### Step 3: Configure user management on Apple Ads
63
61
64
62
In your [Apple Ads account](https://searchads.apple.com/) go to **Settings > User Management** page. In order for Adapty to fetch attribution data you need to invite another Apple ID account and grant it API Account Manager access. You can use any account you have access to or create a new one just for this purpose. The important thing is that you must be able to log into Apple Ads using this Apple ID.
65
63
@@ -74,11 +72,11 @@ In your [Apple Ads account](https://searchads.apple.com/) go to **Settings > Use
74
72
/>
75
73
</Zoom>
76
74
77
-
### Step 4: Generate API Credentials
75
+
### Step 4: Generate API credentials
78
76
79
77
As a next step, log in to the newly added account in Apple Ads. Navigate to Settings -> API in the Apple Ads interface. Paste the previously copied public key into the designated field. Generate new API credentials.
80
78
81
-
### Step 5: Configure Adapty with Apple Ads Credentials
79
+
### Step 5: Configure Adapty with Apple Ads credentials
82
80
83
81
Copy the Client ID, Team ID, and Key ID fields from the Apple Ads settings. In the Adapty Dashboard, paste these credentials into the corresponding fields.
84
82
@@ -93,17 +91,15 @@ Copy the Client ID, Team ID, and Key ID fields from the Apple Ads settings. In t
93
91
/>
94
92
</Zoom>
95
93
96
-
## Attribution Integration
94
+
## SDK configuration
97
95
98
-
### Enable Attribution Integration
96
+
Once you complete [the AdServices framework setup](#connect-the-adservices-framework), Adapty automatically starts collecting Apple Search Ad attribution data. You don't need to add any SDK code.
99
97
100
-
Adapty automatically collects Apple Search Ad attribution data. As such, you don't need to request it in application code. If you followed the steps to [Connect the AdServices Framework](#connect-the-adservices-framework), Adapty has already begun collecting attribution data.
98
+
For iOS applications, this attribution data will **always** take priority over data from other sources. If this behaviour is unwanted, *disable* ASA attribution with the instructions below.
101
99
102
-
###Disable Attribution Integration
100
+
## Disable integration
103
101
104
-
Adapty can only store attribution data from one source at a time. If you enable multiple attribution sources, the system gives preference to the service that shares the most information. For iOS devices, this service is Apple Search Ads.
105
-
106
-
**Once you set the attribution value, you cannot override it.** To turn Apple Search Ads attribution off, open the [**App Settings** -> **Apple Search Ads** tab](https://app.adapty.io/settings/apple-search-ads), and toggle the **Receive Apple Search Ads attribution** switch.
102
+
To turn Apple Search Ads attribution off, open the [**App Settings** -> **Apple Search Ads** tab](https://app.adapty.io/settings/apple-search-ads), and toggle the **Receive Apple Search Ads attribution** switch.
You can use this public key in your Apple Ads settings of account with API Account Manager role. So you can use generated Client ID, Team ID, and Key ID values for Adapty and other services.
Copy file name to clipboardExpand all lines: versioned_docs/version-3.0/appsflyer.md
+81-91Lines changed: 81 additions & 91 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,10 @@ The integration between Adapty and AppsFlyer operates in two main ways.
30
30
/>
31
31
</Zoom>
32
32
33
-
34
-
35
-
36
33
2.**Sending subscription events to AppsFlyer**
37
34
Adapty can send all subscription events that are configured in your integration to AppsFlyer. As a result, you'll be able to track these events within the AppsFlyer dashboard. This integration is beneficial for evaluating the effectiveness of your advertising campaigns.
38
35
39
-
## How to set up AppsFlyer integration
36
+
## Web configuration
40
37
41
38
To setup the integration with AppsFlyer:
42
39
@@ -161,7 +158,7 @@ If you use AppsFlyer API 2, you need to switch to API 3, since the previous vers
161
158
162
159
Adapty maps some events to AppsFlyer [standard events](https://support.appsflyer.com/hc/en-us/articles/115005544169-Rich-in-app-events-for-Android-and-iOS#event-types) by default. With such a configuration, AppsFlyer can then forward events to each ad network that you use without additional setup.
163
160
164
-
Another important thing is that AppsFlyer doesn't support events older than 26 hours. So, if you have an event that is more than 26 hours old, Adapty will send it to AppsFlyer, but the event date and time will be replaced by the current timestamp.
161
+
Another important thing is that AppsFlyer doesn't support events older than 24 hours. So, if you have an event that is more than a day old, Adapty will send it to Appsflyer, but the event date and time will be replaced by the current timestamp.
165
162
166
163
## Events and tags
167
164
@@ -186,7 +183,11 @@ Adapty will send subscription events to AppsFlyer using a server-to-server integ
186
183
187
184
## SDK configuration
188
185
189
-
It's very important to send AppsFlyer attribution data from the device to Adapty using the `Adapty.updateAttribution()` SDK method and the `Adapty.setIntegrationIdentifier()` method to set the integration identifier. The example below shows how to do that.
186
+
After you complete the steps described above, call the `updateAttribution` method to save the attribution data, and use the `Adapty.setIntegrationIdentifier()` to set the integration identifier.
187
+
188
+
:::warning
189
+
The `networkUserId` parameter is mandatory.
190
+
:::
190
191
191
192
<TabsgroupId="current-os"queryString>
192
193
<TabItemvalue="swift"label="iOS (Swift)"default>
@@ -203,6 +204,7 @@ class YourAppsFlyerLibDelegateImplementation {
If there is a revenue discrepancy between Adapty and AppsFlyer, that might occur because not all your users use the app version that has the Adapty SDK. To ensure the data consistency, you can force your users to update the app to a version with the Adapty SDK.
316
-
317
-
### Missing integration data
318
-
319
-
If event sending fails, that is usually because of the missing integration data. Ensure the following to resolve this issue:
320
-
- Your app has the AppsFlyer SDK installed.
321
-
- You are calling the `getAppsFlyerUID` method.
322
-
323
-
### Authentication failure
324
-
325
-
If you are getting the `Failed to authenticate` error in the console, this might be due to the AppsFlyer version and credential version mismatch.
326
-
327
-
See the [migration guide](switch-from-appsflyer-s2s-api-2-to-3.md) or replace the credentials with the valid ones from [here](https://hq1.appsflyer.com/security-center/api-tokens).
328
-
329
-
## AppsFlyer event structure
330
-
331
-
Adapty sends selected events to AppsFlyer via POST request with JSON body to:
332
-
- API v2: `https://api2.appsflyer.com/inappevent/{app_id}`
333
-
- API v3: `https://api3.appsflyer.com/inappevent/{app_id}` (recommended)
334
-
335
-
Each event is structured like this:
315
+
Adapty sends selected events to AppsFlyer as configured in the **Events names** section on the [**AppsFlyer Integration page**](https://app.adapty.io/integrations/appsflyer). Each event is structured like this:
336
316
337
317
```json
338
318
{
@@ -352,41 +332,51 @@ Each event is structured like this:
|`af_quantity`| String | Always `1` if revenue is present. |
365
+
366
+
## Troubleshooting
367
+
368
+
### Revenue discrepancy
369
+
370
+
If there is a revenue discrepancy between Adapty and AppsFlyer, that might occur because not all your users use the app version that has the Adapty SDK. To ensure the data consistency, you can force your users to update the app to a version with the Adapty SDK.
371
+
372
+
### Missing integration data
373
+
374
+
If event sending fails, that is usually because of the missing integration data. Ensure the following to resolve this issue:
375
+
- Your app has the AppsFlyer SDK installed.
376
+
- You are calling the `getAppsFlyerUID` method.
377
+
378
+
### Authentication failure
379
+
380
+
If you are getting the `Failed to authenticate` error in the console, this might be due to the AppsFlyer version and credential version mismatch.
381
+
382
+
See the [migration guide](switch-from-appsflyer-s2s-api-2-to-3.md) or replace the credentials with the valid ones from [here](https://hq1.appsflyer.com/security-center/api-tokens).
0 commit comments