Connecting the ad space to the program

Parameters

HTTP method

Access rights

URL

Note

POST manage_advcampaigns https://api.admitad.com/advcampaigns/{c_id}/attach/{w_id}/
  • Returns the result of operation, where w_id is the ad space identifier and с_id is the affiliate program identifier.

  • By joining an affiliate program using this method, you automatically confirm you have read its rules and are ready to comply with them.

  • * Returns the result in the JSON format.

Example of use

Example of a request with utility ``curl``:

curl -L -H 'Authorization: Bearer access_token' -X POST https://api.admitad.com/advcampaigns/2/attach/3/

Example of the response from the API server in the JSON format:

{
    "message": "Request for adding the campaign CampaignName was successfully created.",
    "success": "OK"
}