adjust-icon

Campaign API

Use the Campaign API to get link, sublink, and partner information. Create new links and update existing links with new partner information.

Authentication

The Campaign API uses Bearer tokens for authentication. You MUST include your Adjust API token in an Authorization header with each request you make to the Campaign API.

If your organization has enabled Single Sign-On (SSO), contact your Adjust representative or email support@adjust.com for help with finding your API token.

For non-SSO accounts, API tokens are located in a user’s profile. To find your token, follow these steps:

  1. Select the account (user) icon.
  2. Select Account settings.
  3. Select the My profile tab.
  4. Your API Token is shown with your User Details. Select the copy button to copy the token to your system clipboard.

Reset your Adjust API token

You can reset your Adjust API token at any time. Resetting your token invalidates the old token. If you reset your Adjust API token, you MUST replace your old token anywhere that you’re using it. Requests made with an invalidated token are rejected by Adjust.

To reset your Adjust API token:

  1. Select the account (user) icon.
  2. Select Account settings.
  3. Select the My Profile tab.
  4. Your API Token is shown with your User details.
  5. Select Reset API token.
  6. Enter your account password in the modal that appears and select Reset to reset your API token. A confirmation appears in the top right of the screen.
  7. Select the copy button next to the API Token to copy the token to your system clipboard.

Fetch partners

Pagination

Response format

{
"data": {
"api_version": "string",
"request_id": "string",
"timestamp": "datetime",
"paging": {
"next": "string",
"cursor": "string"
},
"items": [
{
"id": 100,
"display_name": "string",
"supports_cost_data": true
}
]
}
}

Example

Use this endpoint to fetch network-level links associated with your app.

All links are returned as items in the following format:

Success response
{
"name": "String",
"token": "String",
"label": "String",
"level": 1,
"archived": false,
"has_subtrackers": false,
"partner_id": 3,
"cost_data_enabled": false,
"url": "String",
"click_url": "String",
"impression_url": "String"
}

Use this endpoint to get the sublinks for your specified app.

{
"name": "String",
"token": "String",
"label": "String",
"level": 2,
"archived": false,
"has_subtrackers": false,
"partner_id": null,
"cost_data_enabled": false,
"url": "String",
"click_url": "String",
"impression_url": "String"
}