Tratamento pixel contador para envio à terceiros

<IMG SRC="http://de.realmediadigital.com/RealMedia/ads/adstream_nx.ads/site1/pagina1/[RANDOM_NUMBER]@x06">

 

Exemplo DFP:

<IMG SRC="http://de.realmediadigital.com/RealMedia/ads/adstream_nx.ads/site1/pagina1/%%CACHEBUSTER%%@x06">



Tramento para ADServers:

APPNEXUS (Xaxis, Batanga, etc)

 

 (TAG PCX)

 

<script type='text/javascript'>

<script type='text/javascript'>

OAS_rn = '001234567890'; OAS_rns = '1234567890';

OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='https://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/jjterra/espcarinho/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"${CACHEBUSTER}@x02!x02?${CLICK_URL}'"+"><"+"\/script"+">");

</script>


DFP


 (TAG PCX)


<script type='text/javascript'>

<script type='text/javascript'>

OAS_rn = '001234567890'; OAS_rns = '1234567890';

OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/jjterra/espcarinho/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"%%CACHEBUSTER%%@x02!x02?%%CLICK_URL_ESC%%'"+"><"+"\/script"+">");

</script>


OAS


Tag (gerar PCX):

<!-- Here is the Open AdStream PCX 2.0 Code -->

<script type='text/javascript'>

OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/imovelwebr7/home/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"@x04!x04?%%C%%?'"+"><"+"/script"+">");

</script>

<!-- Here is the Open AdStream PCX 2.0 Code -->



MFP


Tag:

<!-- Here is the Open AdStream PCX 2.0 Code -->

<script type='text/javascript'>

OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/imovelwebr7/home/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"@x04!x04?%redir%$ct=''"+"><"+"/script"+">");

</script>

<!-- Here is the Open AdStream PCX 2.0 Code -->



 Template e Tag para Globo, Mercado Livre, Estadão Bondfaro, IG e demais portais com OAS


Template:

<script type="text/javascript">

//<![CDATA[

var filePath = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.swf/%%FILEDATE%%";

var TFSMFlash_PRETAG = "";

var TFSMFlash_POSTTAG = "";

var TFSMFlash_VERSION = "8";

var TFSMFlash_WMODE = "window";

var TFSMFlash_OASCLICK = encodeURIComponent("%%QUERY%%") + "%%C%%?" ; 

var TFSMFlash_SWFCLICKVARIABLE = "?oas="+TFSMFlash_OASCLICK + ""; 

var TFSMFlash_SWFFILE = filePath + TFSMFlash_SWFCLICKVARIABLE;

var TFSMFlash_FSCOMMAND = "";

var TFSMFlash_IMAGEALTERNATE = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.jpg/%%FILEDATE%%"; 

var TFSMFlash_OASALTTEXT = ""; 

var TFSMFlash_OASTARGET = "_blank";

var TFSMFlash_OASPROTOCOL = "%%PROTOCOL%%";

var TFSMFlash_OASDIM = "width='300px' height='250px'";

var TFSMFlash_OASADID = "OAS_RMF_%%POS%%_FLASH";

document.write("<scr" + "ipt src='http://de.realmediadigital.com/RealMedia/ads/Creatives/rmlanetwork/javascript/TFSMFlashWrapper301.js'>" + "</scr" + "ipt>");

//]]>

</script>


Tag (gerar PCX):

<!-- Here is the Open AdStream PCX 2.0 Code -->

<script type='text/javascript'>

OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/imovelwebr7/home/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"@x04!x04?%%C%%?'"+"><"+"/script"+">");

</script>

<!-- Here is the Open AdStream PCX 2.0 Code -->


Tratamento UOL


Template:

<script type="text/javascript">

//<![CDATA[

var filePath = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.swf/%%FILEDATE%%";

var TFSMFlash_PRETAG = "";

var TFSMFlash_POSTTAG = "";

var TFSMFlash_VERSION = "8";

var TFSMFlash_WMODE = "window";

var TFSMFlash_OASCLICK = encodeURIComponent("%%QUERY%%") + "%%C%%?" ; 

var TFSMFlash_SWFCLICKVARIABLE = "?oas="+TFSMFlash_OASCLICK + ""; 

var TFSMFlash_SWFFILE = filePath + TFSMFlash_SWFCLICKVARIABLE;

var TFSMFlash_FSCOMMAND = "";

var TFSMFlash_IMAGEALTERNATE = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.jpg/%%FILEDATE%%"; 

var TFSMFlash_OASALTTEXT = ""; 

var TFSMFlash_OASTARGET = "_blank";

var TFSMFlash_OASPROTOCOL = "%%PROTOCOL%%";

var TFSMFlash_OASDIM = "width='300px' height='250px'";

var TFSMFlash_OASADID = "OAS_RMF_%%POS%%_FLASH";

