Help
Admitad credentials
Where to find each Admitad credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
Admitad connects with the Client ID and Client secret of your API app, plus the ID of your ad space. The ad space ID is what lets Affilitera build tracking links.
Client ID
The Client ID of your Admitad API app. Affilitera uses it with the Client secret to get an access token from Admitad.
Where to find it
- In Admitad, hover over your username at the top right.
- Open Settings → API and apps.
- Click Show credentials and copy the Client ID.
Client Secret
The Client secret of the same Admitad API app. It is saved encrypted.
Where to find it
- On the same page (Settings → API and apps → Show credentials), copy the Client secret. Do not copy the Base64 header.
Set up first
- The app's permissions must include access to the ad-space campaign list. If they do not, testing the connection says so and names the permission to add.
Ad space ID
The numeric ID of your Admitad ad space. Admitad calls it w_id. Without it, no tracking links can be built for Admitad programs.
Where to find it
- In the Admitad dashboard, open Ad spaces.
- Copy the numeric ID of your ad space. If the page does not show it, save the other credentials and test: when the ID does not match, the message lists the ad spaces this account owns.
Common errors
These are the messages a Admitad connection can show on its row in My Network, or after Test connection.
Admitad: clientId/clientSecret not configured
The Client ID or the Client secret is not saved.
- In Admitad, open Settings → API and apps → Show credentials.
- Copy both values into Client ID and Client Secret, save, then test again.
Admitad: credentials not configured
A sync ran without the Client ID or the Client secret saved.
- Save both Client ID and Client Secret on the connection.
- The next sync uses them.
Admitad token HTTP …
Admitad refused to issue an access token. The Client ID or Client secret is usually wrong, or the Base64 header was copied instead of the secret.
- Open Settings → API and apps → Show credentials in Admitad.
- Copy the Client ID and the Client secret again, save, then test again.
Admitad rejected the token request for scope "…" (HTTP …) and only "…" was accepted. …
Your Admitad API app is not allowed to read the ad-space campaign list, so no tracking links can be built.
- In the Admitad dashboard, edit this API app's permissions to include the permission named in the message.
- Re-issue the client credentials, save them here, then test again.
Admitad issued a token granting "…" — … was requested but NOT granted, …
Admitad signed in, but left out the permission needed to read the ad-space campaign list.
- In the Admitad dashboard, add the permission named in the message to this API app.
- Re-issue the client credentials, save them here, then test again.
Admitad: no Ad space ID (w_id) credential. … ACTION: set the non-secret Ad space ID credential.
The connection has no ad space ID, so no Admitad tracking links can be built.
- Find your ad space's numeric ID under Ad spaces in Admitad.
- Enter it in Ad space ID, save, then test again.
Admitad: ad space … does not resolve for this OAuth client (HTTP 404). …
The credentials work, but the ad space ID saved does not belong to this Admitad account. The message lists the ad spaces the account does own, or says it owns none.
- Use one of the ad space IDs listed in the message.
- Check that the API app belongs to the same Admitad account as the ad space.
- Save and test again.
Admitad: ad space … is forbidden to this token (HTTP 403) — the credential lacks the "…" scope. …
The API app does not have the permission needed to read this ad space's campaigns.
- In the Admitad dashboard, add the permission named in the message to this API app.
- Re-issue the client credentials, save them here, then test again.
What each status on the connection means
Credentials rejected
Admitad refused the saved credentials. They were mistyped, regenerated or revoked on the Admitad side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from Admitad, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token Admitad issues for a limited time, or for one use only, is no longer valid.
- Create a new token in Admitad 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 Admitad at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
Admitad accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the Admitad side.
- Switch on API or reporting access in Admitad (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 Admitad accounts, for example an ID from one account and a key from another.
- Sign in to the one Admitad account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
Admitad 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 Admitad and save it on the connection.
Check credentials
Admitad refused the connection with a message Affilitera does not recognize.
- Check each saved value against Admitad, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.