Internal instructions for the new tags
Hi Arel and Scott, I thought it would be wise to make 1 page with the tags for your to check, then I will be able to split it again and you both do not need to check everything.
First party tagging:
This first part of the code can only be in the <HEAD> of the html file The minimal code which has to be there is:<script type="text/javascript"> var adnxsId = 700691; </script> <script type="text/javascript" src="http://cdn.adnxs.com/megatag.js"></script>The maximal code which can be there is:
<script type="text/javascript"> var adnxsId = 700691; var adnxsSetIframeSize = true; var adnxsManualLoad = true; var adnxsDebug = true; </script> <script type="text/javascript" src="http://cdn.adnxs.com/megatag.js"></script>This Second part of the code can only be in the <BODY> of the html file This part of the code inside the BODY needs to be inside a UNDEFINED div The minimal code which has to be there is:
<div><script type="text/javascript">adnxs.megatag.load({ size: '728x90' });</script></div>
The maximal code which can to be there is:
<div><script type="text/javascript">adnxs.megatag.load({ size: '728x90', setIframeSize: true, position: 'bottom', age: 25, promoSizes: ['1x1', '468x60'] });</script></div>
NOTE: You need to choose between "var adnxsSetIframeSize = true;" in the HEAD or "setIframeSize:true" in the body. It can NOT be set in both.Third party tagging:
With the Third party tagging there is NO code in the <HEAD> of the html file The minimal code which has to be there for an adcall is:
<div id="wa_ad_slot_1">
<script type="text/javascript">
(window._anq = (window._anq || [])).push({
cmd: function() {
adnxs.megatag.load({
frameWindow: window,
targetId: 'wa_ad_slot_1',
adnxsId: 700691,
size: '300x250'
});
}
});
</script>
<script src="http://cdn.adnxs.com/megatag.js"></script>
</div>
NOTE: placementCount: 2, is not required
NOTE: the div id and targetId must match and be unique id's for the entire page
The maximal code which can to be there is:
<div id="wa_ad_slot_2">
<script type="text/javascript">
(window._anq = (window._anq || [])).push({
cmd: function() {
adnxs.megatag.load({
frameWindow: window,
targetId: 'wa_ad_slot_2',
adnxsId: 700691,
size: '728x90',
promoSizes: ['468x60'],
placementCount: 3,
position: 'bottom',
setIframeSize: true,
age: 25,
manualLoad: true
});
}
});
</script>
<script src="http://cdn.adnxs.com/megatag.js"></script>
</div>
NOTE: placementCount should represent the number of ads on the page.
NOTE: the div id and targetId must match and be unique id's for the entire page
Sincerely,
WebAds Technical Team