document.write("<scr" + "ipt src='http://de.realmediadigital.com/RealMedia/ads/Creatives/rmlanetwork/javascript/TFSMFlashWrapper301.js'>" + "</scr" + "ipt>");

//]]>

</script>


Tag (PCX, conforme homologação):

<!-- Here is the Open AdStream PCX 2.0 Code -->

<script type='text/javascript'>
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/rmuol/teste/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"@x09!x09?%%CLICK_URL_ESC%%'"+"><"+"/script"+">");</script>

<!-- Here is the Open AdStream PCX 2.0 Code -->



Tratamento Terra 


Template:

<script type="text/javascript">

//<![CDATA[

var filePath = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.swf/%%FILEDATE%%";

var TFSMFlash_PRETAG = "";

var TFSMFlash_POSTTAG = "";

var TFSMFlash_VERSION = "8";

var TFSMFlash_WMODE = "window";

var TFSMFlash_OASCLICK = encodeURIComponent("%%QUERY%%") + "%%C%%?" ; 

var TFSMFlash_SWFCLICKVARIABLE = "?oas="+TFSMFlash_OASCLICK + ""; 

var TFSMFlash_SWFFILE = filePath + TFSMFlash_SWFCLICKVARIABLE;

var TFSMFlash_FSCOMMAND = "";

var TFSMFlash_IMAGEALTERNATE = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.jpg/%%FILEDATE%%"; 

var TFSMFlash_OASALTTEXT = ""; 

var TFSMFlash_OASTARGET = "_blank";

var TFSMFlash_OASPROTOCOL = "%%PROTOCOL%%";

var TFSMFlash_OASDIM = "width='300px' height='250px'";

var TFSMFlash_OASADID = "OAS_RMF_%%POS%%_FLASH";

document.write("<scr" + "ipt src='http://de.realmediadigital.com/RealMedia/ads/Creatives/rmlanetwork/javascript/TFSMFlashWrapper301.js'>" + "</scr" + "ipt>");

//]]>

</script>


Tag (PCX, conforme homologação):

<script type='text/javascript'>

<script type='text/javascript'>

OAS_rn = '001234567890'; OAS_rns = '1234567890';

OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/jjterra/espcarinho/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"%%CACHEBUSTER%%@x02!x02?%%CLICK_URL_ESC%%'"+"><"+"\/script"+">");

</script>


Tratamento Abril


Template:

<script type="text/javascript">

//<![CDATA[

var filePath = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.swf/%%FILEDATE%%";

var TFSMFlash_PRETAG = "";

var TFSMFlash_POSTTAG = "";

var TFSMFlash_VERSION = "8";

var TFSMFlash_WMODE = "window";

var TFSMFlash_OASCLICK = encodeURIComponent("%%QUERY%%") + "%%C%%?" ; 

var TFSMFlash_SWFCLICKVARIABLE = "?oas="+TFSMFlash_OASCLICK + ""; 

var TFSMFlash_SWFFILE = filePath + TFSMFlash_SWFCLICKVARIABLE;

var TFSMFlash_FSCOMMAND = "";

var TFSMFlash_IMAGEALTERNATE = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.jpg/%%FILEDATE%%"; 

var TFSMFlash_OASALTTEXT = ""; 

var TFSMFlash_OASTARGET = "_blank";

var TFSMFlash_OASPROTOCOL = "%%PROTOCOL%%";

var TFSMFlash_OASDIM = "width='300px' height='250px'";

var TFSMFlash_OASADID = "OAS_RMF_%%POS%%_FLASH";

document.write("<scr" + "ipt src='http://de.realmediadigital.com/RealMedia/ads/Creatives/rmlanetwork/javascript/TFSMFlashWrapper301.js'>" + "</scr" + "ipt>");

//]]>

</script>


Tag (recomendável usar JX gerada no OAS):

<!--- Here is the Open AdStream JX Code for the x01 position --->

<!-- 1st Section Begins : Delivery via OAS JX Tag -->

<script type="text/javascript">

<!--

OAS_rn = '001234567890'; OAS_rns = '1234567890';

OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/rmabril/homolog/1" + OAS_rns +"@x01?%%CLICK_URL_ESC%%'><\/script>");

// -->

</script>

<!-- 1st Section Ends : Delivery via OAS JX Tag -->

<!-- 2nd Section Begins : Delivery via OAS NX Tag for non-Javascript Browser -->

<noscript>

<a href='http://de.realmediadigital.com/RealMedia/ads/click_nx.ads/rmabril/homolog/@x01?%%CLICK_URL_ESC%%'><img src='http://de.realmediadigital.com/RealMedia/ads/adstream_nx.ads/rmabril/homolog/@x01'></a>

</noscript>

<!-- 2nd Section Ends : Delivery via OAS NX Tag -->



Tratamento R7


Template:

<script type="text/javascript">

//<![CDATA[

var filePath = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.swf/%%FILEDATE%%";

