Use the Adjust Blocklist API to block traffic from fraudulent or outdated links. You can blocklist custom links and partner links. You can’t blocklist Self-attributing network (SAN) partner links. To block traffic from a SAN partner link, you MUST delete the SAN partner. See Self-attributing network setup for a list of SAN partners.
Authentication
The Blocklist API uses Bearer tokens for authentication. You MUST include your Adjust API token in an Authorization
header with each request you make to the Blocklist 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:
- Select the account (user) icon.
- Select Account settings.
- Select the My profile tab.
- 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:
- Select the account (user) icon.
- Select Account settings.
- Select the My Profile tab.
- Your API Token is shown with your User details.
- Select Reset API token.
- 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.
- Select the copy button next to the API Token to copy the token to your system clipboard.
Blocklist a link
You can blocklist a link to stop recording engagements and callbacks to it. Blocklisted links retain their existing attributions until a user is reattributed to another link.
Clicks and impressions recorded before you blocklist a link stay eligible for attribution. For example, if you set a 7-day attribution window and blocklist a link on day 2, Adjust will still consider engagements from day 1 for attribution.
Parameters
The following parameter MUST be placed in the query path:
link
(String
)-
An alphanumeric Adjust link token.
Response format
Example
Unblocklist a link
You can unblocklist a link at any time to reactivate it. Once you unblocklist a link, Adjust immediately resumes measuring engagement and callbacks.
Only engagements received when a link is enabled are considered in your attribution funnel.
Parameters
The following parameter MUST be placed in the query path:
link
(String
)-
An alphanumeric Adjust link token.
Response format
Example
View link status
You can check which links are blocklisted in Campaign Lab. To do this:
- Navigate to Campaign Lab.
- Select a partner to display a list of associated links. Links on the blocklist display as Blocklisted.
You can hide blocklisted links in Campaign Lab. See hidden links in Campaign Lab for instructions.