Ad tag is a code snippet usually in JavaScript that is placed individually into different ad inventory space(s) on which your creatives are displayed. With this tag, Knorex captures the 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
Click here to learn how to generate these ad tags via XPO Admin Dashboard.
There are 2 formats (Javascript and iFrame) of ad tags that you can use; each format operates in 2 options/modes:
- 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 Ad Tag
Both Normal and Adaptive modes are automatically supported in the same 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>
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 you choose to use JavaScript ad tag, you don't need to make any change when switching between normal vs adaptive mode. However, if you choose to use the IFrame ad tag, you would need to update 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 the click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.
Javascript Tag
iFrame Tag
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 the click URL is http://example.com/click, the macro value should be “http%253A//example.com/click”.
Javascript Tag with Click Macro escaped twice
Javascript Tag with Click Macro encoded
iFrame Tag with Click Macro escaped twice
iFrame Tag with Click Macro encoded
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
Javascript Tag with Click Macro escaped twice
Javascript Tag with Click Macro encoded
iFrame Tag with Click Macro escaped once
iFrame Tag with Click Macro escaped twice
iFrame Tag with Click Macro encoded
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
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
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
Javascript Tag with Click Macro encoded
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
Javascript Tag with Click Macro escaped twice
Javascript Tag with Click Macro encoded
Comments
0 comments
Article is closed for comments.