Share via


Campaign

This class defines the business process involved in running a marketing campaign for an advertiser. The Campaign class associates a customer (advertiser) with a set of CampaignItem objects (advertisements, discounts, direct mailings, or related sell items). A Campaign object is associated with an EventType object, which describes the marketing event.

A Customer object may have multiple Campaign objects associated with it; this represents multiple advertising campaigns for the customer over time. A Campaign may contain multiple sets of content items (CampaignItem objects). Each set of content items, in turn, may have multiple items (for example, AdItem objects), and may target multiple user groups. Finally, a Web page may contain multiple content items, and a content item may be included in multiple, distinct pages. All of these possibilities are represented through the one-to-many relations between classes.

Data Members

Data Member Name Data Type Default Value Description
CampActive SHORT None None
CampaignExported FILETIME None Records when the Campaign object was exported.
CampaignModified FILETIME None Records when the Campaign object was last modified.
CampaignModifiedBy WSTR None Stores who last modified the Campaign object.
CampArchived FILETIME None Records when the Campaign object was archived.
CampEnd FILETIME None Records when the Campaign object was discontinued.
CampEventsSched LONG None Stores the number of campaign events scheduled for the Campaign object.
CampLevelGoal SHORT None None
CampName WSTR None Stores the name of the Campaign object.
CampNum LONG 0 Stores the unique key for the Campaign object.
CampStart FILETIME None Records when the Campaign object became active.
CustomerComments WSTR None Stores any comments made by the customer associated with the Campaign object.
CustomerNum LONG 0 None
EventName WSTR Not available None
SiteName WSTR None Stores the name of the site associated with the Campaign object.

Class Key

CampaignKey is composed of a single data member, CampNum.

Relations

For a description of the relation type, see Data Warehouse Classes.

Relation Name Parent Child Type
CampaignCustomer Customer Campaign 2
CampaignEventType EventType Campaign 2
CampaignItemCampaign Campaign CampaignItem 2


All rights reserved.