/
Editing an Ad Space
Editing an Ad Space
The request must be done through POST method.
URL: /admin/adnet/pub/admin/espacios.html?op=m&o=xml
Mandatory parameters:
- espacio_id: ID from the space to edit.
- descripcion: ad space name. It must be at least 2 characters long. Only letters and numbers, not spaces, are recommended.
- tamano_tipo: ad space size type. In the Ad space size types Appendix the potential options are indicated. If fixed size is selected, the following two parameters must been specified aswell:
- width: width expressed in pixels (only for fixed size)
- height: height expreseed in pixels (only for fixed size)
- url: URL address where the ad space code is pasted. If entering the ad spaces URL is indicated as mandatory on global preferences, then it must always be indicated.
- atributos_1: If DSM module is enabled, you must indicate 1 if the space can be marketed by DSM or 0 otherwise.
Optional parameters:
- peso_maximo_anuncios: maximum weight expressed in bytes for the ads uploaded in this space.
- link_newwindow: if this parameter is speficied with value 1, then a new window will be open for each click on this ad space. This value can be assigned campaign by campaign.
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> <identificador>52112</identificador> </operacion> |
Response example with errors:
<operacion> <resultado>0</resultado> <errores> <error atributo=”sitio_id” mensaje=”Invalid option”/> </errores> </operacion> |
, multiple selections available,
Related content
01 - Ad Studio
01 - Ad Studio
More like this
02 - Ads Creation from Formats
02 - Ads Creation from Formats
More like this
Implementación de ads.txt
Implementación de ads.txt
More like this
DSP - Edit a Campaign
DSP - Edit a Campaign
More like this
DSP - Creatives
DSP - Creatives
More like this