How can I Pass in the Creative Size With Another Ad Server?
In order to reduce the number of tags you have to generate for multiple ad sizes, Evidon Enterprise tags can accept Creative Size Ad Server Macros from your ad server. The steps involved are:
1. Setup your Evidon Enterprise tag as you would normally. The tag will look like:
<script type="text/javascript" src="http://c.evidon.com/durly.js#;ad_w=300;ad_h=250;coid=xxx;nid=xxx"></script>
2. To use the macros, you will need to determine what format your ad server returns for the creative dimensions.
• If your ad server can individually return the numeric height and width, your Evidon Enterprise tag would look like this, with <AD SERVER WIDTH MACRO> and <AD SERVER HEGHT MACRO> being placeholders for the actual macro strings:
<script type="text/javascript" src="http://c.evidon.com/durly.js#;ad_w=<AD SERVER WIDTH MACRO>;ad_h=<AD SERVER HEIGHT MACRO>;coid=xxx;nid=xxx"></script>
• If your ad server can return the height and width in the format heightxwidth (ex. 300x250) you would first need to remove the ad_w and ad_h string from the Evidon Enterprise tag (ex. ad_w=300;ad_h=250). In its place, use the ad_wxh variable with the <AD SERVER CREATIVE SIZE MACRO>. So your tag will look like:
<script type="text/javascript" src="http://c.evidon.com/durly.js#;ad_wxh=<AD SERVER CREATIVE SIZE MACRO>;coid=xxx;nid=xxx"></script>
• If your ad server return the height and width with a capital X to separate height and width, you would again replace the ad_w and ad_h strings, but this time the variable name is a_wXh. So the tag would then look like:
<script type="text/javascript" src="http://c.evidon.com/durly.js#; ad_wXh=<AD SERVER CREATIVE SIZE MACRO>;coid=xxx;nid=xxx"></script>
3. Insert the updated tag as you would normally into your ad server.