Campaigns
This topic describes the classes used to collect and describe marketing data. Marketing data includes custom advertisements, scheduled advertising content, and advertising campaigns. The individual classes are described after the logical diagram. For more information about these classes, see Data Warehouse Classes.
The following diagram shows the major classes used for campaign management and their relationships.
Campaign Classes
Industry
Code
Commerce
Event
Customer
Event
Type
Target
Target
Group
Xref
PageGroup
Xref
Campaign
Event
Campaign
ItemEvents
ByDate
AndUser
RegisteredUser
URI
Date
LogUser
Site
PageGroup
Target
Group
AdItem
DrnItem
Order
Discount
Campaign
Item
Campaign
Creative
Size
Creative
Type
Xref
Creative
Creative
Type
Campaign
Item
Types
AdItem
This class represents scheduled advertising content for a Web page. The class contains data members describing when the advertisement runs and codes linking the advertisement to the products it represents. The IndustryCode class provides a classification of the type of advertisement contained in the AdItem object.
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.
CampaignEvent
This class stores event information for marketing campaigns. An event for a marketing campaign includes hits on CampaignItem objects and business transactions involving CampaignItem objects.
CampaignItem
This class represents the content included in a marketing campaign (a Campaign object) and/or a scheduled advertisement (a Creative object). The content is represented by one or more of the following objects: AdItem, DmItem, or OrderDiscount.
A CampaignItem object may belong to a specific type of campaign item, specified by a link to a CampaignItemTypes object.
The content items may target specific groups of users; if this occurs, the CampaignItem object links to one or more TargetGroupXRef objects. The TargetGroupXRef class cross-references custom content items with targeted user groups.
Finally, the content items may be part of a Web page presenting multiple groups of custom content. A PageGroupXRef object cross-references the CampaignItem object with the page or pages containing the items.
A CampaignItem object may have multiple content items (for example, AdItem objects), and may target multiple user groups. 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 relationships between classes.
CampaignItemTypes
This class represents categories for custom Web page content.
Creative
This class defines the business process involved in scheduling Web content for a customer (for example, an advertiser). The type of content is recorded by a link to a CreativeType object. One or more CampaignItem objects describe the scheduled content; this content includes advertisements, discounts, related sell items, or direct mailings. A CreativeSize object defines the area of the Web page used to contain the content.
A Customer object may have multiple Creative objects associated with it; this represents multiple advertisements for the customer over time. A Creative advertisement 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 relationships between classes.
CreativeSize
This class represents the size of custom content on a Web page.
CreativeType
This class categorizes custom content for Web pages.
CreativeTypeXRef
This class categorizes custom content for Web pages.
Customer
This class defines a customer who uses advertising through a Commerce Server 2000 Web site. A Customer object associates with an IndustryCode object, which defines the category of industry the customer belongs to. A link to one or more Campaign objects records the marketing campaigns for the customer. A link to one or more Creative objects records any custom advertisements for the customer.
DmItem
This class represents scheduled direct mailing items. The class contains data members detailing the direct mail content, including address and format information.
EventType
This class represents a categorization of marketing events. An EventType object describes a marketing event, and associates with one or more Campaign objects representing the marketing campaigns in the event.
IndustryCode
This class categorizes the type of industry a customer or advertising item represents.
OrderDiscount
This class represents discounted sale items. The class contains data members describing the items and conditions of the sale.
PageGroup
This class represents a group of custom content items used on a Web page for a marketing campaign. The page is part of one or more marketing campaign events; a link from the PageGroup object to one or more CampaignEvent objects represents this information. CampaignItem objects represent the custom content items, and link to the PageGroup object through one or more PageGroupXRef objects.
PageGroupXRef
This class cross-references custom Web page content with the Web page or logical set of Web pages that contain the content. A PageGroupXRef associates a CampaignItem object, which describes the custom content, with a PageGroup object. The PageGroup object represents a Web page or logical set of Web pages that contains custom content.
A single piece of custom content may span multiple Web pages; this is represented by a CampaignItem object linked to multiple PageGroupXRef objects. A single Web page or logical set of Web pages may have multiple separate content items; this is represented by a PageGroup object linked to multiple PageGroupXRef objects.
Target
This class defines a target for marketing and custom Web content, such as a particular type of user. A TargetGroup object links to one or more Target objects to form target groups. The custom content for the group of targets links to the TargetGroup object through a TargetGroupXRef object.
TargetGroup
This class defines a group of targets for marketing and custom Web content. One or more Target objects linked with a TargetGroup object forms a target group. A target group links to the content for the group through a TargetGroupXRef object.
TargetGroupXRef
This class cross-references a target group with the custom content for the target group. Target objects form target groups by linking with a TargetGroup object. The custom content, represented by a CampaignItem object, links to the TargetGroup object through the TargetGroupXRef object.