Date rules set parameters for when an ad can run, taking into account publish days and non-publish days, including holidays. Ad-Owl packages require date rules to ensure ads are priced correctly. Date rules can be defined globally, where all packages inherit the same default set of start, run and no-run dates, or they can be defined within the packages individually. 

Default Date Rules

Setting default date rules (which are applied to all packages) is generally the preferred method if all or most of the packages have the same start, run and no-run dates AND all packages have the same deadline dates.  Its important to note that date rules can be overridden at the package level if necessary, allowing for the bulk of the packages to continue to use the default rules.

To edit default date rules, within Ad-Owl's application settings, open the 'Publications & categories' menu, edit a publication to open the "Edit publication" popup menu, and then select the 'Default date rules' tab.

adowl_daterules_default

Package Date Rules

It may still be valuable to declare package-specific date rules if the categories they serve have publication dates or deadline requirements different from the majority of the classifieds packages.  

Package date rules can be defined by accessing the 'Packages' menu, opening a package to edit, and then selecting the 'Date rules' tab.

Creating the Date Rules

All of the following fields can be declared specifically or have the 'any' wildcard applied to the rule: typeyearmonthday, and day of week.  Deadline days can be any value, including zero -- which defaults to immediate ad placement.  Deadline time is provided in increments of 15 minutes and the start window can be any logical value, though it is most frequently set to 60 days when this value is not provided by the newspaper.

Date rules are created by using the pull-down boxes to create rules of each of the following three types:

Start date rules define what days an ad may start on and the deadline by which the ad must be submitted for the start date to be a valid selection. Deadlines are specified as a quantity of days prior to the start date and a time on that resulting day. Each rule also has an optional Start Window which specifies the maximum number of days prior to the start date within which an ad order may be placed.

Run date rules define what days an ad may run on beyond its selected start date. Unless a value is defined here, ad runs greater than 1 day will not work.  (Ex. Daily papers must have all days of the week selected that the paper is published -- Weekly papers printing on Thursdays would select only Thursdays)

No-run date rules are applied after start and run date rules. They are used to selectively blacklist dates which are otherwise allowed by the other two rule lists (Ex. holidays).  This is an optional rule.

After rules are created (either in the package or instance-wide) the Ad-Owl module must be published for the changes to take effect.

Tags