/
Finishing a Campaign

Finishing a Campaign



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

Requirements:
  • The campaign must be in Active or Active/Running (Delay on Delivery) status.
  • Campaign identifier must be known (pauta_id).
  • The user must have campaign complete/end permission.

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

Request example:
URL: /admin/adnet/pub/admin/pautas.html?op=completar&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>