< back to Template Programming

Advertising Module

Reference for advertising module: components, data types, fields and sample code.

Last updated on 9/5/2013

Adertising Module Fields

The advertising module provides the following components for displaying ad zones.

Component List

ComponentData
AdvertisingViewer Zone

Common Fields for ItemView tab

The following fields can be used in the ItemView tab of the template html dialog editor. If the data displayed (Zone) has the CMS field indicated, then the code will be available to use by the Component.

Field Name (Template)CMS FieldTypeCommentsOptions
code * Computed text HTML and Javascript that will display campaigns in the zone  

Common Fields for Before & After tabs

N/A

Zone Specific Fields

These fields can be used by any component that displays a zone. 

Template FieldCMS FieldTypeCommentsOptions
id id int    

Sample Code

The following section shows common sample code for each component type.

AdvertisingViewer

 @code@