1. AdSpirit ad server - Advertising
Calling code normal advertising space and copy the script code.
Example (adscript) :
<script src="http://mt.adspirit.de/adscript.php?pid=2&ord=[timestamp]" type="text/javascript" language="JavaScript"></script>
2. Adjust the script code
- The URL in the script src="…" of .../adscript.php... share in: .../admultiscript.php...?
- Parameters &pid=X replace &pids=X,Y,Z,... (please note the extra s to "pids")
- Add instead of X, Y, Z, etc., the IDs of the advertising space to be downloaded. The IDs are in the advertising space list below the checkbox (see screenshot).
- Optionally, you can append &nodouble=1 appended to the URL of admultiscript.php to avoid that a campaign is repeatedly included in the output by admultiscript.php campaigns.
Example custom code (admultiscript) :
<script src="http://meinname.adspirit.de/admultiscript.php?pids=27,28,29,30,31&nodouble=1&ord=[timestamp]" type="text/javascript" language="JavaScript"></script>
3. Publisher
- The publisher receives the customized Multi Script code and inserts it in the <head>...</head>.
- At the point where the banner will be shown, must be called the JavaScript function asm_display (X). the ID of the advertising space in turn is inserted in place of X to be output at this point.
Example of advertising space 1 - Banner 728x90:
<script type="text/javascript" language="JavaScript">
<!--
asm_display(1);
//-->
</script>