/
Creating a Site
Creating a Site
This function allows to create a zone within the system.
The request must be done through POST method.
URL:/admin/adnet/pub/admin/sitios.html?op=a&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> <identificador>1241</identificador> </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 Site
Editing a Site
More like this
How to market a Site Online
How to market a Site Online
More like this
Como comercializar um site online?
Como comercializar um site online?
More like this
Keywords Creation
Keywords Creation
More like this
How to Use the Platform
How to Use the Platform
More like this
Piezas Rich Media programadas en HTML5
Piezas Rich Media programadas en HTML5
More like this