/
KW Macros for Ads

KW Macros for Ads

 

This document explains how to add a Keyword Macro into an Ad.

 

How to use KW MARCOS into ads

  1. Go To Manage Tab and select “Campaign”
  2. Select “Campaign”
  3. Chose a Campaign
  4. Select “Add Ad” or “Import 3P ad server tag”

 

a) You can introduce the MACRO into the Link text/Title or Description field (for jpg, png, gif or text link ads)
b)  You can introduce the MACRO into a Flash Banner (via FlashVars)
c)  You can introduce the MACRO into the JavaScript Code area (for 3P ad server tag/ Banner - HTML)

JPG / GIF / PNG / TEXTLINK

 

FLASH - BANNER

The way to add a Macro into a .swf is with FlashVars. It´s made by adding 'name=$kw_parametername' in the field >> Additional Flash Variables in the Ad Upload Form. This is set inside the .swf, just like the clickTag variable is included. 

 

* A .swf example is attached.

 

3P AD SERVER TAG

 

 

Banner - HTML

The Macro must be included in the Code:

 

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<HTML><HEAD>
<TITLE>$TITLE</TITLE>
</HEAD>
<BODY topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' >
<table cellpadding='0' cellspacing='0' border='0'><tr><td>
<EPL_JAVASCRIPT_SECTION>
<div style='display:table; height:198px; width:198px; margin:0;border:#000000 1px solid;background:#FF9900;color:#FFFFFF;font-family:Arial;font-size:25px;font-weigh:bold;'>
    <div style='display:table-cell;vertical-align:middle;text-align:center;position:relative'>
        Hola $kw_nombre
    </div>
</div>
</EPL_JAVASCRIPT_SECTION>
</td></tr></table>
</BODY></HTML>

 


 

Macros for KW Type Option List, Decimal Number, Number, Text

For Kw called “Category” with parameter name is “cat” you can use the following MACRO:

$kw_parametername >>>> $kw_cat

 

 

 

 

 

 

 

 

Macros for KW type: Data Table

For Kw called “Country” with parameter name is “con” you can use the following MACRO

$kwt_parametername >>>> $kwt_con

 

 

 

 

 


Examples:

Keyword 1

Name: League 

Parameter Name: leg

Type:  Option List 

MACRO: $kw_leg

 

Keyword 2

Name: City 

Parameter Name: cit

Type:  Data Table 

MACRO: $kw_cit // $kwt_cit


Resulting Ad:

Related content