Introduction to integration
API integration is a tricky mechanism by which leads from your network get into the target affiliate network or CRM, and their processing statuses and comments are returned back. All processes are hidden from the eyes of a simple user and occur automatically.
AlterCPA based networks
Before integration, ask your advertiser to create an agency on the side of their network and send you the message that appears. From it you will get all the necessary information. In AlterCPA Moe, the agency is called a traffic source. Some advertisers are mischievous and offer to work as a webmaster, this is where the AlterCPA Pro Webmaster manual comes in handy.
Affiliate networks
Integration with affiliate networks requires an agreement with your personal manager. You may need identifiers of offers or products on the side of the affiliate network. Some networks require streams to be created and their IDs to be specified. If the utility does not show a list of postbacks at the time of configuration, you do not need to add postbacks - statuses are loaded via API.
Classic CRM
Many integrations with classic CRM are templates and require further development. Depending on the customer's requirements, you may need additional fields when submitting leads and additional options when loading statuses.
Financial Networks
All integrations are designed to automatically send a link to the site to identify the offer. The link is a landing page from the site repository. Some integrations also use the group parameter for the symbolic name of a group of offers. Some integrations require putting postback on a deposit. They have the "tail" and a sample of finished postback.
Financial CRM
Before integration, check if your network is in the list of partner networks with a unique platform. If the network is not found, try to identify CRM using our little memo.
Manual integration settings
Manual integration setup requires an understanding of the principles of sending requests to the API and basic knowledge of the PHP language. When setting up the integration, you will need to describe the preparation of the request and response handlers in PHP. Without programming knowledge, manual integration setup is impossible. Please refer only to competent specialists.
Preparing request
Before performing any request, integration performs the contents of the preprocessing code. You can use it for fine configuration of the request: convert to JSON, add headers, carry out authorization, adjust some fields, make a digital signature to request.
Parameters in integration
Parameters are special custom fields that can be added to offers, their goals and nested products. They allow you to store variables that change from offer to offer. For example, identifiers of an offer or stream on the side of the target network.
Sending leads
Sending leads can be used in four cases: sending new leads to CRM, sending upsells and changes, sending approved leads to CRM, synchronous sending of lead for registration.
Checking statuses via API
Statuses check can work in three variations: checking status for processing leads, checking status for approved leads, checking status by date range.
Getting status via postback
Getting lead statuses via API is the best way to work. If API work is not possible, you can use postbacks from the target network to get statuses.