AAffilitera Help

Help

Awin credentials

Where to find each Awin credential Affilitera asks for, who can create it, and what each connection error means.

Last updated

Awin connects with a personal API token and your Publisher ID. A Datafeed API key adds product feeds, and an optional website login lets Affilitera download banners, which Awin's API does not provide.

API Token

Your personal Awin API token. Affilitera sends it as a Bearer token on every call to Awin's Publisher API: programs, transactions and commission groups.

Where to find it

  1. Sign in to Awin at ui.awin.com.
  2. Open the user menu at the top right and choose API Credentials (ui.awin.com/awin-api).
  3. Enter your Awin password when asked.
  4. Click Show my API token and copy it.

Who can create it: An Awin user with Admin user permission on the publisher account.

Expiry and rotation: The token is personal to the Awin user who showed it. If that user's token is regenerated, or the user loses access to the account, save the new token here.

Publisher ID

Your numeric Awin Publisher ID. Every Publisher API path is addressed to it, so it must be the publisher account the API token can see.

Where to find it

  1. Sign in to Awin.
  2. Read the number shown under your account name at the top left of the Awin interface.

Datafeed API Key

The key Awin's product-feed service (productdata.awin.com) uses. It is a different key from your API token, and it is only needed for product feeds.

Where to find it

  1. In Awin, open Toolbox → Create-a-Feed.
  2. Copy the last part of the feed-list address: productdata.awin.com/datafeed/list/apikey/<key>. The <key> part is the Datafeed API key.

Website login email

Optional. The email address you sign in to ui.awin.com with. It is used only to download banners, because Awin's API has no banner download. Orders, products and everything else use the API token.

Where to find it

Optional. Used only to download banners, which Awin's API does not provide. Not used for orders, products or anything else.

Website login password

Optional. The password for that Awin website login, used only for banners. It is saved encrypted and never shown again, not even to you.

Where to find it

Saved encrypted. It is never shown again, not even to you: type a new one to replace it, or use the bin icon to remove it.

Expiry and rotation: If you change your Awin password, type the new one here. To remove it, use the bin icon next to the field.

Common errors

These are the messages a Awin connection can show on its row in My Network, or after Test connection.

Awin: apiToken not saved — enter your API token and save before testing

The connection has no API token saved, so nothing can be read from Awin.

  1. Copy your API token from Awin (see API Token above).
  2. Paste it into API Token, save, then test the connection again.

About API Token

Awin: publisherId not saved — enter your Publisher ID and save before testing

The connection has no Publisher ID saved.

  1. Copy your Publisher ID from the top left of the Awin interface.
  2. Paste it into Publisher ID, save, then test again.

About Publisher ID

Awin: credentials not configured

A sync ran without the API token or the Publisher ID saved.

  1. Save both API Token and Publisher ID on the connection.
  2. The next sync uses them.

About API Token

About Publisher ID

Awin API HTTP 401 — …

Awin refused the API token. It may have been regenerated in Awin, or it belongs to a user who no longer has access to this publisher account.

  1. Show your API token again in Awin (user menu → API Credentials) and compare it with the one saved.
  2. Check that the Publisher ID is an account that Awin user can see.
  3. Save the current token and test again.

About API Token

About Publisher ID

Awin productdata HTTP … — …

Awin's product-feed service refused the request. Most often the Datafeed API key is missing, mistyped or is the API token instead.

  1. Copy the key from Toolbox → Create-a-Feed again (the last part of the feed-list address).
  2. Paste it into Datafeed API Key and save.

About Datafeed API Key

What each status on the connection means

Credentials rejected

Awin refused the saved credentials. They were mistyped, regenerated or revoked on the Awin side, or belong to a user who has lost access.

  1. Open the connection and choose Update credentials.
  2. Copy each value again from Awin, using the steps in the field sections above, and save.
  3. Test the connection. The next sync uses the new values.

Credentials expired

A token Awin issues for a limited time, or for one use only, is no longer valid.

  1. Create a new token in Awin as described in the field section above.
  2. Save it on the connection and test again.

Credential missing

A value the connection needs has not been saved, so Affilitera cannot call Awin at all.

  1. Open the connection and choose Update credentials.
  2. Fill in every required field and save.

API access off

Awin accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the Awin side.

  1. Switch on API or reporting access in Awin (see the setup notes in the field sections above).
  2. Test the connection again. Nothing needs changing in Affilitera.

Account mismatch

The saved values come from different Awin accounts, for example an ID from one account and a key from another.

  1. Sign in to the one Awin account you want to connect.
  2. Copy every value from that same account, save, and test again.

Token save pending

Awin issued a new token and Affilitera could not save it yet. This usually clears on its own at the next sync.

  1. Wait for the next sync.
  2. If the message stays, create a new token in Awin and save it on the connection.

Check credentials

Awin refused the connection with a message Affilitera does not recognize.

  1. Check each saved value against Awin, using the field sections above.
  2. Save and test again. If it still fails, contact support and quote the message shown on the connection.
Was this helpful?