Footer.php Action Hook
One piece of code that should be included with your theme, but is not required, is the action hook, wp_footer().
Most theme developers, however, do include this hook in the footer.php file. Personally, this hook should be required for all themes. Since it is optional, you need to add it to your footer.php file if it does not already exist. The cd-ad-sponsor plug-in uses this hook to reset the database table of sponsor ads that have been displayed.

Excluded IPs are compared to the user IP address to determine whether a click-through is registered for a Sponsor Ad. This exclusion is necessary to prevent false clicks, such as when the site administrator tests a displayed ad link. This feature is provided to accurately track CPC and CPM statistics in the
The default options allow you to define the global settings relating to your sponsor ads. It is recommended that you define the purchase URL and the alt/title tag text for use with the default ads you specified for each zone.
The Banner Report page provides an overview of the current performance of each ad as well as a listing of all user-defined reports. Default reports provide a performance overview of each ad, while user-defined reports provide a more segmented view. User-defined reports are available to submit to your sponsors for billing purposes.
Ad Schedules allow you to specify the Sponsor Ads displayed at a particular location (or zone) within a specified time frame. The Sponsor Ads displayed are the result of your prior definitions for the program and revenue type. The Click-through and Impressions column indicate the total counts during the scheduled time period.
Banner Ads represent the image- or script-based advertisement for a specific site or product. Script-based Ads are usually obtained through Google, Amazon, etc. Image-based Ads have preference over any Script-based Ad definition. If both Image- and Script-based Ads are defined, the Image-based Ad is used.
Zones define the location or position within your theme where qualified Ads are placed. You are not limited to the number of zones you can define, however, I recommend that you only define the minimum number of zones necessary to present your ads as desired within the current theme. You can easily create a visually undesirable page by polluting your content with too many ads.
Email