Skip to main content
CPAPI troubleshooting
Daria Mamchenkova avatar
Written by Daria Mamchenkova
Updated over 6 months ago

When working with CPAPI, you may face some unexpected behavior. This article describes what you can do in such cases.

Before you begin

Advertiser approved new offers, but I don’t see them on Affise

  1. Сheck the time when the advertiser approved new offers. CPAPI needs up to three hours to bring new offers to Affise. The more offers, the longer the process.

  2. Check one of the offers in the Demand offer section. If it is not imported from the feed, it means CPAPI has not received the offer in the advertiser feed for the last two hours. If it is highlighted red and has a red cross, it means it is invalid. Click the offer and check the reason for its invalidity. Read more about reasons for invalidity here.

  3. Check if this offer belongs to some Campaign. If not, add it to the active Campaign. Read more about Campaign settings here.

Advertiser changed something in the offer, but I don’t see it on Affise

  1. Check the time when the advertiser made changes. CPAPI needs up to an hour and a half to bring changes to already pulled offers on Affise.

  2. Check one of the offers in the Demand offer section. If it is not imported from the feed, it means CPAPI has not received the offer in the advertiser feed for the last two hours. If it is highlighted red and has a red cross, it means it is invalid. Click the offer and check the reason for its invalidity. 🔎 Read more about reasons for invalidity here.

  3. Check the status of the relevant Campaign. Make sure it is active.

  4. Check settings in the Default values section in the relevant Campaign. Make sure the fields changed by the advertiser have the According to the source position.

  5. Check Sync rules you have in the relevant Campaign. Make sure you set the needed Sync rule as Always. 🔎 Read more about Sync rules here.

  6. Check whether the offer was deleted/disabled manually, via bulk actions, or via API on Affise. If yes, it will never participate in the sync process. If you want to continue working with this offer, create a new Campaign for it.

I can’t choose the advertiser in Campaign

  1. Make sure all fields in the Tracking systems section are filled in with correct data. Read more about it here.

I can't choose the Smartlink Category in Campaign

  1. Make sure all fields in the Tracking systems section are filled in with correct data. Read more about it here.

  2. Make sure you have Smartlinks existent on Affise.

I see duplicated offers on Affise

  1. Make sure the offer is pulled to Affise in terms of one Campaigns only. You can check it by getting to the Offer view page on CPAPI.

  2. Make sure you chose only one way of offer selection in the Campaign (either Offers section or Sources section).

I see invalid credentials status

If you see the Invalid credentials status in the Demand source > Status, it means all or some fields are filled in with incorrect or non-actual data.

To find more details, do the following:

  1. Click the See icon. In the source details, you can see the following fields:

    • Invalidated At: date and time of the last trial of making an API call to the source (the trial failed, CPAPI could not make the API call).

    • Invalidation Response Code: the code of the error, which CPAPI got from the source when trying to make the API call.

    • Invalidation Response Headers: the headers of the response, which CPAPI got from the source when trying to make the API call.

    • Invalidation Response Body: the body of such a response (mainly the text of the error).

  2. Contact the advertiser to get more information about this error.


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?