/
Deleting a Site

Deleting a Site

It deletes a site from the system. The site identifier must be known.

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

Requirements:

  • The site must not have associated campaigns.


Mandatory parameters:
The parameter secion_id must be included.

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

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>