API Endpoints¶
The main URL path: https://settings.adjust.com/api/ Trailing slash is required when specified!
Endpoint Status¶
Path |
Status |
Description |
---|---|---|
LIVE |
||
LIVE |
||
LIVE |
||
LIVE |
||
LIVE |
||
LIVE |
||
BETA |
The endpoint is available with status and sections migration details |
|
BETA |
The endpoint is available |
|
BETA |
The endpoint is available |
API Endpoints¶
POST /app¶
This endpoint triggers “Get OR Create” operation for an App in Adjust/Acquired.
This endpoint IS safe to be invoked multiple times for the same app.
If more data is provided with the subsequent requests, it WILL be stored and processed by Adjust in addition to what was there previously.
User is expected to send android_signature_hash
for Android apps
This endpoint has two part of process. The first is synchronous part. Due HTTP-request it will create an app in Adjust Dash and register a job to process the second asynchronous part, see Background jobs.
+---------------------+
| HTTP - Request | Update Ticket Status regarding
| | Job result (success or failure)
+---------------------+ +-----------------------+
↓ ↓ |
+---------------------+ +-----------+ +------------------+ +~~~~~~~~~~~~+
| New App | | Ticket | | Background Job | ! Migration !
| | ----> | | ----> | | <---> ! Process !
+---------------------+ +-----------+ +------------------+ +~~~~~~~~~~~~+
↓
+---------------------+
| HTTP - Response |
| |
+---------------------+
Name |
Required |
Type |
Description |
---|---|---|---|
store_id |
R |
string |
Bundle ID for Android iTunes Store ID for iOS |
platform |
R |
|
|
name |
R |
string |
App name |
bundle_id |
R |
string |
Bundle ID for Android or iOS app |
verification |
O |
bool |
Request verification for IOS apps |
android_signature_hash |
O |
string |
SHA1 hash, generated from the keystore file to build the SDK signature |
channel_setup |
OB |
object |
Partner-specific parameters, see Channel Setup |
editors |
O |
emails list |
List of users(emails) which should have access to an app |
template_app_token |
O |
string |
Adjust app token to use as a template (if differs from the pre-agreed default) |
ios_pv_shared_secret |
O |
string |
iOS Purchase Verification secret which will be populated to the target app. |
sections |
O |
string list |
List sections to update only, see Sections |
Name |
Required |
Type |
Description |
---|---|---|---|
adjust_app_token |
R |
string |
Adjust App Token to be used in SDK integration and another API requests |
ticket_token |
R |
uuid |
Ticket id to check the current job status see Background jobs and GET /status/{ticket_token} |
GET /app/<adjust_app_token>¶
Name |
Required |
Type |
Description |
---|---|---|---|
adjust_app_token (URL) |
R |
string |
Adjust App Token as received from POST /app or manually from Adjust dashboard. |
Name |
Required |
Type |
Description |
---|---|---|---|
adjust_app_token |
R |
string |
Echo of the requested token (provided for convenience when requesting an app by store_id and platform) |
store_id |
R |
string |
Bundle ID for Android iTunes Store ID for iOS |
platform |
R |
|
|
name |
R |
string |
Display name from Adjust dashboard |
cross_promo_token |
O |
string |
Adjust Tracker token to be used for CrossPromotion (once available) |
additional_info |
O |
object |
All app details previously received by Acquired. |
android_signature_hash |
O |
string |
SHA1 hash, generated from the keystore file to build the SDK signature |
channel_setup |
O |
object |
Partner-specific parameters, see Channel Setup |
GET /app?store_id=<>&platform=<>¶
Name |
Required |
Type |
Description |
---|---|---|---|
store_id |
R |
string |
Bundle ID for Android iTunes Store ID for iOS |
platform |
R |
|
If app is found, the request gets redirected to the corresponding GET /app/<adjust_app_token> yielding the same response.
POST /campaign¶
Endpoint allows to request App+Channel specific Click and Impression URLs to be used in campaigns.
For those channels that require Partner Setup to be complete, channel setup parameters must be
provided in advance, otherwise /campaign
endpoint will fail.
Name |
Required |
Type |
Description |
---|---|---|---|
store_id |
R |
string |
Bundle ID for Android iTunes Store ID for iOS |
platform |
R |
|
|
channel |
R |
string |
Acquired Ad Network slugs |
campaign_name |
O |
string |
IGNORED since dynamic Network-level URLs are used for campaigns. Left in to be compatible with existing APIs. |
channel_setup |
OB |
object |
Partner-specific parameters, see Channel Setup. |
android_signature_hash |
O |
string |
SHA1 hash, generated from the keystore file to build the SDK signature |
Name |
Required |
Type |
Description |
---|---|---|---|
click_url |
R |
string |
App+Channel specific URL to be used as Click URL for the new Campaign |
impression_url |
R |
string |
App+Channel specific URL to be used as Impression URL for the new Campaign |
GET /signature?bundle_id=<bundle_id>¶
This endpoint exposes SDK signature libraries for the bundle_id specified. Endpoint becomes available as soon as bundle_id is registered in Adjust/Acquired (at least one of two apps is created). Response URLs will be set to null until the libraries are available to download.
Name |
Required |
Type |
Description |
---|---|---|---|
bundle_id (URL) |
R |
string |
Bundle ID |
Name |
Required |
Type |
Description |
---|---|---|---|
android_app_token |
OB |
string |
Adjust app token for the Android app (if available) |
ios_app_token |
OB |
string |
Adjust app token for the iOS app (if available) |
android_lib_url |
OB |
string |
Direct link to download signed adjust-android.aar (if available) |
ios_lib_url |
OB |
string |
Direct link to download signed AdjustSdk.a (if available) |
android_doctor_url |
OB |
string |
Direct link to download .zip archive with available tools to debug signature |
ios_doctor_url |
OB |
string |
Direct link to download .zip archive with available tools to debug signature |
ios_md5_sum |
OB |
string |
MD5 checksum for ios signature |
android_md5_sum |
OB |
string |
MD5 checksum for android signature |
library_type |
OB |
string |
The signature library type for both OS, for now returns only |
GET /app/<adjust_app_token>/channels¶
Show channels that have trackers in Adjust.
Name |
Required |
Type |
Description |
---|---|---|---|
adjust_app_token (URL) |
R |
string |
Adjust App Token as received from POST /app or manually from Adjust dashboard. |
Name |
Required |
Type |
Description |
---|---|---|---|
channels |
R |
list |
Acquired Ad Network slug for Network Trackers created for this App |
GET /status/{ticket_token}¶
This endpoint shows the status of the Background jobs which would run regarding the POST /app request.
Name |
Required |
Type |
Description |
---|---|---|---|
ticket_token |
R |
string |
Ticket unique token in uuid format, received from POST /app endpoint |
Name |
Required |
Type |
Description |
---|---|---|---|
status |
R |
string |
|
POST /app/{app_token}¶
This endpoint allows to change name
, store_id
and bundle_id
for existing apps,
and in addition, android_signature_hash
for Android Apps .
Usually the reason to update these is if the client cannot provide them at the time the app is created on Adjust.
Because of the store_id
or bundle_id
are important values for app and could
be used in many places Automation API takes responsibility to change all of them after endpoint has been called.
For example the current store_id
is used in Snapchat Partner as app_id
value so it also must be changed.
For android apps, when changing store_id
we will automatically update bundle_id
so if the app
contains already generated signature, the new signature should be generated too.
Note
To update signatures client must send special Signature Authorization Token. See: Signature Token
Example of updating Android apps with new store_id:
$ curl \
--header "AdjustAuthorization: Token <Adjust API Token>" \
--header "Content-Type: application/json" \
--data '{"store_id":"test.bundle.newstoreid.app"}' \
-X POST https://settings.adjust.com/api/app/p77yk727r18g
Example of updating IOS apps with new store_id:
$ curl \
--header "AdjustAuthorization: Token <Adjust API Token>" \
--header "Content-Type: application/json" \
--data '{
"store_id":"999999999",
"bundle_id": "test.bundle.newstoreid.app"
}' -X POST https://settings.adjust.com/api/app/p77yk727r18g
Name |
Required |
Type |
Description |
---|---|---|---|
name |
O |
string |
New name |
store_id |
O |
string |
New |
bundle_id |
O |
string |
New |
android_signature_hash |
O |
string |
New android signature hash, mandatory create a new signature when the app |
Name |
Required |
Type |
Description |
---|---|---|---|
store_id |
R |
string |
Current or updated store_id |
name |
R |
string |
App name |
ticket_token |
R |
string |
Ticket token to check status for background job. See: get-ticket-status |
POST /signature¶
This endpoint can be used to create or update signatures for the apps added to Adjust. It’s possible to generate
signatures only for Unity-based apps running on android
and ios
platforms.
Note
Adjust app can be multiplatform. For more information see: Adjust Multiplatform Apps
Generating signatures flow is similar to app migration, see POST /app. All work is done in background tasks, see Background jobs.
The endpoint has some limitations on the number of requests. It is impossible to send more than one request for one app if There are already scheduled (or working) jobs for it.
Note
Both authentication tokens must be sent, for more information see Adjust API Token and Signature Token.
Name |
Required |
Type |
Description |
---|---|---|---|
app_token |
R |
string |
Adjust App Token |
platform |
R |
enum |
|
android_signature_hash |
O |
string |
Android signature hashes, might be more than one, so should split by comma with no spaces |
force_sdk_signature |
O |
boolean |
The flag to enable/disable Force SDK Signature flag in Adjust App Settings |
Name |
Required |
Type |
Description |
---|---|---|---|
ticket_token |
R |
string |
Unique ID to check a scheduled job status, see GET /status/{ticket_token} |
GET /status/{ticket_token} can be used to get status of the background job:
Name |
Required |
Type |
Description |
---|---|---|---|
app_token |
R |
object |
JSON with info divided by platforms (android, ios) |
app_token.<android | ios> |
R |
object |
Detailed info about generated signature |
app_token.<android | ios>.success |
R |
boolean |
Was operation by generate signature successfully or not |
app_token.<android | ios>.msg |
R |
string |
Short message with operation status, like: ‘Signature has been generated successfully’ |
force_sdk_signature |
R |
object | null |
Information about changing SDK Signature flag in the app. If the body was not contained |
force_sdk_signature.<app_token> |
O |
string |
It will be available if the request body had |