Adform displaying code

Last modified by Lenka Kocurková on 2015/05/15 10:48
Comments (0) · Attachments (5)

The code consists of script part which performs displaying of the banner and noscript part. Within usage in iBB Ad Server it is not required to insert <noscript> part into iBB Ad Server.

Code preview before the insertion:

adform.jpg


The procedure of implementation

  1. Take out following part from the original Adform tags: <script language="javascript" src="http://track.adform.net/adfscript/?bn=1927570"></script>

  2. Insert this part into iBB Ad Server as HTML version of banner
    2015-05-13_072231.jpg
  3. Click on Insert button, the code will be overwritten to javascript form (document.write):
    document.write("<SCR"+"IPT language=\"javascript\" src=\"http://track.adform.net/adfscript/?bn=1927570\"><"+"/SCR"+"IPT>");


  4. Check if code displays (returns) banner in real preview.

    However, such created banner would count clicks only in Adform system, not in Ad Server stats. For such reason add string into code which contains iBB REDIRECT placeholder. This modification secures that clicks will be counted in both Ad Serving systems.
    The form of REDIRECT string in case of Adform displaying code for iBB Ad Server is used as follows:
    ;click=%%__REDIRECT%%

  5. Insert this mentioned REDIRECT string to code of banner, just behind the part "..?bn=1927570"

    Final and well-prepared code would look like as follows::
    document.write("<SCR"+"IPT language=\"javascript\" src=\"http://track.adform.net/adfscript/?bn=1927570;click=%%__REDIRECT%%\"><"+"/SCR"+"IPT>")

    2015-05-13_072456.jpg

The amended code will then count clicks in both systems. It is displaying code, i.e. landing page where the particular banner reffers to is inserted in Adform system. No URL is then needed to set in iBB Ad Server in case of displaying codes of such type.

Click in Adform system is first performed. It occures through returned ibb REDIRECT. Information about performed click is sent back to our system. Technically, it adds iBB redirect URL behind Adform tracking URL. 

Tags:
Created by ZdVo on 2015/01/20 08:33
Translated into en by ZdVo on 2015/04/09 12:54

Navigation


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 4.0 - Documentation