Disconnecting the ad space from the program

Parameters

HTTP method

Access rights

URL

Note

POST manage_advcampaigns https://api.admitad.com/advcampaigns/{c_id}/detach/{w_id}/

Returns the result of operation in the JSON format, where w_id is the ad space identifier and с_id is the affiliate program identifier.

  • * 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/detach/3/

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

{
    "message": "Program CampaignName has been removed from your list. You can later add it again.",
    "success": "Deleted"
}