Initial Considerations:
A. In the interface’s Global Preferences, look for the option “Enable options to activate auto creation of zones and spaces”, and select “Yes”.
This will enable the creation of zones, subzones and spaces when a request with new elements is sent.
B. Enable the auto creation from the site that requires it.
This is done in the Site´s form (Addition or Edition):
Implementation: How to Use the AUTO CREATION of Zones, Subzones and Spaces
1. In your interface, add a site, a zone (and a subzone if the structure requires so), and a space.
2. Extract a JavaScript/AjaxV4 code from your interface and implement it in your site.
JavaScript
<!-- e-planning v3 - Start of space QQQ _ seccion1 _ espacio1 --> <script type='text/javascript' language='JavaScript1.1'> <!-- var rnd = (new String(Math.random())).substring(2,8) + (((new Date()).getTime()) & 262143); var cs = document.charset || document.characterSet; document.write('<scri' + 'pt language='JavaScript1.1' type='text/javascript' src='http://ads.eu.e-planning.net/eb/3/1c6/seccion1/subseccion1/espacio1?o=j&sz=300x250&rnd=' + rnd + '&crs=' + cs + ''></scr' + 'ipt>'); //--> </script> <!-- e-planning v3 - End of space QQQ _ seccion1 _ espacio1 --> |
...
3. Modify the SRC route in the JavaScript code, including the new references for:
- Zones
- Subzones
- Spaces
4. You must use the site’s ID and the references of the zone and space previously created in the code’s route in the interface:
http://ads.eu.e-planning.net/eb/3/1c6/seccion1/espacio1?
1c6 >>> site’s ID
zone1>>>> name of the zone
subzone1>>>>> name of subzone
space1>>>>>> name of space
5. Then, you will be able to add new zones, subzones and spaces directly to the code.
http://ads.eu.e-planning.net/eb/3/1c6/Sports/Football/Top728x90?
...
Sports>>>>name of the zone
Football>>>>>name of subzone
Top728x90>>>>>>name of space
...
6. As additional parameters, you will be able to use the following:
sz= to indicate the space’s size
e.g.: &sz=300x250
lnw= to indicate if the banner’s landing page will open in a new window or not
lnw= 0 NO
lnw=1 YES
e.g.: &sz=300x250&LNW=1
Multiple Ajax V4 (the type of code recommended for Publishers).
In the same way we identified all the inventory references in JavaScript V3, we can do in AjaxV4:
sI:1c6 >>> site’s ID
sec:zone1>>>>name of zone
...
eIs:space1>>>>>>name of space
<script language='JavaScript' type='text/javascript'><!--
<script type='text/javascript'>eplAD4M('space1');</script> |
Steps detailed in the other type of code must be followed in order to use the Auto Creation functionality when Ajax V4 is being utilized:
- Create the structure in 1 level.
- Extract the code.
- Replace the existing names with the new ones to be created in the system.
The same functionality is available with > XML Feed
http://ads.us.e-planning.net/eb/4/1c6/zone1/subzone1/space1?o=f&rnd=$RANDOM&th=1447a2f77ff29b5b&ma=1 |
/1c6/ >>> site`s ID
/zone1/>>>> name of zone
/subzone1/>>>> name of subzone
/space1/>>>>>> name of space
Important Note: When new zones, subzones and spaces are created in the system and they match a campaign which is in effect, they will be included automatically. Matches are case sensitive, that is, they distinguish between low case and upper case font types. |