KW Macros for Ads
This document explains how to add a Keyword Macro into an Ad.
How to use KW MARCOS into ads
- Go To Manage Tab and select “Campaign”
- Select “Campaign”
- Chose a Campaign
- 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'> |
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: