Note that there is an analogous table, SimCreatives, that is used during the inventory simulation.
Column | Type | Default | Extra | Comment |
![]() |
int(11) | auto_increment | ||
![]() |
int(11) | |||
Name | varchar(64) | |||
![]() |
enum('Active', 'Cancelled', 'Completed','Suspended') | Active | A creative is by default "Active". When it reaches its completion date or its impression target, it is marked as "Completed". You can manually mark it as "Suspended" or "Cancelled". | |
StartDate | date | 0000-00-00 | Creatives can have start dates that are independent of the campaign's start date -- note that an start date set earlier than the campaign will be overridden by the campaign's start date. | |
EndDate | date | 0000-00-00 | Creatives can have end dates that are independent of the campaign's end date -- note that an end date set later than the campaign will be overridden by the campaign's end date. | |
Redirect | enum('Y', 'N') | N | Set to "Y" if this is a third-party redirection. | |
MediaType | enum('Image', 'Rich Media') | Image | ||
MIMEType | varchar(64) | This is set to the MIME type of the content. For images, the graphic file format is used to determine the MIME type, but it can be overridden if it is misidentified. | ||
Animated | enum('Y', 'N') | N | This is set automatically by the ImageMagick tool identify when images are uploaded. It is important for the delivery of cache-busting headers (the headers can't be used with animated GIFs). | |
![]() |
smallint(5) unsigned | |||
![]() |
smallint(5) unsigned | |||
Weight | int(11) | 1 | This is the weight of creatives relative to the other creatives in their campaign. If a daily impression target is specified for the campaign, the weight determines what share of those impressions will go to this creative. If the campaign has no impression target, then the creative will run with a weight calculated from both the campaign weight and the creative weight. | |
Content | blob | This can contain the actual digital image for the creative, or in the case of a third-party redirection, it can contain the URL. | ||
AltText | varchar(255) | |||
ClickthroughURL | varchar(255) | |||
ImpressionsGuaranteed | int(11) | The number of impressions to be delivered for this creative. This only has an effect if the campaign itself has a non-zero ImpressionsGuaranteed. | ||
ImpressionsDelivered | int(11) | Each hour, the hourly maintenance script will update this value based on the number of impressions in the previous hour. | ||
ClicksDelivered | int(11) | Each hour, the hourly maintenance script will update this value based on the number of clickthroughs in the previous hour. | ||
DaysOfWeek | tinyint(3) unsigned | 127 | A bitmask indicating which days of the week the campaign should run; low bit is Sunday, high bit is Saturday. This value is ANDed with the bitmask from the campaign. | |
HoursOfDay | mediumint(8) unsigned | 16777215 | A bitmask indicating which hours of the day the campaign should run; low bit is hour 0, high bit is hour 23. This value is ANDed with the bitmask from the campaign. |