AdItem
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This class represents scheduled advertising content for a Web page imported by the Campaign Data Import DTS task. The class contains data members that describe when the advertisement runs and codes that link the advertisement to the products it represents. The IndustryCode class provides a classification of the type of advertisement that is contained in the AdItem object.
Data Members
Data member name |
Data type |
Default value |
Description |
---|---|---|---|
AdItemCustomerOrderNum |
nvarchar(255) |
null |
Stores the code used by customers to order through the advertisement. |
AdItemDaysOfWeekMask |
smallint |
null |
Indicates which days of the week the advertisement was shown. |
AdItemEventsScheduled |
int |
null |
Stores the number of scheduled events associated with the advertisement. |
AdItemInternalFlag |
int |
null |
Internal flag used by Commerce Server. |
AdItemNum |
int |
null |
Stores the unique key for the object. Key member. |
AdItemTimeOfDayEnd |
smallint |
null |
Indicates the time of day the advertisement stopped being displayed. |
AdItemTimeOfDayStart |
smallint |
null |
Indicates the time of day the advertisement started being displayed. |
AdItemType |
smallint |
null |
Stores the type of advertisement. |
AdItemWeight |
int |
null |
Stores the relative importance of the advertisement. |
SiteName |
Nvarchar(255) |
null |
Stores the name of the site associated with the advertisement. |
CampItemNum |
binary |
1 |
None. |
IndustryNum |
binary |
1 |
None. |
Class Key
AdItemKey is composed of the following data members:
AdItemNum + SiteName.
Relations
For a description of the relation type, see Data Warehouse Classes.
Relation Name |
Parent |
Child |
Type |
---|---|---|---|
AdItemCampaignItem |
CampaignItem |
AdItem |
2 |
AdItemIndustryCode |
IndustryCode |
AdItem |
2 |