/
Editing a Site
Editing a Site
It modifies an existing site. The site identifier must be known.
The request must be done through POST method.
URL : /admin/adnet/pub/admin/sitios.html?op=m&o=xml
Mandatory parameters:
- name: site’s name. It must have at least 2 characters. It is recommended to include only letters and names, with no spaces.
- url: site´s URL
- sitipo_id: (only to Network or Agency interfaces) sitipo type - to indicate if it’s an own site (64) or 3rd party site (2).
- atributos_1: (only Network interfaces) it allows to indicate that the site shall approve the ads before publishing them. Indicate 1 or 0 accordingly.
- atributos_2: (only if DSM module is active): to indicate if the site will be enable run DSM campaigns.
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> |
Response example with errors:
<operacion> <resultado>0</resultado> <errores> <error atributo=”nombre” mensaje=”Invalid option”/> </errores> </operacion> |
, multiple selections available,
Related content
Editing a campaign
Editing a campaign
More like this
Archiving a Site
Archiving a Site
More like this
Implementación de ads.txt
Implementación de ads.txt
More like this
Advertisers Listing
Advertisers Listing
More like this
Advertisers Information
Advertisers Information
More like this
Creación de Espacios
Creación de Espacios
More like this