Help
Tradedoubler credentials
Where to find each Tradedoubler credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
Tradedoubler connects through an API client you create in Tradedoubler (a Client ID and Client Secret) and a refresh token you get once yourself. Affilitera never asks for your Tradedoubler password.
Client ID
The ID of the API client you create in Tradedoubler. With the Client Secret and the refresh token, it lets Affilitera read your programs and transactions.
Where to find it
- Sign in to Tradedoubler at publishers.tradedoubler.com.
- Open Tools → API Info → Add client.
- Give the client a name, for example your company name, and save.
- Copy the Client ID shown on the client.
Client Secret
The secret that belongs to the same API client as the Client ID. Tradedoubler checks the two together every time Affilitera asks for access.
Where to find it
- Copy the Client Secret when you create the client under Tools → API Info.
- Tradedoubler shows it only once, so paste it here straight away.
Expiry and rotation: If you no longer have it, delete the client in Tradedoubler and create a new one. Then also get a new refresh token for the new client and save all three here.
Refresh token
A one-time key that lets Affilitera get access to Tradedoubler's API without your password. You get the first one yourself in Tradedoubler's API documentation.
Where to find it
- Open Tradedoubler's API documentation at docs.tradedoubler.com/docs/publisher.
- Go to OAuth2 → Get Authentication Token.
- Choose "Authenticate with Credentials (First time only!)".
- Send your Client ID and Client Secret with your Tradedoubler username and password.
- Copy refresh_token from the reply and paste it here, together with the same Client ID and Client Secret.
Expiry and rotation: Each refresh token works once. Affilitera saves the new one Tradedoubler returns after every use, so you only get a new one if the connection says the saved one was rejected.
Publisher ID
Your Tradedoubler publisher ID. Affilitera uses it only to recognize that a new Client ID or refresh token still belongs to the same Tradedoubler account. No sync reads it.
Where to find it
- In Tradedoubler, open Account → Information.
- Copy the publisher ID shown there.
Common errors
These are the messages a Tradedoubler connection can show on its row in My Network, or after Test connection.
Tradedoubler: the Client ID and Client Secret are not configured on this connection. …
The connection has no Client ID or no Client Secret saved, so Affilitera cannot ask Tradedoubler for access.
- Create an API client in Tradedoubler under Tools → API Info → Add client, or use the one you have.
- Save its Client ID and Client Secret here, with a refresh token for that client, then test again.
Tradedoubler: no refresh token is saved on this connection, and Tradedoubler only gives API access through one. …
There is no refresh token on the connection. Tradedoubler gives API access only through one.
- Get a refresh token in Tradedoubler's API documentation (see Refresh token above).
- Paste it into Refresh token, save, then test again.
Tradedoubler refused the saved Client ID and Client Secret. The API client may have been deleted or its secret replaced. Create a new client and a new refresh token for it. …
Tradedoubler did not accept the API client saved here. It may have been deleted, or its secret replaced.
- In Tradedoubler, open Tools → API Info → Add client and create a new client.
- Get a new refresh token for that client.
- Save the new Client ID, Client Secret and refresh token here, then test again.
Tradedoubler did not accept the saved refresh token: it has already been used or has expired. The connection needs a new one. …
The saved refresh token no longer works. Each refresh token works only once, and this one has been used or has expired.
- Get a new refresh token in Tradedoubler's API documentation (see Refresh token above), using the same Client ID and Client Secret.
- Paste it into Refresh token and save.
Tradedoubler: a new refresh token was issued but Affilitera could not save it yet, so syncing is paused to avoid losing it. It will be retried on the next run. If this message stays, the connection needs a new refresh token. …
Tradedoubler issued a new refresh token and Affilitera has not saved it yet. Syncing waits so the new token is not lost.
- Nothing to do at first: saving is retried on the next run.
- If the message stays, get a new refresh token and save it here.
Tradedoubler: your account has no … token yet. Create one in Tradedoubler under Account, then Manage tokens (system …); Affilitera reads it automatically after that.
Coupons and product feeds use a separate Tradedoubler token, and your account has not created one for this system yet.
- In Tradedoubler, open Account, then Manage tokens.
- Create a token for the system named in the message.
- Nothing needs to be typed here. Affilitera reads it automatically after that.
Tradedoubler: Orders + brands transport failed (orders + brands sync disabled): …
The connection test could not get API access for programs and orders. The rest of the message says why.
- Read the reason after the colon. It is usually one of the messages on this page.
- Follow the fix for that message, then test again.
Tradedoubler: Legacy half failed (coupon sync disabled): …
The connection test could not read coupons. Programs and orders are tested separately and may still work.
- Read the reason after the colon.
- If it says your account has no token yet, create one in Tradedoubler under Account, then Manage tokens.
What each status on the connection means
Credentials rejected
Tradedoubler refused the saved credentials. They were mistyped, regenerated or revoked on the Tradedoubler side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from Tradedoubler, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token Tradedoubler issues for a limited time, or for one use only, is no longer valid.
- Create a new token in Tradedoubler as described in the field section above.
- Save it on the connection and test again.
Credential missing
A value the connection needs has not been saved, so Affilitera cannot call Tradedoubler at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
Tradedoubler accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the Tradedoubler side.
- Switch on API or reporting access in Tradedoubler (see the setup notes in the field sections above).
- Test the connection again. Nothing needs changing in Affilitera.
Account mismatch
The saved values come from different Tradedoubler accounts, for example an ID from one account and a key from another.
- Sign in to the one Tradedoubler account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
Tradedoubler issued a new token and Affilitera could not save it yet. This usually clears on its own at the next sync.
- Wait for the next sync.
- If the message stays, create a new token in Tradedoubler and save it on the connection.
Check credentials
Tradedoubler refused the connection with a message Affilitera does not recognize.
- Check each saved value against Tradedoubler, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.