var TFSMFlash_PRETAG = "";

var TFSMFlash_POSTTAG = "";

var TFSMFlash_VERSION = "8";

var TFSMFlash_WMODE = "window";

var TFSMFlash_OASCLICK = encodeURIComponent("%%QUERY%%") + "%%C%%?" ; 

var TFSMFlash_SWFCLICKVARIABLE = "?oas="+TFSMFlash_OASCLICK + ""; 

var TFSMFlash_SWFFILE = filePath + TFSMFlash_SWFCLICKVARIABLE;

var TFSMFlash_FSCOMMAND = "";

var TFSMFlash_IMAGEALTERNATE = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.jpg/%%FILEDATE%%"; 

var TFSMFlash_OASALTTEXT = ""; 

var TFSMFlash_OASTARGET = "_blank";

var TFSMFlash_OASPROTOCOL = "%%PROTOCOL%%";

var TFSMFlash_OASDIM = "width='300px' height='250px'";

var TFSMFlash_OASADID = "OAS_RMF_%%POS%%_FLASH";

document.write("<scr" + "ipt src='http://de.realmediadigital.com/RealMedia/ads/Creatives/rmlanetwork/javascript/TFSMFlashWrapper301.js'>" + "</scr" + "ipt>");

//]]>

</script>


Tag (recomendável usar JX gerada no OAS):

<!--- Here is the Open AdStream JX Code for the x01 position --->

<!-- 1st Section Begins : Delivery via OAS JX Tag -->

<script type="text/javascript">

<!--

OAS_rn = '001234567890'; OAS_rns = '1234567890';

OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='http://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/rmabril/homolog/1" + OAS_rns +"@x01?%%CLICK_URL_ESC%%'><\/script>");

// -->

</script>

<!-- 1st Section Ends : Delivery via OAS JX Tag -->

<!-- 2nd Section Begins : Delivery via OAS NX Tag for non-Javascript Browser -->

<noscript>

<a href='%%CLICK_URL_ESC%%http://de.realmediadigital.com/RealMedia/ads/click_nx.ads/rmabril/homolog/@x01'><img src='http://de.realmediadigital.com/RealMedia/ads/adstream_nx.ads/rmabril/homolog/%%CACHEBUSTER%%@x01'></a>

</noscript>

<!-- 2nd Section Ends : Delivery via OAS NX Tag -->


Tratamento e Tag Yahoo

· Obs (todas as tags enviadas para Yahoo devem ser seguras (https)


Template:

<script type="text/javascript">

//<![CDATA[

var filePath = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.swf/%%FILEDATE%%";

var TFSMFlash_PRETAG = "";

var TFSMFlash_POSTTAG = "";

var TFSMFlash_VERSION = "8";

var TFSMFlash_WMODE = "window";

var TFSMFlash_OASCLICK = encodeURIComponent("%%QUERY%%") + "%%C%%?" ; 

var TFSMFlash_SWFCLICKVARIABLE = "?oas="+TFSMFlash_OASCLICK + ""; 

var TFSMFlash_SWFFILE = filePath + TFSMFlash_SWFCLICKVARIABLE;

var TFSMFlash_FSCOMMAND = "";

var TFSMFlash_IMAGEALTERNATE = "%%CDN%%/RealMedia/ads/Creatives/%%CAMP%%/retangulo_abril_dfp.jpg/%%FILEDATE%%"; 

var TFSMFlash_OASALTTEXT = ""; 

var TFSMFlash_OASTARGET = "_blank";

var TFSMFlash_OASPROTOCOL = "%%PROTOCOL%%";

var TFSMFlash_OASDIM = "width='300px' height='250px'";

var TFSMFlash_OASADID = "OAS_RMF_%%POS%%_FLASH";

document.write("<scr" + "ipt src='https://de.realmediadigital.com/RealMedia/ads/Creatives/rmlanetwork/javascript/TFSMFlashWrapper301.js'>" + "</scr" + "ipt>");

//]]>

</script>


<script type='text/javascript'>
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

document.write("<scr"+"ipt type='text/javascript' src='https://de.realmediadigital.com/RealMedia/ads/adstream_jx.ads/homologacao/yahoo/_on_" + location.hostname + location.pathname + "/1" + OAS_rns +"[TIMESTAMP]@x04!x04?${CLICKURL}'"+"><"+"\/script"+">");

</script>

<noscript>

<A HREF="${CLICKURL}https://de.realmediadigital.com/RealMedia/ads/click_nx.ads/homologacao/yahoo@x15!x15" TARGET="_blank"><IMG SRC="https://de.realmediadigital.com/RealMedia/ads/adstream_nx.ads/homologacao/yahoo@x15!x15" BORDER="0"></a>

</noscript>

 

Obs.: Colocar os parametros de Impressão e Click para substituirem o [TIMESTAMP] e ${CLICKURL} , respectivamente