/
Canceling a Campaign

Canceling a Campaign



URL: /admin/adnet/pub/admin/pautas.html?op=b&o=xml

Requirements:
  • Campaign identifier must be known (pauta_id)
  • The user must have campaign deletion permission.

Mandatory parameters:
Pauta_id parameter must be included along with campaign identifier.

Request example:
URL: /admin/adnet/pub/admin/pautas.html?op=b&o=xml


Parameter:
pauta_id=43242

Parameter explanation:
pauta_id: campaign identifier

Response:
It contains an object <operacion> that contains a tag <resultado>. The result could be either 1 (successful operation) or 0 (failed operation). 

If the operation is unsuccessful, it adds a list of errors through tags <error>, containing the attribute that specifies the attribute's name with error, and message with the error message.

Response example without errors:

<operacion>
    <resultado>1</resultado>
</operacion>