XPO Ad Tag is a snippet of a JavaScript that is placed individually into different ad inventory space(s) on which your creatives are displayed. With this tag, Knorex captures activities, engagements, and intentions of visitors navigating through different publishers and multiple traffic sources. 

Creative ad tags are used to direct viewers towards the creative displayed and save your time to edit directly from the server and not via individual publishers.

XPO Ad Tag uses asynchronous mode, which does not slow the loading time of your creatives displayed in multiple publishing sites. 

  

1. Non-Expandable Creative Ad Tag

You can generate these ad tags via XPO Arena.

There are 2 formats (Javascript and iFrame), where each format has 2 options:

  • Normal mode: the creative size is fixed and will not change with different devices
  • Adaptive mode: the creative size will adapt and adjust to the different screen sizes available

Javascript Tag

<script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>'></script>

 

iFrame Tag for Normal mode

<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>"></iframe>

 

iFrame Tag for Adaptive mode

<iframe frameborder=0 scrolling=no width="100%" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>"></iframe>

 

You can set these options in the CMS. If JavaScript ad tag is used, switching between these two formats does not incur any changes in the ad tag.

However, in the iFrame ad tag, switching between normal and adaptive mode requires you to update the ad tag. 

 

Enabling Macros For Non-Expandable Creative Ad Tag

Ad tags can handle DFP click macros, DBM click macros, view-through macros, and custom macros from other systems. 

A. Enabling DFP Click Macros

DFP click macro name is “click”, and the placeholder is “ %%CLICK_URL_ESC_ESC%% ”.

We expect the value of click macro to be escaped twice. For instance, if click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.

Javascript Tag

<script type='text/javascript' src=‘//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=%%CLICK_URL_ESC_ESC%%&ct=click'></script>

iFrame Tag
<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=%%CLICK_URL_ESC_ESC%%&ct=click"></iframe>


B. Enabling DBM Click Macros

DBM click macro name is “click”, and the placeholder is “${CLICK_URL} or ${CLICK_URL_ESC_ESC}”.

We expect the value of click macro to be encoded or escaped twice. For instance, if click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.

Javascript Tag with Click Macro escaped twice

<script type='text/javascript' src=‘//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL_ESC_ESC}&ct=click'></script>

Javascript Tag with Click Macro encoded

<script type='text/javascript' src=‘//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL}&ct=click'></script>

iFrame Tag with Click Macro escaped twice

<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=%%CLICK_URL_ESC_ESC%%&ct=click"></iframe>

iFrame Tag with Click Macro encoded

<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL}&ct=click"></iframe>


C. Enabling Third-Party Click Macros

DBM click macro name is “click”, and the placeholder is “${CLICK_URL} or ${CLICK_URL_ESC} or  ${CLICK_URL_ESC_ESC}”.

We expect the value of click macro to be encoded or escaped once or escaped twice. For instance, click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.

Javascript Tag with Click Macro escaped once

<script type='text/javascript' src=‘//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL_ESC}&ct=click'></script>

Javascript Tag with Click Macro escaped twice
<script type='text/javascript' src=‘//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL_ESC_ESC}&ct=click'></script>

Javascript Tag with Click Macro encoded
<script type='text/javascript' src=‘//sv.brand-display.com/adedge/api/bd/serving/simple/js?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL}&ct=click'></script>

iFrame Tag with Click Macro escaped once
<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=%%CLICK_URL_ESC%%&ct=click"></iframe>


iFrame Tag with Click Macro escaped twice

<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=%%CLICK_URL_ESC_ESC%%&ct=click"></iframe>


iFrame Tag with Click Macro encoded

<iframe frameborder=0 scrolling=no width="300" height="250" src="//sv.brand-display.com/adedge/api/bd/serving/simple/frame?aukey=<adtag_id>&_=%%CACHEBUSTER%%&click=${CLICK_URL}&ct=click"></iframe>

 

 

2. Expandable Creative Ad Tag

You can generate these ad tags from Knorex XPO™.

  • Normal mode: the creative size is fixed and will not change with different devices
  • Adaptive mode: the creative size will adapt and adjust to the different screen sizes available

You can set these options in the CMS.

However, switching between these two options does not incur any changes in the ad tag. For the expandable ad tag, we have only JavaScript tag.


Javascript Tag

<div id=“c52e2a1d5ece78524502"></div> <script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>'></script>


Enabling Macros For Expandable Creative Ad Tag

A. Enabling DFP Click Macros

DFP click macro name is “click”, and the placeholder is “%%CLICK_URL_ESC_ESC%%”.

We expect the value of click macro to be escaped twice. For instance, click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.


Javascript Tag 

<div id="c52e2a1d5ece78524502"></div><script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>&_=%%CACHEBUSTER%%&wrap=c52e2a1d5ece78524502&click=%%CLICK_URL_ESC_ESC%%&ct=click'></script>

 


B. Enabling DBM Click Macros

DBM click macro name is “click”, and the placeholder is “${CLICK_URL} or ${CLICK_URL_ESC_ESC}”.

We expect the value of click macro to be encoded or escaped twice. For instance, click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.

 Javascript Tag with Click Macro escaped twice

<div id="c52e2a1d5ece78524502"></div><script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>&_=%%CACHEBUSTER%%&wrap=c52e2a1d5ece78524502&click=${CLICK_URL_ESC_ESC}&ct=click'></script>

Javascript Tag with Click Macro encoded
<div id="c52e2a1d5ece78524502"></div><script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>&_=%%CACHEBUSTER%%&wrap=c52e2a1d5ece78524502&click=${CLICK_URL}&ct=click'></script>


C. Enabling Third-Party Click Macros 

DBM click macro name is “click”, and the placeholder is “${CLICK_URL} or ${CLICK_URL_ESC_ESC}”.

We expect the value of click macro to be encoded or escape once or escaped twice. For instance, click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.

Javascript Tag with Click Macro escaped once

<div id="c52e2a1d5ece78524502"></div><script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>&_=%%CACHEBUSTER%%&wrap=c52e2a1d5ece78524502&click=${CLICK_URL_ESC}&ct=click'></script>

Javascript Tag with Click Macro escaped twice
<div id="c52e2a1d5ece78524502"></div><script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>&_=%%CACHEBUSTER%%&wrap=c52e2a1d5ece78524502&click=${CLICK_URL_ESC_ESC}&ct=click'></script>

Javascript Tag with Click Macro encoded
<div id="c52e2a1d5ece78524502"></div><script type='text/javascript' src='//sv.brand-display.com/adedge/api/bd/serving/simple/js2?aukey=<adtag_id>&_=%%CACHEBUSTER%%&wrap=c52e2a1d5ece78524502&click=${CLICK_URL}&ct=click'></script>

Was this article helpful?
0 out of 0 found this helpful