/
Deleting an ad

Deleting an ad



URL: /admin/adnet/pub/admin/anunciantes.html?op=bb&o=xml

Mandatory parameters:
  • banner_id:  identifier of the ad to be deleted.
  • anunciante_id: advertiser identifier to which the ad belongs.

Optional parameters:
  • forzar: 1 (value 1 is specified)

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

Parameters:
  • banner_id=43242
  • anunciante_id=1234
  • forzar=1


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>


Related content