Share via


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.

Data Members

Data Member Name Data Type Default Value Description
Active SHORT None Records if the CampaignItem object is active.
ArchivedDate FILETIME None Records when the CampaignItem object was archived.
CampItemNum LONG 0 Stores the unique key for the CampaignItem object.
CampNum LONG 0 None
Comments WSTR None Records any comments regarding the objects.
CreativeNum LONG 0 None
EndDate FILETIME None Records when the CampaignItem object was discontinued.
ExportedDate FILETIME None Records when the CampaignItem object was exported.
ExposureLimit LONG None None
GUIDCampItemType UUID {00000000-0000-0000-0000-000000000000} None
ModifiedBy WSTR None Records who last modified the CampaignItem object.
ModifiedDate FILETIME None Records when the CampaignItem object was last modified.
Name WSTR None Stores the name of the CampaignItem object.
SiteName WSTR None Records the name of the site associated with the CampaignItem object.
StartDate FILETIME None Records when the CampaignItem object was activated.

Class Key

CampaignItemKey is composed of a single data member, CampItemNum.

Relations

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

Relation Name Parent Child Type
AdItemCampaignItem CampaignItem AdItem 2
CampaignItemCampaign Campaign CampaignItem 2
CampaignItemCampaignEventRel CampaignItem CampaignEvent 2
CampaignItemCampaignItemEventsByDateAndUser CampaignItem CampaignItemEventsByDateAndUser 2
CampaignItemCampaignItemTypes CampaignItemTypes CampaignItem 2
CampaignItemCreative Creative CampaignItem 2
CampaignItemPageGroupXrefRel CampaignItem PageGroupXref 2
CampaignItemTargetGroupXrefRel CampaignItem TargetGroupXref 2
DmItemCampaignItem CampaignItem DmItem 2
OrderDiscountCampaignItem CampaignItem OrderDiscount 2


All rights reserved.