How to Set Up the Addrevenue Integration
How to connect Addrevenue to ProfitMetrics, choose which commission and fees are imported as ad spend, and manage the connection afterwards.
The Addrevenue integration imports your affiliate commission data — and, optionally, Addrevenue's brokerage fees — into ProfitMetrics as ad spend, grouped by date, channel, program and country. Setup takes three steps: create an API key in Addrevenue, connect it in ProfitMetrics, then choose what to import. The sections below cover each step, followed by managing the connection and fixing common problems.
On this page- Step 1: Generate Your API Key in Addrevenue
- Step 2: Connect Addrevenue in ProfitMetrics
- Step 3: Configure Ad Spend and Filtering Settings
- Managing or Verifying Your Connection
- Troubleshooting
Step 1: Generate Your API Key in Addrevenue
The API key is an Addrevenue API token. ProfitMetrics uses it to read commission data from your Addrevenue advertiser account.
- Log in to your Addrevenue advertiser account.
- Go to API tokens.
- Select Generate a new API token.
- Copy the token straight away so you can paste it into ProfitMetrics in Step 2.
Check the token against these requirements before you continue:
| Requirement | Details |
|---|---|
| Account Token for one account | Use an Account Token scoped to the single advertiser account you want to connect. ProfitMetrics needs the key to point to exactly one advertiser account, so a personal token that covers several accounts will not work. |
| Active advertiser account | The Addrevenue advertiser account must be active. Inactive accounts return an authorisation error during setup. |
| No advertiser ID or currency needed | You don't need to look up your advertiser ID or account currency first. ProfitMetrics reads these from the connected account once the key is accepted. |
Step 2: Connect Addrevenue in ProfitMetrics
Add the token to the site you want Addrevenue spend imported into.
- Log in to ProfitMetrics and select the site you want to configure.
- In the left sidebar, go to Integrations > Connections.
- Click the Addrevenue card.
- Paste your token into the API key field (marked
Enter your Addrevenue API key) and continue.
ProfitMetrics validates the key before showing the import settings. If it's rejected, see Troubleshooting.
Step 3: Configure Ad Spend and Filtering Settings
Once the key is validated, choose what Addrevenue spend to import, then save your configuration to finish setup. The Ad spend toggle turns the import on; everything else is optional, and leaving both fields in a filter pair empty imports everything that pair covers.
| Setting | What it does |
|---|---|
| Ad spend | Turns the import on (shown as Import commission data as ad spend). When enabled, daily commission costs sync into ProfitMetrics. |
| Report brokerage fee | On: Addrevenue's platform brokerage fee is included in your reported ad spend. Off: only the commission paid to publishers is imported. |
| Program name / Exclude program name | Import only the named Addrevenue programs, or import everything except them. |
| Channel name / Exclude channel name | Import only the named affiliate channels, or leave the named channels out. Leave both empty to import all channels. |
| Include countries / Exclude countries | Found under Country filters. Import spend only for the listed markets, or for every market except them. Leave both empty to include all markets. |
NOTE: Program filters work one way at a time. Fill in either Program name or Exclude program name, not both.
Managing or Verifying Your Connection
After setup, return to Integrations > Connections > Addrevenue at any time. The page shows a summary of your settings, where you can check, change or remove the connection.
| Option | What it does |
|---|---|
| Verify | Next to Verification status. Confirms your API key is still valid and connected. |
| API Key | Replace the token — for example, after generating a new one in Addrevenue — without reconnecting from scratch. |
| Configuration | Change the toggles and the program, channel and country filters without reconnecting from scratch. |
| Delete Integration | At the bottom of the page. Disconnects Addrevenue completely. |
CAUTION: Deleting the integration removes your configuration, and reconnecting means setting everything up again from scratch. To change the key or settings, edit them from the summary instead.
Troubleshooting
| Symptom | Check |
|---|---|
| Authorisation error when connecting | Check that the Addrevenue advertiser account is active. Inactive accounts return authorisation errors. |
| API key is not accepted | Make sure you're using an Account Token scoped to a single advertiser account, not a personal token that covers several accounts. If in doubt, generate a new Account Token in Addrevenue. |
| Verify reports a problem with an existing connection | Check that the advertiser account is still active. If the token no longer works, generate a new one in Addrevenue and update API Key from the settings summary. There's no need to delete the integration. |
| No Addrevenue spend in ProfitMetrics | Check that the Ad spend toggle is on. Without it, commission data is not imported. |
| Spend is lower than in Addrevenue | If Report brokerage fee is off, only the commission paid to publishers is imported. Turn it on to include Addrevenue's brokerage fee. |
| Spend is missing for some programs, channels or countries | Review your include and exclude filters. An include filter imports only what's listed; an exclude filter leaves out what's listed. Empty both fields in a pair to import everything. |