Electronic Manual - AdvertisingSuite
© SunnyScript - www.sunnyscript.com

 
Table of contents
 
Installation and configuration [go] Directory structure
[go] File transfer to the server
[go] Configuration
Overview about website advertisements [go] Ad banners & Co.
[go] Beginner's questions
Administration panel [go] Admin menu
System implementation [go] Edit AdvertisingSuite parameters (part 1)
[go] Edit AdvertisingSuite parameters (part 2, payment methods)
[go] Manage site zones - overview
[go] Manage site zones - available settings
[go] Manage banner formats - overview
[go] Manage banner formats - available settings
[go] Implement banner slots to websites
Ad space management & advanced features [go] Ad banner content
[go] All about advertisers
[go] Disabling the advertiser lounge
[go] Keyword targeting
[go] Custom geographical zones
[go] Additional admin tools - statistics
[go] Manage system tables - restructure table, table parameters & layout
Office tools management [go] Manage the office behind
[go] Order and payment tracking
[go] Invoice management
[go] Table of daily statistics
[go] Send out mailings
[go] Database import and export tools
Advertiser lounge and template management [go] Access the advertiser lounge
[go] Advertiser lounge - basic overview
[go] Advertiser lounge customization with templates
[go] Available templates
[go] Customization of templates
Helpful hints and technical reference [go] Background processes
[go] Ad banner delivery vs. system resources
[go] Banner format creation
[go] Time based advertisements
[go] Banner selection and ranking criteria
[go] Affiliate management with YourAffiliates
[go] Forgot your admin password ?
[go] Advertiser lounge and template translations
[go] Advanced search features
Customer services [go] Need help ? Contact the SunnyScript service department !

Smart tip: This handbook is also designed to be printed... set your printer's page orientation to landscape format, so there is enough space to place hand-written notes on the left and right margin easily.
 


 
Installation and configuration
 
SunnyScript offers an optional available installation service, if you don't want to install the software yourself.
Please contact our customer service department by e-mail for detailed information and pricing.
 
Directory structure...

The software can be installed at any place that allows the execution of CGI software: Most server systems provide a special directory called "cgi-bin" where you have to install the application, while others are not limited to a particular location.

In a common environment, we recommend to create a new sub-directory within the existing "cgi-bin" folder to separate the software from other already installed products.

Required "template.en" directory:

Inside the directory you desired for installation, please create a new sub-directory called "template.en". It's used to hold the content of "template.en" directory delivered with your software package.

Required "data" directory:

Inside the directory you desired for installation, please create a new sub-directory called "data". It's used to hold the content of "data" directory delivered with your software package.

Adjust path to Perl:

Open all program files (*.pl and *.cgi) in a text editor and change the first line "#!/usr/bin/perl" that it reflects the correct path to Perl 5 (or higher version) on your system. This is required to let your server know where the Perl interpreter is located.

Usage note: On most systems, /usr/bin/perl is already the default path to Perl and so no modifications are required.
 

File transfer to the server...

Upload all files to the created directories. If a ftp client is used, ensure to set the "ASCII transfer mode" for file submissions.

Detailed file table: Scheme: [filename | suggested place to upload (short description); file permission]:
 
Filename...
Description...
Filename...
Description...
* cgi-bin (program & data files); 755 template.en/* template.en (templates); 666
    data/* data (basic data files); 666

Important notes: Please double-check file permissions and transfer mode, otherwise the software may not work as intended. Depending upon the server configuration, different file permissions than the ones stated above may be necessary.

Smart tip: Our installation helper install.cgi makes it easier... just call it from your web browsing software (requires correct installation of this script) and it automatically checks your entire installation, adjusts permissions and fixes typical errors.
 

Configuration...

After you have uploaded all files, you may wish to start the admin panel first time to initialize the system parameters. In order to do so, please call admin.cgi with your favorite web browsing software:
 
Action to perform...
URL to call (location varies on your system, of course)...
Open admin panel http://www.sunnyscript.com/cgi-bin/as/admin.cgi

Before you proceed, it is highly recommended to set an administration password. After this is done, access to the admin panel is granted only by using "admin" as login together with the chosen password.

Now click on the button "Edit system parameters" and configure the shown parameters according your needs.

Usage note: Since all parameters are automatically filled with correct values, modifications on your side may not be required.

Directories and files:
 
Name of parameter to set...
Description...
CGI files directory
Example: /usr/www/cgi-bin/as
Absolute path to the location of AdvertisingSuite on your server.
"binarydata" directory *
Example: /usr/www/cgi-bin/as/bindata
Absolute path to the location that holds binary database content (ads).

* Technical note: The software tries to create this directory at a web-accessible place (certain cgi-bin locations doesn't allow to deliver multimedia content). If you experience problems in content delivery, please move it manually to a suited location.

Platform specific settings:
 
Name of parameter to set...
Description...
Mailing program (for Unix only)
Example: /usr/bin/sendmail
Absolute path to Sendmail (or compatible) application on your server.
SMTP server
Example: smtp.sunnyscript.com
SMTP server for handling mails; when left blank, the default mail application is used. This setting is required for non-Unix systems, otherwise optional.
Don't use flock
Example: Unchecked
"flock" is normally supported directly by the operating system; should it be unavailable for any reason (e.g. on Win9x, WinMe), mark this checkbox.
Don't use fork
Example: Unchecked
"fork" is normally supported directly by the operating system; should it be unavailable for any reason, mark this checkbox.
Forked process respawn interval (seconds)
Example: 60
Respawn interval for processes; recommended range: 30 to 60 seconds.
Admin e-mail address
Example: admin@sunnycript.com
E-mail address of the system administrator (e.g. webmaster).

URLs:
 
Name of parameter to set...
Description...
Binary directory URL
Example: http://www.sunnyscript.com/cgi-bin/as/bindata
URL to the location that holds binary database content.
URL of CGI files directory
Example: http://www.sunnyscript.com/cgi-bin/as
URL to the location of AdvertisingSuite on your server.
URL of checkout script (should be secure)
Ex.: https://www.sunnyscript.com/cgi-bin/as/checkout.cgi
URL pointing to the checkout part of AdvertisingSuite. In order to enable SSL encryption, change the transfer protocol to HTTPS.
URL of user's help document (optional)
Example: http://www.sunnyscript.com/myhelp.htm
URL to an optional help document (not included); may also consist of an e-mail link (e.g. "mailto:support@sunnyscript.com").

Usage note: Should contain a link to your company's terms of business, customer service details or any other related document.

Compression settings:
 
Name of parameter to set...
Description...
Use internal gzip compression
Example: Checked
Use the internal compression utility (to pack statistical reports) or unmark this checkbox and specify external utility as followed.
External compression utility command
Example 1: gzip -fq $file_from
Example 2: c:\winrar.exe a $file_to $file_from
Absolute path to a file compression application on your server.

Technical note: In some cases, the variables $file_to and $file_from are required to determine source and target files (see available literature).

External compressed file extension
Example: gz
File extension used by the external compression utility.

Various parameters:
 
Name of parameter to set...
Description...
Authentication time (in seconds)
Example: 10800
Time frame keeping user authentications active (after expiration, people must log in again); recommended range: 1 to 12 hours.

After you have verified all settings carefully, click on the button "Save parameters" to take over modifications to the system. It is also possible to bring back previous values with the "Let the script restore defaults" button.
 

Congratulations - you have successfully installed the software :-)

 
Overview about website advertisements
Ad banners & Co. ...

What kinds of ad banners are available ?

Image based ads:

This is the most popular type of ad banners, consisting of one (animated) graphical element holding the whole ad information. Dozens of different file types are available, but GIF, JPG, PNG and BMP formats are the suited ones for advertisements.

Text based ads:

The opposite to image banners are text based ones. Although they are considered as being not very eye-catching, a well-done text ad can lead to the same attention, but with a widely reduced transmission time (no large binary content).

Multimedia banners:

Also known as "JavaScript banners", "rich-text banners" or "interactive banners", combining graphical and text based elements mostly together with any kind of interactive content (like miniature forms or "mouse over" actions).

3rd-party banners:

AdvertisingSuite manages the ad space as well as the content delivery - but in some cases you may wish to show ad banners from other sources, like link exchanges or commercial services.

Which banner types / dimensions are the right for my website ?

This decision is fully up to yours: AdvertisingSuite is not limited to a particular banner type for a specific slot (ad space); so if it is requested by your advertisers, a multimedia banner can be placed in the same slot a text based one was shown before.

Where on my website should I place ad banners ?

On smaller websites, banner slots placed at the pages' top and bottom can do the job fine. Larger or complex sites may make it recommended to create different site zones seen on popularity, visibility and content perspectives.

Each site zone comes with its own preferences regarding banner placement and charging methods (e.g. ads on the index page are generally more expensive than such on sub-pages).

Tip: You achieve higher click-through rates (and satisfied clients) when placing not more than two to five banners per webpage; otherwise it becomes too overloaded and visitors will pay less attention to each single advertisement.

Can I serve different websites (located on different servers) ?

Yes, AdvertisingSuite is able to deliver banners to multiple websites, even if they are not located on the same server. So this entitles our software also to work as an ad server for smaller networks.
 

Beginner's questions...

How to implement AdvertisingSuite-powered banners to my website ?

Banner slots are easily added by placing some HTML tags to your documents; a HTML generator tool can create these codes automatically to make the entire task convenient and to avoid spelling errors.

What is the advertiser lounge ?

The advertiser lounge is used to allow your clients managing their ad campaigns (including payment handling).

However if you desire to manage the ad space by yourself, you can also disable the usage of the advertiser lounge. For more information about all features, please refer to the chapter "Advertiser lounge and template management".

Can I also rotate images / content ?

Of course, you can rotate images as well as any multimedia content, like product spots (e.g. to point out a particular highlighted article or service) and clickable headlines (e.g. on news services).
 


 
Administration panel

The administration panel is a convenient way to work interactively with AdvertisingSuite. You can start the admin panel by calling admin.cgi with your favorite web browsing software:
 
Action to perform...
URL to call (location varies on your system, of course)...
Open admin panel http://www.sunnyscript.com/cgi-bin/as/admin.cgi

How to access the advertiser lounge (registered clients area, advertiser registrations):
 

Action to perform...
URL to call (location varies on your system, of course)...
Access advertiser lounge http://www.sunnyscript.com/cgi-bin/as/login.cgi             or
http://www.sunnyscript.com/cgi-bin/as/my.cgi
 
Admin menu...

This screen allows the following actions:
 
Main menu options...
Description...
Manage system tables
 
Table...
Description...
... of registered advertisers Database containing advertiser profiles.
... of banners Database containing banners.
... of custom geographical zones Database containing custom geo. zones.
... of daily statistics Database containing daily statistics.
... of orders Database containing orders.
... of invoices Database containing invoices.
 
Additional admin tools
 
Section...
Description...
Additional services Generate banner slot HTML codes.
Statistics View activity statistics.
 
Quick statistics View summarized system statistics.
Edit AdvertisingSuite parameters Modify general parameters and manage system preferences.
Change password Change admin password.
Other administrative features
 
Section...
Description...
Edit system parameters Modify system related parameters.
Edit templates Edit the layout templates.
Import / export data Import and export databases.
 

The top menu line provides additional selections (depending on the current system status):
 

Top menu options...
Description...
Admin Go to the main admin menu.
Settings Adjust software parameters.
Statistics Review activity statistics.
Home Browse the currently active system table.
Search Search the currently active system table.
Login / Logout Login or logout as administrator.
Moderate Approve or decline user modifications.
Restructure Modify structures and parameters of the currently active database.
Add / Clone / Update / Delete Add, clone, update or delete profiles / records.
 

 
System implementation
Edit AdvertisingSuite parameters (part 1)...

First of all you must configure basic system settings which take effect to the behavior of the software. Click on the button "Edit AdvertisingSuite parameters" when you're in the admin menu. 

General settings:
 

AdvertisingSuite asks...
Description...
Name of site Name of your website (e.g. "My sample company").
URL of site URL of your website (e.g. "http://www.sunnyscript.com"), as it will be displayed at the advertiser lounge and within mailings.
Footer to be added to each e-mail Default footer being added to all outgoing e-mails; suited especially for showing your business card or advertisements.
Date format Specify the date format applicable for the advertiser lounge.

Default setting: DD. MMMM YYYY
Example for default: 01. January 2525

Available components for this parameter:
 

Component...
Description...
Date format parts
D 2-digit day (without leading zero).
DD 2-digit day (with leading zero).
DDD Abbreviation of the weekday.
DDDD Complete name of the weekday.
M 2-digit month (without leading zero).
MM 2-digit month (with leading zero).
MMM Abbreviation of the month.
MMMM Complete name of the month.
YY 2-digit year.
YYYY 4-digit year.

Some sample combinations:

DD. MMM YYYY               -> 01. Jan. 2525
DDD, MM. D. YYYY           -> Wed., 01. 1. 2010
YY-MM-DD                   -> 25-01-01

Usage note: Additional text is taken over unmodified (e.g. "Today, DD. MM YYYY").

Security settings:
 

AdvertisingSuite asks...
Description...
E-mail blocking
In some cases you may wish to block particular e-mail addresses from creating advertiser profiles (e.g. e-mail addresses coming from free mail providers to prevent abuse).
Accept all e-mail addresses Mark this button in order to allow all e-mail addresses for creation of advertiser profiles.
Block these e-mail addresses Activate "Block these e-mail addresses" and specify a list of domains and/or e-mail addresses (one per line) not allowed to be used by people creating advertiser profiles.
IP blocking
In order to avoid abuse by known bad sources or to not consider own banner access, it is possible to block IP addresses from being counted for impressions and click-throughs.
Ignore impressions / clicks
from these IPs or segments
Specify a list of IP addresses (one per line) not counted (however banners are displayed correctly). Also partial IP addresses (use *, e.g. 123.456.78.*) are allowed.

Keep this field empty to allow all IP addresses being counted.

Bad words blocking
Prevent the usage of obscene words in advertisements set up by advertisers.
Do not accept text with
these substrings
Specify a list of words or strings (one per line) not allowed for ad banner content. The provided input is not handled case sensitive (so any kind of spelling is detected).

"Welcome new advertiser" message:
 

AdvertisingSuite asks...
Description...
Send welcome message Mark this button to send welcome messages to new advertisers.

Currency settings:
 

AdvertisingSuite asks...
Description...
Currency prefix Type in the prefix of the desired currency (e.g. "$" for usage in "$12.34 USD").
Currency suffix Type in the suffix of the desired currency (e.g. " EUR" for usage in "12.34 EUR").
Currency decimals Specify the number of decimal places in desired currency (commonly two).
Currency 3-digits separator Decide for a character you want to use in order to separate amounts every three digits (e.g. $1'499.80 USD or 2.700,40 EUR).

Admin's notification:
 

AdvertisingSuite asks...
Description...
Send receipt to admin Marked to send a notification to admin for each new incoming order.

Order logging settings:
 

AdvertisingSuite asks...
Description...
Orders log file
Required by YourAffiliates
Absolute path of the log file location used by YourAffiliates (or other compatible affiliate managers) to track sale based commissions. Leave it empty to disable tracking.

Sample setting: /usr/www/cgi-bin/ya/data/sales.db

Orders log file format Select either "New release format" or "New release format, moderated" when using YourAffiliates ("Old release compatibility" is intended for elder releases of this product).
How long keep "affiliate cookie"
on user's computer (in hours)
If you use AdvertisingSuite to place affiliate cookies (see "Helpful hints and technical reference"), then you can set the time period to hold cookies on visitor's computer.

Recommended value: 48 hours. Parameter is optional.

Order security settings:
 

AdvertisingSuite asks...
Description...
Time to keep cart on server (hours) Specify the time period, shopping carts (containing ad budgets) of your advertisers will be held in the system. Recommended range: 1 to 5 hours.

Technical note: As longer you keep the carts alive, as more diskspace is temporarily required (about 1 KB per cart).

Max. time to await payment
confirmation from card processor
It defines the time period the system waits for order confirmations from the credit card processor. Recommended value: 12 hours.

Usage note: Applicable for the payment method "Credit card real-time processing" only (described closer below).

Order restrictions:
 

AdvertisingSuite asks...
Description...
Order sub-total
Minimum order value Type in the minimum transferable amount of money per order.
Format: 12.34 (without any currency prefix or suffix)
Maximum order value Type in the maximum transferable amount of money per order.
Format: 12.34 (without any currency prefix or suffix)
Payment location restrictions
Show standard country list Select this option and a pre-defined list of countries will be shown.
Accept payments from following
locations only
Type in a list of locations from which you will accept payments. Use a two-char location code and full name separated by pipe, one pair per line.

Format: <Two-char abbreviation>|<Full location name>

For example:

UK|United Kingdom
FR|France
DE|Germany

Usage note: There is no need to keep attention to specific conventions, you can invent your own list of locations depending upon your requirements.

Payment methods: See next part of this chapter.

Advertiser control panel layout:
 

AdvertisingSuite asks...
Description...
Advertiser lounge layout
Hide "Account balance" form Mark this button to disallow advertisers checking their remaining credits.

Please refer to the chapter "Ad space management and advanced features", part "Disabling the advertiser lounge" for more information.

Hide "Deposit" form Mark this button to disallow advertisers transfering money to their accounts.

Please refer to the chapter "Ad space management and advanced features", part "Disabling the advertiser lounge" for more information.

Payment screen layout
Product name used on cart Product label shown during the checkout process and on invoices for money deposits.
Default value: "Deposit".
Menu layout
Menu items separator Characters that will appear between the top menu items (standard value: " | ").
Main menu entries Right box (available selections): Choose entry and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove an entry or use "Up" and "Down" buttons to change entry order.

Alternatively you can type in a comma delimited list of entries manually.

"Home", "Profile update", "Add banner", "Logout", "Help" entry text Labels (linking text) used for top menu entries.

You can also insert image tags according valid HTML standard. "Help" allows also an e-mail address, like "mailto:support@sunnyscript.com".

Banner rotation settings:
 

AdvertisingSuite asks...
Description...
Targeting methods allowed to users
Determine the targeting methods available to advertisers.
Allow ... hours of day targeting Advertisers are able to select the hours of day (0 to 24) for banner appearance.
Allow ... weekdays of day targeting Advertisers are able to select the weekdays (Monday to Friday) for banner appearance.
Allow  ... days of month targeting Advertisers are able to select the days of month (1 to 31) for banner appearance.
Allow  ... geo. zones targeting Advertisers are able to select the geographical zones for banner appearance.
Allow  ... site zones targeting * Advertisers are able to select matching site zones for banner appearance.
Allow  ... keyword targeting ** Advertisers are able to specify required keywords for banner appearance.
Geographical zones targeting settings
These parameters takes effect only when "Allow ... geo. zones targeting" is enabled.
Use internal database
for country-by-IP search
Mark this option to use our internal database for conversions of country and continent searches based upon IP addresses (to "translate" IPs into geographical zones).

Technical note: It is recommended to update this database on a yearly basis. Please contact our customer service department for details.

Use custom geographical zones db Enable this option to use your own database for targeting (see table of geo. zones).

* Requires that you have different site zones specified (see below within this chapter).
** Works only with compatible software; please refer to the chapter "Ad space management & advanced features".

Technical note: The admin is allowed to set all targeting methods regardless of these preference settings.

Important note: Please be careful when allowing advertisers selecting targeting methods; on low-traffic websites (about 2500 requests per day) you should enable only "weekdays" or "days of month" targeting to get satisfying results.

Surcharges for banner impressions targeting:

For each targeting method you can set a percentage surcharge which applies as soon as the advertiser will use it.
 

AdvertisingSuite asks...
Description...
Surcharge applies to Select the base for calculating targeting surcharges.
 
Available selection...
Description...
Not applicable No surcharge applies for special targeting.
Click-through charge Click-through charge as base.
Impr. and click-through charge Impression and click-through charges as base.
 
Surcharge for ... targeting (%) Type in the percentage amount charged for the concerned targeting method.

For example: "10", "2.5" or "5.99"

Mailings:
 

AdvertisingSuite asks...
Description...
Low balance warning
Sends a notification message to the advertiser as soon as its account's balance reaches a given limit.
Send "low balance" warning mail Mark this button to send out "low balance" notifications.
"Low balance" warning bottom limit Specify the amount to reach before sending warning messages; recommended range: 5 to 25 currency units (EUR, others may vary).
Format: 12.34 (without any currency prefix or suffix)
Zero balance note
Sends a notification message to the advertiser as soon as its account's balance becomes empty (banner delivery stopped).
Send "no balance" warning mail Mark this button to send out "no balance" notifications.
Critical situations alert *
Notifies you in case of technical problems by e-mail; alerts are also stored in error.log located at the "logs" directory of AdvertisingSuite (you may like to check and clear this file from time to time).
Send e-mail alerts in critical sit. Mark this button to receive alert notifications for critical situations.

Usage note: It is also possible to add e-mail addresses pointing to mobile phones or pagers, so you are notified without time loss.

Mailings to advertiser
Sends daily usage statistics to the advertiser (if requested for the concerned banner). You can select the extent of provided statistics (just summarized overview or detailed with impressions and click-through log files).

* Technical note: In order to avoid receiving too many alerts, you will only get one alert related to the same-typed error within 24 hours. However each single alert is logged for later referencing purposes.

Emergency situation handling:

In the case that a banner impression or click-through is not able to be processed for any reason (e.g. banner was deleted in the meantime), an emergency banner with a special URL is called instead of.
 

AdvertisingSuite asks...
Description...
Redirect erroneous clicks
to this URL
URL to forward people to in emergency situations.
Code (ID) of emergency
graphical banner
ID of an existing graphical banner to be shown in emergency situations.
Text or HTML code of emergency
rich-text banner
Text and/or HTML codes used as rich-text banner shown in emergency situations.

Technical note: In case that both could apply, the graphical and the rich-text emergency banner, the graphical banner has priority.

Usage notes: Do not remove the banner used as emergency graphical banner; the banner record should be marked as "owned by admin". Emergency banner impressions and click-throughs are not counted or charged to the advertiser.

Data maintenance:

Each time data maintenance runs, the following actions are performed:
 
* Process collected statistical data (will be stored in the daily statistics table).
* Clean the daily statistics table.
* Remove outdated accounts and banners.

Important note: Executing data maintenance is required and needs "fork" function to be enabled (see "System parameters"). If it is disabled due to technical limitations of the server, please follow instructions below.
 

AdvertisingSuite asks...
Description...
Store records in daily statistics table
this number of days
Number of days to keep the "daily statistics" table data stored (this table contains the processed raw data, like usage statistics).

After removal, all statistical information for the concerned time period is lost (so it is advisable to use a generous limit).

Recommended range: 180 days (~ 1/2 year) to 1095 days (~ 3 years).

Remove profiles with no or negative balance after these days Number of days to keep profiles having null or negative balances; keep the field empty in order to disable automatic removement of unused accounts.

Recommended range: 90 days to 180 days.

Data maintenance with disabled "fork" function:

Schedule the file cron_run.pl (the file is located in the software directory of AdvertisingSuite) to be ran regularly by your server (recommended scheduling: each hour). You may use Cron or your server's scheduling tool in order to manage this task.

Technical note: Even when starting data maintenance in this way, ensure to fill in the parameters above.

By the way: If you are new at scheduling server actions, please contact your webhoster for details or refer to available literature. Alternatively you may use the Cron editor we provide (call cron_edt.pl from the command line, e.g. "perl5 cron_edt.pl").

Site zones and banner formats:

Please refer to the after part after next of this chapter for more details about site zones and banner formats.
 

Edit AdvertisingSuite parameters (part 2, payment methods)...

Go to the screen "Edit AdvertisingSuite parameters" and take a look at the part "Payment methods". Alternatively you can click on "Settings" located in the upper left corner of the screen (where available).

These payment methods are accepted when allowing advertisers adding funds into their accounts via the advertiser lounge.

Offline payment:

This payment option applies, when you handle payment processing outside (orders are only taken, no invoices generated).
 

AdvertisingSuite asks...
Description...
Allow buyer choose "Offline
checkout"
Mark this checkbox to enable the "Offline checkout" payment method.
Allow buyer cancel an order Check it to allow the customer to cancel an order until order processing has started. Customers will see a "Cancel order" link on their order receipts.

If an order was cancelled through the customer, you get notified by e-mail and the field "Order cancelled" (table of orders) is set to "Yes" for the concerned order.

Usage note: Disable "User can cancel order" in the table of orders as soon as you started order processing and don't wish the customer to cancel its order anymore.

Important note: Please be careful using this option.

Send invoice:

This payment option will create a customizable invoice for each order.
 

AdvertisingSuite asks...
Description...
Allow buyer choose "Send invoice" Mark this checkbox to enable the "Send invoice" payment method.
Allow buyer cancel an order Check it to allow the customer to cancel an order until order processing has started. Customers will see a "Cancel order" link on their order receipts.

If an order was cancelled through the customer, you get notified by e-mail and the field "Order cancelled" (table of orders) is set to "Yes" for the concerned order.

Usage note: Disable "User can cancel order" in the table of orders as soon as you started order processing and don't wish the customer to cancel its order anymore.

Important note: Please be careful using this option.

Credit card real-time processing:

This payment option requires a "merchant account" registered at a payment processor. In this way, you can handle credit card payments electronically through an online payment system.

Usage note: If you process credit cards by yourself (e.g. via terminal or an electronic cash register), please refer to the payment option "Credit card manual processing" as described later.

Passing back order details from the credit card processor to AdvertisingSuite:

After a payment has been processed (no matter, if accepted or declined), the payment processor must hand over the results back to AdvertisingSuite. For this application, the program passback.cgi is intended.

Instruct your credit card processor to transfer all data to passback.cgi of your AdvertisingSuite installation:
 

Action to perform...
URL to provide to payment processor (location varies on your system, of course)...
Hand over payment processing results to AdvertisingSuite http://www.sunnyscript.com/cgi-bin/as/passback.cgi

And here you can see how to configure AdvertisingSuite to work together with a payment processor...
 

AdvertisingSuite asks...
Description...
Allow buyer choose "Credit card
realtime processing"
Mark this checkbox to enable the "Credit card realtime processing" payment method.
Generate invoice for each
transaction
AdvertisingSuite can add an invoice to the table of invoices for each single transaction.
 
Possible settings...
Description...
Do not generate Disable this feature.
Generate, but internal use only Invoice is generated, but invisible to the customer.
Generate and show to buyers Invoice is generated and link to a printable version is shown to the customer.
 
Order confirmation message
This message confirms the order arrival ("queued for processing").
Send confirmation message to user Select at which stage in order processing an order confirmation is sent to the customer.
 
Possible settings...
Description...
Send receipt in payment
confirmation message
Don't send a confirmation before payment was surely handled by the payment processor.
Send separate receipt Send an order confirmation as soon as the order arrived (payment may be not done so far).
 
Payment gateway configuration
Important note: All parameter settings described here must be provided by the payment processor; set them very carefully.
Name of credit card processor Type in the name of the payment processor.
Payment gateway URL AdvertisingSuite sends all order details to this URL for payment processing.
Payment URL request method Select the submission method (GET or POST).
Form variables AdvertisingSuite will send these variable/value pairs to the payment gateway URL.

Format: <Name of variable>=<Submitted value>
(put only one pair into a single line)

Sample 1: $cart_id=$cart_id
Submit the variable $cart_id and its assigned value.
Sample 2: account=abc123
Submit a variable called account and its fix value abc123.
Sample 3: ordertotal=$total
Take over the value from $total to a new variable.
Sample 4: name=$first_name $last_name
Put two system variables into a new one.

Different payment processors have different requirements in variable names and values being passed through to them.

The following variable names are reserved and holding system data (their values can be taken over according the samples above):
 

Variable name...
Description...
$total * Total sale amount to charge from the credit card (contains numerical value only, format: 12.34).
$cart_id * Cart ID as assigned by AdvertisingSuite.
$first_name, $last_name,
$company, $country,
$state, $zip, $city,
$address1, $address2,
$phone, $_email, ...
Various customer details, as taken from the table of registered users.

Usage note: Also custom fields you invented can be taken over by specifying their names here.

* Important note: These fields are required being submitted to the payment processor.

Payment confirmation "pass back" configuration
After the transaction has been handled (successfully or not) by the payment processor, they need to call passback.cgi in order to inform AdvertisingSuite about the payment status.
Important note: All parameter settings described here must be provided by the payment processor; set them very carefully.
Form field, which holds
shopping cart ID (mandatory)
Provide the name of the variable containing the shopping cart ID of the order (as it was originally delivered by AdvertisingSuite).

Important note: It is required to find the order belonging to the concerned transaction.

Form field, which holds
total amount paid (optional)
Provide the name of the variable containing the total amount as it was charged from the customer's credit card for the concerned order. Accepted format: 12.34.

Technical note: Leave the field empty, if this information is not available.

Form field, which holds
transaction ref. number (optional)
Provide the name of the variable containing the transaction reference number.

Technical note: Leave the field empty, if this information is not available.

Form field, which holds
transaction status (recommended)
Provide the name of the variable containing the transaction status (whether the payment was done successfully or failed).

Important note: It is recommended to let AdvertisingSuite know the payment status.

Value of successful transaction
status
Specify the value, the "transaction status" field must contain, to consider a payment transaction as being done successfully (value must match the submitted one).
Log values of passed back fields Specify a comma-delimited list of all variables passed back to AdvertisingSuite which will be logged in a special file for later reference:

Successful transactions are stored in...
data/transactions.db (suited for database or spreadsheet import)
data/transactions_readable.txt (suited for humans; convenient to read)

Declined transactions are stored in...
data/transactions_err.db (suited for database or spreadsheet import)
data/transactions_err_readable.txt (suited for humans; convenient to read)

Technical note: Leave it empty to disable this feature.

Payment confirmation security
Important note: All parameter settings described here must be provided by the payment processor; set them very carefully.
Allowed request method Select the allowed submission methods of the payment details (GET, POST or both).
Allowed referring URL (optional) If this parameter is set, passback.cgi is allowed to be called from a specific origin only (the URL you name here). Intended to limit access and avoid security injuries.
Action on violation of referring
URL rule (optional)
When passback.cgi is called from an other than the above specified referring URL, one of these actions will be performed:
 
Possible settings...
Description...
Accept payment, but notify admin Payment will be accepted, but a warning message is sent to the administrator.
Decline payment and notify admin * Payment will be declined and a warning message is sent to the administrator.
Decline payment * Payment is declined without notice.

* Important note: Although the payment is not accepted by AdvertisingSuite, it may be already processed - so it is recommended to use these options with care only.

If order sum and passed back paid
total sum doesn't match, then...
If the calculated order total ($total) differs from the charged amount, one of these actions will be performed:
 
Possible settings...
Description...
Accept payment, but notify admin Payment will be accepted, but a warning message is sent to the administrator.
Decline payment and notify admin * Payment will be declined and a warning message is sent to the administrator.
Decline payment * Payment will be declined without notice.

* Important note: Although the calculated amount differs from the paid one, it may be already processed - so it is recommended to use these options with care only.

Script for additional verification
of passed back values
Advanced users only: A verification script (written in Perl) can be placed in here to carry out additional checks before accepting a particular payment.

You can access variables with via $in{VARNAME} hash and access order fields (as in the table of orders) via $order{FIELDNAME} hash.

Technical note: If you push errors to @errors array, payment is declined. If you push warnings to @warnings array, payment is accepted, but a warning message is sent to the admin to notify about a possible security hazard or processing error.

Credit card manual processing:

This payment option is suited to accept credit cards for manual processing (e.g. via terminal or an electronic cash register).
 

AdvertisingSuite asks...
Description...
Allow buyer choose "Credit card" Mark this checkbox to enable the "Credit card" payment method.
Accept these pre-defined
card types
Decide for the credit cards you wish to accept; choose multiple entries by holding the CTRL key (or appropriate) when selecting.
Accept also these card types Add further credit cards for being accepted (e.g. direct debit cards or customer cards).

Format: <Card name>|<Digit length>|<MOD10 test>|<Valid prefix>

<Card name>*: Label of the credit card as it should appear during checkout.
<Digit length>*: Length of the card numbers.
<MOD10 test>: "1" to allow MOD10 check or "0" to disable it (default).
<Valid prefix>: Fix prefix of the card numbers to accept.

Examples:

My Personal Card|16|1|812
Your Card|15

* Important note: Card name and digit length are mandatory, other fields are optional.

How to store credit card numbers Submitted credit card numbers can be stored in these different ways:
 
Possible settings...
Description...
Split (Increased security) Stores one part of number in the table of orders and submits the other part with admin's order notification.
Database (Convenient way) Shows the entire number in the table of orders.
E-mail (Convenient way) Shows the entire number in admin's order notification.
 
Ask "CVV2/CVC2/CID code" Enable this option in order to request the card verification code provided by some credit card suppliers. This may decrease the risk of fraudulent orders.
Generate invoice for each
transaction
AdvertisingSuite can add an invoice to the table of invoices for each single transaction.
 
Possible settings...
Description...
Do not generate Disable this feature.
Generate, but internal use only Invoice is generated, but invisible to the customer.
Generate and show to buyers Invoice is generated and link to a printable version is shown to the customer.
 
Allow buyer cancel an order Check it to allow the customer to cancel an order until order processing has started. Customers will see a "Cancel order" link on their order receipts.

If an order was cancelled through the customer, you get notified by e-mail and the field "Order cancelled" (table of orders) is set to "Yes" for the concerned order.

Usage note: Disable "User can cancel order" in the table of orders as soon as you started order processing and don't wish the customer to cancel its order anymore.

Important note: Please be careful using this option.

Validate credit card number
with MOD10 algorithm
This verifies the syntax of provided credit card numbers according a pre-set algorithm.

Checking includes these steps:

1. Syntax verification with MOD10 algorithm.
2. Verification of the card type (each card type has special characteristics).
3. Verification of the expiration date (expired cards are not accepted).

Important note: This validation cannot give you any guarantee that the credit card is a valid one. You should not provide goods or services until the payment was processed.

Payment details by phone or fax:

This payment option is suited when using a 3rd-party payment system working with reference IDs or when you desire to get credit card details sent by fax. Following applications may be handled with this payment method:

* 3rd-party payment systems where customer receives (after successful payment) a confirmation ID that needs to be submitted by the customer to you (either by phone or fax). For example, paying by phone bill or credit card acceptance via call center.

* 3rd-party payment systems where customer pays cash and receives a confirmation ID that needs to be submitted by the customer to you for collecting payment. For example, money transfer companies or special banking transfer services.

* High-risk environments (e.g. blacklisted countries with high rates of credit card abuse) requiring you to take credit cards only by fax, perhaps together with a photocopy of the original credit card for verification purposes.
 

AdvertisingSuite asks...
Description...
Allow buyer choose "Payment
details by phone or fax"
Mark this checkbox to enable the "Payment details by phone or fax" payment method.
Generate invoice for each
transaction
SunnyShop can add an invoice to the table of invoices for each single transaction.
 
Possible settings...
Description...
Do not generate Disable this feature.
Generate, but internal use only Invoice is generated, but invisible to the customer.
Generate and show to buyers Invoice is generated and link to a printable version is shown to the customer.
 
Deduct ordered quantity from
products with limited quantity
When having products with a limited quantity (system field _quantity set in product records), mark this button to deduct the ordered quantity from the remaining total.

Please refer to the next chapter for details regarding this feature.

Allow buyer cancel an order Check it to allow the customer to cancel an order until order processing has started. Customers will see a "Cancel order" link on their order receipts.

If an order was cancelled through the customer, you get notified by e-mail and the field "Order cancelled" (table of orders) is set to "Yes" for the concerned order.

Usage note: Disable "User can cancel order" in the table of orders as soon as you started order processing and don't wish the customer to cancel its order anymore.

Important note: Please be careful using this option.

Prepaid code:

With this payment option you can allow customers to pay with a special code (e.g. issued by a telephone payment system or by yourself, like gift certificates or as activation code after arrival of cheques).

Technical note: Prepaid codes are kept in the system unless their balances reaches zero. This is done to allow your members buying prepaid codes in advance and then spend them for different subscriptions from time to time.
 

AdvertisingSuite asks...
Description...
Allow buyer choose "Prepaid code" Mark this checkbox to enable the "Prepaid code" payment method.
Enter valid prepaid codes and
corresponding amounts
AdvertisingSuite will accept the prepaid codes as specified here.

Format: <Prepaid code>:<Value>:<Expiration date>

<Prepaid code>: Prepaid code, allowed chars: A-Z, a-z, 0-9 and "-" (case-sensitive).
<Value>: Amount of the prepaid code; format: 12.34.
<Expiration date>: Date, until prepaid code stays valid; format: YYYY-MM-DD.
 

Sample input...
Description...
123-aBc:50
0987654321:9.80
star1:30:2010-12-31
50 EUR value.
9.80 EUR value.
30 EUR value; valid until 31. December 2010.

Usage notes: Unlimited code variations can be provided; any currency is possible.

If an expiration date is set, the concerned prepaid code will be removed automatically at the specified date (regardless of its remaining balance).

Generate invoice for each
transaction
AdvertisingSuite can add an invoice to the table of invoices for each single transaction.
 
Possible settings...
Description...
Do not generate Disable this feature.
Generate, but internal use only Invoice is generated, but invisible to the customer.
Generate and show to buyers Invoice is generated and link to a printable version is shown to the customer.
 
 
Manage site zones - overview...

In order to manage site zones, click on the button "Edit AdvertisingSuite parameters" when you're in the admin menu.

What is a site zone ?

Site zones divide your website (or the documents intended to place advertisements on) into different categories, each having its own preferences, like ad charges or targeting methods.

Sample applications: Site zones for top and bottom (general: high attractive, less attractive) banners, website themes and areas, site locations (index page, sub-pages).

Are site zones required in all cases ?

As you may have noticed, there is one site zone ("*") pre-defined. It is mandatory for the system, because the software must need to know what you charge for advertisements - and since this is set in site zones, you need at least one of them.

How to create a new site zone entry ?

Type in the name of the new site zone (keep it short; use alphanumerical chars only) and click on the button "Create new".

How to edit / remove a site zone entry ?

Select the site zone from the list, click on "Delete" or "Edit" and follow the provided instructions.

Usage note: Temporarily unused site zones should be limited to the admin only (see below), instead of being removed.

How to change the sorting of site zones ?

Select the one you wish to move around and click on either "Move up" or "Move down" button to change its position (this affects the site zone's position within the advertiser lounge).
 

Manage site zones - available settings...

Site zone identification:
 
AdvertisingSuite asks...
Description...
Site zone code The site zone code is the abbreviation for the site zone as used in banner slot codes (refer to the last part of this chapter to learn more about banner slots).

Use only alphanumerical characters (A-Z, a-z and 0-9).

Site zone name Name of the current site zone, as it will be displayed at the advertiser lounge.
Site zone description Short description, as it will be displayed at the advertiser lounge.
Allow only admin to place ads Mark this button in order to disable this site zone for being shown at the advertiser lounge; only the admin can place ad banners for this zone.

Technical note: In order to disable site zone selection for advertisers in general, disallow them on the screen "Edit AdvertisingSuite parameters".

Charging method:

Specify the details for charging advertisements at this site zone.
 

AdvertisingSuite asks...
Description...
Charge variable rate per 1000 impr. Charge a fee each time the banner got displayed on the base of 1000 impressions.

Format: <Cost per 1000 impressions>:<Banner format>
(put only one pair into a single line)

<Cost per 1000 impr.>: Amount of money charged per 1000 impressions.
<Banner format>: Banner format code where this charge applies.
 

Sample input...
Description...
10:img.470x70
9.80:txt.3lines
15
10 EUR per 1000 impr. for banner code "img.470x70".
9.80 EUR per 1000 impr. for banner code "txt.3lines".
15 EUR per 1000 impr. for all other banner formats.
If you wish to charge the same amount for all banner formats, just type in the charged fee (see last line of our sample) and don't use any banner format code.

Usage note 1: You can have an unlimited number of combinations.

Usage note 2: Banner formats not defined are considered as being free of charge.

Charge variable rate per click Charge a fee each time the banner got clicked on the base of one click-through.

Format: <Cost per click>:<Banner format>
(put only one pair into a single line)

<Cost per click>: Amount of money charged per click-through.
<Banner format>: Banner format code where this charge applies.
 

Sample input...
Description...
0.20:img.470x70
0.05:txt.3lines
0.123
0.20 EUR per click-through for banner code "img.470x70".
0.20 EUR per click-through for banner code "txt.3lines".
0.123 EUR per click-through for all other banner formats.
If you wish to charge the same amount for all banner formats, just type in the charged fee (see last line of our sample) and don't use any banner format code.

Usage note 1: You can have an unlimited number of combinations.

Usage note 2: Banner formats not defined are considered as being free of charge.

Technical note: If you wish to keep a site zone free of charge (e.g. for internal usage), then leave the pricing fields empty.

Keyword targeting:

Keyword targeting will search the URL line for specified keywords and then selects appropriate advertisements based on them. Please refer to the chapter "Ad space management & advanced features" for more information.
 

AdvertisingSuite asks...
Description...
Search keywords in entire URL,
except domain
Select this method to look for keywords in the entire URL string (recommended), except of the domain name.

Sample 1: http://www.maxjump.com/cgi-bin/search.cgi?query=old+books
Sample 2: http://www.maxjump.com/news/webhosting/starenterprise

(Bold parts are searched for keywords)

Search keywords in URL, except
domain and exclude # of directories
Same as above, but you are able to exclude a determinable number of directory levels from keyword searches. Type in the number of directory levels to exclude.

Sample 1 (1 level): http://www.maxjump.com/cgi-bin/search.cgi?query=old+books
Sample 2 (2 levels): http://www.maxjump.com/go/news/webhosting/starenterprise

(Bold parts are searched for keywords)

Use value of this query variable(s)
for keywords search
Select this method to look for keywords only in a given list of variables; separate multiple variables by comma. Variable names are case sensitive.

Sample 1: http://www.maxjump.com/cgi-bin/search.cgi?query=old+books
Sample 2: http://maxjump.com/cgi-bin/go.pl?search=software&category=sunnyscript

(Sample 1 is set to search "query" only; sample 2 is set to "search,category". Bold parts are searched for keywords)

 
Manage banner formats - overview...

In order to manage site zones, click on the button "Edit AdvertisingSuite parameters" when you're in the admin menu.

What is a banner format ?

AdvertisingSuite can handle different banner types, each with individual preference settings. So a banner format not just reflects the physical dimensions, but also format related behavior parameters.

How to create a new banner format entry ?

Type in a new banner format code (keep it as short as possible containing only alphanumerical characters) and click on the button "Create new". Now simply follow the provided instructions.

Helpful hint: We have prepared some pre-defined banner formats you may use as basis for your own ones.

How to edit / remove a banner format entry ?

Select the banner format from the list, click on "Delete" or "Edit" and follow the provided instructions.

Usage note: Temporarily unused banner formats should be limited to the admin only (see below), instead of being removed.

How to change the sorting of banner formats ?

Select the one you wish to move around and click on either "Move up" or "Move down" button to change its position (this affects the banner format's position within the advertiser lounge). Often used formats should appear first.
 

Manage banner formats - available settings...

Banner format identification:
 
AdvertisingSuite asks...
Description...
Banner format code The banner format code is the abbreviation for the format as used in banner slot codes (refer to the last part of this chapter to learn more about banner slots).

Use only alphanumerical characters (A-Z, a-z and 0-9).

Banner format name Name of the current site zone, as it will be displayed at the advertiser lounge.
Banner format description Short description, as it will be displayed at the advertiser lounge.
Allow only admin to add banners
in this format
Mark this button in order to disable this banner format for being shown at the advertiser lounge; only the admin can place banners of this format.

Banner format parameters:
 

AdvertisingSuite asks...
Description...
Banner type Select the type of banners, this banner format will contain.
 
Possible settings...
Description...
Image Graphical banner; supported formats:
 
GIF Graphics Interchange Format
JPG Joint Photographic Experts Group
PNG Portable Network Graphics
BMP Bitmap (platform independent)
 
Plain text Text based banners (HTML elements are not interpreted).
Rich text Text based banners containing HTML elements.
HTML forms Multimedia banners containing HTML elements (forms).
JavaScript Multimedia banners containing JavaScript elements.
 
Banner slot width, pixels
Banner slot height, pixels
Specify the dimensions of the banner slot in pixels.

Usage note: Banners cannot be larger than these maximum dimensions.

Number of columns in banner block
Number of rows in banner block
Each banner format can host multiple banners within one slot.

These two settings allow you to specify the number of columns and rows; by default you should set these values to "1" (so the slot contains one banner only).

Increasing the number of rows and columns will add additional banner spaces to the concerned slot according the formula "columns * rows".

"Cellpadding" in banner block Number of pixels used as free space within each cell (to separate cells, especially when having more than one column and row).
Color of cell background Specify the hexadecimal color value for the background color of each cell. Alternatively you can also use color keywords (may be not supported by all web browsers).
Border width in banner block Surround the banner block with a standard border; type in the border width in pixel (leave the value empty or use "0" to disable border creation).
Border color in banner block Specify the hexadecimal color value for the border color. Alternatively you can also use color keywords (may be not supported by all web browsers).
Add site owner text
Site owner text message
Show a site owner text message on each banner slot; HTML elements are supported.

For example: <i><a href="http://www.sunnyscript.com">Advertise here</a></i>
 

Possible settings...
Description...
Don't add Disable the site owner text.
Top Display it on the top of the banner slot.
Bottom Display it on the bottom of the banner slot.
 
Target frame Decide for the target frame showing advertiser's URL when a banner is clicked on.
 
Possible settings...
Description...
Current frame Replace the source website.
Top frame Use the top frame on a frame based website.
New window Open a new browser window.
 
JavaScript template Here you can specify an own output template for the banner block; skip <script...> and </script> parts (both are set automatically).
Size restrictions
Limit number of bytes Maximum size of uploaded images (banner type "Image").
Maximum size of the field "Banner text" (all non-image banner types).
Limit number of visible characters Maximum amount of visible characters, excluding HTML and JavaScript tags (all non-image banner types).
Limit word length Maximum amount of characters per word to avoid exceeding the banner size due to the usage of long words (all non-image banner types). Recommended value: 15 chars.
Limit number of characters in
"alt" attribute
Maximum amount of characters for an optional "alt" attribute (banner type "Image").
Limit number of characters in
"title" attribute
Maximum amount of characters for an optional "title" attribute (all banner types).
Security restrictions
Allow all HTML tags and
tag attributes
Mark this button to accept all HTML tags and available attributes (banner types "Rich text" and "HTML forms").

Important note: Dangerous setting; recommended only for admin-limited formats.

Limit HTML tags and tag attributes Select this option to accept only HTML tags and attributes explicitly allowed.

Format: <Tag name>:<Attributes>
(put only one pair into a single line)

<Tag name>: Name of a HTML tag to be allowed.
<Attributes>: Optional attributes allowed for this HTML tag.

For example:

font:color,face
/font
b
/b

Do not check bad words Enable this option to disable checking bad words for this banner format.
Text banner format parameters
Font face
Font color
Font size
Specify the font characteristics used in text banners for font face, color and size.

Advanced banner features:
 

AdvertisingSuite asks...
Description...
Allow advertisers to enter "alt"
attribute text
Allow advertisers setting an own "alt" attribute (all banner types, except "JavaScript").
Default "alt" attribute text Specify the default "alt" attribute (all banner types, except "JavaScript").

Usage note: If no other "alt" attribute is available, this value takes effect.

Allow advertisers to enter "title"
attribute text
Allow advertisers setting an own "title" attribute (all banner types, except "JavaScript").
Default "title" attribute text Specify the default "title" attribute (all banner types, except "JavaScript").

Usage note: If no other "alt" attribute is available, this value takes effect.

Allow advertisers to enter custom
JavaScript mouse events
Allow advertisers setting own JavaScript mouse events (banner type "JavaScript").

Important note: Dangerous setting; please check added banners carefully.

Format-specific moderation settings:
 

AdvertisingSuite asks...
Description...
Moderate additions of banners Mark this checkbox to moderate additions of banners made by advertisers.
Moderate updates of banners
 
Possible settings...
Description...
No moderation Disable moderation of updates.
Only when visible field changes Moderate only ad content related updates.
All updates Moderate all updates.
 

Technical note: If you wish to modify records that are currently in moderation queue, mark the button "Remind to update" when approving these records. On the moderation result screen, you can edit them right away (new browser window opens).
 

Implement banner slots to websites...

What is a banner slot ?

Banner slots consist of a HTML command series implemented to websites or other documents (e.g. mail messages) showing the advertisements. There are two kinds of banner slots available: "Image-only" and "Universal" slots.

"Image-only" slots are limited to the banner type "Image", while "Universal" slots can handle any banner type.

Usage notes: AdvertisingSuite requires no SSI tags and doesn't need cookies; so displaying ad content is very convenient. "Universal" slots should be preferred, but please note that they require a JavaScript-enabled web browser.

The slot HTML code generator:

Instead of creating banner slot codes manually, you can use our convenient HTML code generator to create banner slots easily. In order to do so, click on "Slot HTML code generator" located on the main admin menu (see section "Additional services").

All you have to do is to select the desired settings and then click on the button "Refresh" to see the generated HTML block. Now copy&paste the generated HTML codes to the desired location on your website.
 

AdvertisingSuite asks...
Description...
Slot type Decide for the "Universal" (preferred !) or "Image-only" slot type.
Site zone Select a site zone; only banners from the matching zone are displayed at this slot.
Banner format Select a banner format; only banners of the matching format are displayed at this slot.

Important note: If the HTML generator does not work, please enable JavaScript in your web browser's preference settings.

Desire to create banner slots by yourself ? Please have a look at the technical references below. After implementing a banner slot to your website, please give it a try to ensure that all works as desired.

Technical reference... "Universal" banner slots:

"Universal" banner slots have the following structure:
 
<SCRIPT language="JavaScript" src="<URL>show.cgi?format=<FORMAT>&zone=<ZONE>"></SCRIPT>

<URL>: URL to the location of the AdvertisingSuite.
<FORMAT>: Code of the banner format.
<ZONE>: Code of the site zone.

Technical note: Slots with undefined or non-existing site zone codes are considered as slots for the pre-defined site zone "*".

Limitations of "universal" banner slots: JavaScript must be enabled at visitors' web browsers.

Technical reference... "Image-only" banner slots:

"Image-only" banner slots have the following structure:
 
<SCRIPT language="JavaScript"><!--
code = Math.round((Math.random() * (1000000000)));
document.write("<a href='<URL>click.cgi?code="+code+"&zone=<ZONE>'><img src='<URL>image.cgi?format=<FORMAT>&code="+code+"&zone=<ZONE>' border=0></a>");
//--></SCRIPT>
<NOSCRIPT>
<a href="<URL>click.cgi?slot=<RAND_NR>&zone=<ZONE>"><img src="<URL>image.cgi?format=<FORMAT>&slot=<RAND_NR>&zone=<ZONE>" border=0></A>
</NOSCRIPT>

<URL>: URL to the location of AdvertisingSuite.
<FORMAT>: Code of the banner format.
<ZONE>: Code of the site zone.
<RAND_NR>: Random slot number (used for disabled JavaScript); should be unique for each banner.

Each slot consists of two parts: The first part is used for JavaScript enabled environments; if JavaScript is disabled, the second part takes effect (starts at <NOSCRIPT>). You may also leave the first part completely and just use the second one...
 
<a href="<URL>click.cgi?slot=<RAND_NR>&zone=<ZONE>"><img src="<URL>image.cgi?format=<FORMAT>&slot=<RAND_NR>&zone=<ZONE>" border=0></A>

Technical note: It is possible to add surrounding HTML tags and attributes (e.g. height and width arguments, "alt" attribute).

Limitations of "image-only" banner slots: Displays only banners of the "Image" type; most banner format layout settings are not considered automatically (but can be added manually, see previous technical note).
 


 
Ad space management & advanced features
Ad banner content...

The system table of banners - overview:

This system table holds all banners currently available on the system.

You can use it to add, update or delete banners by using the admin panel or (as advertiser) the advertiser lounge.

The system table of banners / advertiser lounge - manage banners:

Admin panel: When browsing the table, click on "Add" in the upper right corner of the screen to create a new banner record.
Advertiser lounge: Click on "Add banner" in the upper left corner of the screen to create a new banner record.

Usage note: Since both screens are just slightly different in appearance, we used the admin panel's "new banner entry" screen (parameters with different meanings have been pointed out; some parameters may not be available at the advertiser lounge).
 

AdvertisingSuite asks...
Description...
Advertiser ID Type in the advertiser ID this banner belongs to.

Advertiser lounge: The advertiser ID is set automatically.

Usage note: You need to create at least one advertiser profile (table of advertisers) first; each banner needs to belong to an advertiser profile because of technical reasons.

Banner format Select a desired banner format from the list.

Advertiser lounge: The banner format is determined in advance.

Banner enabled Check this button to activate this banner (if unchecked, banner is disabled).
"Redirect to" URL Specify the URL you wish to redirect people after they have clicked this banner.

Important note: Since this setting is absolutely essential, please check it twice.

Image
Banner type: "Image"
Select an image file holding the desired ad content (banner type "Image").
Text banner *
Banner types: "Plain text", "Rich text",
"HTML forms" and "JavaScript"
Specify the ad content (all non-image banner types).

Technical note 1: The part linked with the "redirect to" URL must be surrounded by "<a>" and "</a>"; e.g. "That's my banner - <a>click here</a>".

Technical note 2: If "<a>" and "</a>" tags are missing at "Rich text" banners, the entire banner text appears linked (applies only to this particular type).

Technical note 3: Skip <script...> and </script> tags for "JavaScript" banners; these are added automatically when showing the banner.

Technical note 4: Images and other multimedia objects have to be located outside of AdvertisingSuite (so you must use URLs within the source code to call them).

Content of "alt" attribute * Type in the content of the "alt" attribute.
Content of "title attribute * Type in the content of the "title" attribute.
Content of ... event handler * Type in the content for the concerned JavaScript event handler field.
Hours of day targeting Decide for the hours of day to display this banner. Hold the CTRL key (or appropriate) to select multiple entries. Leave the field empty in order to disable this kind of targeting.
Weekdays targeting Decide for the weekdays to display this banner. Hold the CTRL key (or appropriate) to select multiple entries. Leave the field empty in order to disable this kind of targeting.
Day of months targeting Decide for the days of month to display this banner. Hold the CTRL key (or appropriate) to select multiple entries. Leave the field empty in order to disable this kind of targeting.
Target geographical zones Select the geographical zones (continents, countries and custom geographical ones) to dedicate this banner to a given audience.

Hold the CTRL key (or appropriate) to select multiple entries. Leave the field empty in order to disable this kind of targeting.

Target site zones * Select the site zones to which this banner belongs (if no entry is marked, the banner will be displayed in all site zones).
Target keywords Type in keywords matching this banner; use spaces to separate single keywords and semicolons to separate strings. Input is not case sensitive.

Usage note: An automatic wildcard search applies for the keywords; so you need just to type "book" to match also "books" and "bookstore".

Leave the field empty in order to disable this kind of targeting.

Activation date & time Determine the date and time to activate this banner. Leave the field empty for immediate activation. Format: YYYY-MM-DD hh:mm:ss
Deactivation date & time Determine the date and time to deactivate this banner. Leave the field empty to disable automatic banner deactivation. Format: YYYY-MM-DD hh:mm:ss

Technical note: This field is a great help for time-based advertisements (please refer to the chapter "Helpful hints and technical reference" for more details).

Daily ... limit
Total ... limit
Limit the daily and/or total amount of impressions and click-throughs applying to this banner. If the total limit is reached, the banner becomes deactivated.
Owned by admin Check this button to mark this banner as owned by the admin.

Banners with this field checked are handled in a special way:

* Impressions and click-throughs never deduct the assigned profile's credits.
* Assigned profile's balance can be zero; banner is still shown.

Usage note: If this feature is enabled, you may also specify a percentage value (as well as a numerical amount) for the fields "Daily ... limit" and "Total ... limit", e.g. "15%".

Priority class Set the priority class of this banner. The following selections are possible: "Lowest", "Low", "Normal", "High" and "Highest".

The priority class is used as primary ranking criteria by the system deciding how often a banner is displayed compared to others of the same preference settings.

Important note: Be careful setting classes "Lowest" or "Highest"; this may lead into that a banner is either shown nearly never or too often.

Receive statistics by e-mail Check this button in order to get daily statistics by e-mail (sent to the e-mail address connected to the assigned advertiser profile).
Receive ... log Decide for the log files you wish to receive via e-mail.
 
Available selection...
Description...
No Disable sending this kind of logfile.
Raw log file * Send a raw log file (ASCII format).
Gzip compressed log file Send a (gzip) compressed log file.

* Important note: Please be careful, because choosing this option (especially for the impression log) may lead into receiving very large files by e-mail.

Delete banner on For already deleted banners, this field contains the date stamp of removement.

* These fields are ignored when using "image-only" banner slots.

The system table of banners - permissions:

On the screen "Edit table parameters and layout" you find a section called "Permission". By using these parameters, you can modify the behavior of the system regarding banner management.
 

AdvertisingSuite asks...
Description...
Add Enable "Add" permissions to allow creation of banners by using the advertiser lounge; may be moderated depending upon "Banner format" settings.
Update Enable "Update" permissions to allow banner updates by using the advertiser lounge; may be moderated depending upon "Banner format" settings.
Delete Enable "Delete" permissions to allow banner deletions by using the advertiser lounge.

Usage note: Disabling permissions limits the concerned task to be done by the admin panel only.
 

All about advertisers...

The system table of advertisers - overview:

This system table holds all advertisers currently having profiles on your system. You can create own profiles by using the admin panel as well as the advertiser lounge (creation of such profiles may be moderated, see below).

Important note: Also when handling banner space by yourself (banners are owned by admin), you need to create at least one profile: Give this account a balance greater than zero. This saves it from being removed after a given time by the system.

The system table of advertisers - manage profiles:

Admin panel: See the section of "table of advertisers" on the admin panel's main menu (click on "View/Add/Update/Delete" to browse the entire table and manage profiles).

Advertiser lounge: Click on "Become an advertiser now" in the upper left corner of the screen to create a new profile or log in as advertiser to update or delete the concerned profile's information.

Send out mailings:

Please refer to the chapter "Office tools management" for details about how to send out mailings.

The system table of advertisers - permissions:

On the screen "Edit table parameters and layout" you find a section called "Permission". By using these parameters, you can modify the behavior of the system regarding advertiser management.
 

AdvertisingSuite asks...
Description...
Anonymous user permissions
These permissions applies to advertisers having no profile (not logged in).
Add Enable "Add" permissions to allow creation of profiles by using the advertiser lounge.
Moderate additions Check this button to make profile additions moderated by the admin.
Logged in advertisers
These permissions applies to advertisers having a profile (logged in).
Update Enable "Update" permissions to allow updates of profiles by using the advertiser lounge.
Moderate own updates Check this button to make profile updates moderated by the admin.
Delete Enable "Delete" permissions to allow profile deletions by using the advertiser lounge.
Moderate own deletions Check this button to make profile removements moderated by the admin.

Usage note: Disabling permissions limits the concerned task to be done by the admin panel only.

Technical note: If you wish to modify records that are currently in moderation queue, mark the button "Remind to update" when approving these records. On the moderation result screen, you can edit them right away (new browser window opens).
 

Disabling the advertiser lounge...

In some cases you may want to disallow advertisers using the advertiser lounge for selected tasks or - if you prefer to handle all banner management tasks manually - disable it completely (blocked actions can be done through the admin panel only).

Block additions, updates and removements of banners:

Go to the table of banners, screen "Edit table parameters and layout", part "Permissions" and modify the permissions for the desired tasks accordingly ("Add", "Update" and "Delete").

Even when removing all permissions, advertisers can still log in, manage their profiles and check banner statistics.

Block creations, updates and removements of advertisers:

Go to the table of banners, screen "Edit table parameters and layout", part "Permissions" and modify the permissions for the desired tasks accordingly.

Even when removing all permissions, advertisers having a profile can still log in and manage their banners and profile settings.

Block loading money to accounts:

Go to the screen "Edit AdvertisingSuite parameters", part "AdvertisingSuite control panel layout" and hide the deposit form. If you prefer that advertisers cannot see their actual balance, also hide the account balance form.

Add money to an account using the admin panel:

In order to transfer money to an account, just go to the concerned profile (table of advertisers), click on "Update" and increase the "Balance" field at the desired amount.

Disable the entire advertiser lounge:

Disable all permissions in the table of advertisers and the table of banners as well as hide the deposit & account balance form.
 

Keyword targeting...

What is keyword targeting ?

When running a database application, it may be desired to show only banners which belong to the search performed by the concerned user. For example people searching for "automobiles", will see advertisements of a car dealer.

In this way, banner ads can be placed more targeted, which achieves higher click-through rates for your advertisers. By creating a new banner, you can determine the applying keywords (please refer to the part "Managing banner content" above).

Technical requirements and pre-requisites:

* Keyword targeting must be enabled in "AdvertisingSuite parameters".
* Keywords can be only read from URLs using the GET submission method (POST submissions are not supported).

Keyword targeting with EasyData:

Instructions to prepare EasyData:

Add the desired banner slots to the search result templates of the concerned tables (refer to the EasyData manual for details) and modify existing (advanced) search forms to use the GET submission method.

Instructions to prepare AdvertisingSuite:

Go to the concerned site zones and edit the parameters for keyword targeting according your requirements:

Either enable the option "Search keywords in entire URL, except domain" or specify all applicable variables in "Use value of this query variable(s) for keyword searches".

When deciding for searching query variables only, you should include "query", filters and other keyword relevant fields available in the (advanced) search forms; for example: "query,filter.name,filter._category".

Helpful hint: Also hidden form fields will work; in this way, you can do keyword targeting also basing upon pre-defined keywords indicating searches coming from particular locations (e.g. search forms on partner websites having a targeted audience).

Smart tip: Have a look at EasyData - reliable database systems for versatile applications.
 

Custom geographical zones...

Custom geographical zones - overview and typical applications:

AdvertisingSuite provides a complete range of geographical zones which allows target banner campaigns for a specific audience (e.g. users from Germany will see ads in german language while users from UK, USA or Australia will get ads in english).

However in some cases you may wish to create own "geographical zones" to get your very own target groups (e.g. people coming from particular ISPs or company networks).

Technical note: Before creating your own geographical zones, you must be sure about the IP masks used within these zones. This information may be available from various sources, like public databases or network providers.

The system table of custom geographical zones - manage zones:

This system table holds all custom created geographical zones (the pre-defined ones are stored invisible).

"Table of custom geographical zones" settings (accessible from the main admin menu):
 

AdvertisingSuite asks...
Description...
View / Add / Update / Delete zones View all available custom zones, create new or update existing ones.
Restructure
Change table parameters and layout
Manage the database structure (e.g. additions or modifications of fields) and other table-related preferences (e.g. sorting of records).

Important note: Don't touch any parameters you are not sure about.

Create (update) a new custom zone:

Click on "Add" or "Update" links of this table to add or update a new zone. After all settings have been made, click on the button at the end of the form to take over the data to the system.
 

AdvertisingSuite asks...
Description...
Geographic zone ID Type in the ID of the geo. zone (keep it short; use alphanumerical chars only).
Name Type in the name of the geo. zone, as it will be displayed at the advertiser lounge and admin panel. Keep the name short, but informative.
IP masks IP masks, this geographical zone belongs to (one IP mask per line); wildcards are also allowed to specify a range of IP addresses.

For example:

123.*
12.34.*
12.345.67.890

Important note: Ensure that geographical zones targeting is enabled in "AdvertisingSuite parameters".
 

Additional admin tools - statistics...

AdvertisingSuite offers a large scale of statistical information suited to track the success of advertisements. In order to access these statistics, click on "Statistics form" located on the main admin menu (see "Additional admin tools").

Here you can select the desired time period (date range, month or year) as well as the following report types:
 

Report types...
Description...
Daily report Get a daily report for the selected time period; report data is sorted by date.
Overall report by site zones Get a report for the selected time period summarized by site zones.
Overall report by banner formats Get a report for the selected time period summarized by banner formats.

Helpful hint: Instead of using this form, you may simply click on the direct links (see main admin menu) to get detailed report statistics for today, yesterday, the actual month or last month.
 

Manage system tables - restructure table, table parameters and layout...

Before you proceed:

The following text contains more details about how to modify the system tables. As an experienced user, you can influence AdvertisingSuite's system behavior according your wishes.

However please note that once modifications were made, they cannot be recovered. In worst case, you have to re-install the software with the risk of losing existing advertiser profiles and all made settings.

Important note: Before you touch the system tables, ensure that you are familiar with AdvertisingSuite. You should also create a backup copy of the entire software installation for later referencing purposes.

Restructure system table:

Click on "Restructure" of the desired system table. Alternatively you can use the "Restructure" link in the upper right corner of the screen appearing when you are inside of a system table (browse its content).

How to add a new or edit an existing field:

Go to "New field name", type in the desired name, select the data type and click on "Create new field". Otherwise look for the field you wish to modify and click either on "Edit" or the field name. Now the screen "Field properties" appears:
 

AdvertisingSuite asks...
Description...
Field name Contains the name of the table field; you can change it at any time (table parameters are automatically updated with new field name).
Data type Select the type of content being stored in this field:
 
Type...
Description...
text Any content with unlimited size (default).
int Positive and negative integers.
float Real numbers.
date Date in format YYYY-MM-DD.
time Time in format HH:MM:SS.
datetime Date and time in format YYYY-MM-DD HH:MM:SS.
boolean Empty value = false; any other value = true.
image GIF, JPG, PNG & BMP pictures (stored in "binary" directory).
binary Binary content (stored in "binary" directory).
memo Textual content (stored in "binary" directory).
htmlmemo HTML-formatted content (stored in "binary" directory).
uploadmemo See "memo", but use with "upload (other files)" edit control only.
autoinc Autoincrement integer field.
URL Same as text, but URL validation and embedded HTML.
email Same as text, but e-mail validation and embedded HTML.
 
Display label Field label appearing instead of field name set above.
Display comment Comments which appear when adding or updating records, giving some hints to users.
Display mask Advanced users only: Active template for Perl scripts used to format concerned field value in HTML code or to make manipulations with value before output.

Available system variables are $id (contains record ID), $fields{FIELDNAME} and $value (contains the current field's value).

Sample application for display mask:
 

Description...
How to realize...
Field value in bold characters Type in: &"<b>$value</b>"
 
Default value Type in a default value you wish to use for this field, if it is kept unfilled by the user; can be also a Perl script.

Sample applications for default value:
 

Description...
How to realize...
Text based (no Perl scripting) Just type in the desired default value.
Current date & time Type in: &datetime2str(time)
 
Required Click here to mark this field as required.
Unique Click here to mark that this field's content has to be unique in the entire table.
Verification rules Type in rules to verify field's content (multiple rules separated by semicolon); if this is left empty, verification is done based upon used field type.
 
Rule...
Description...
int Positive and negative integers.
float All numbers ("+", "-", "." and digits).
alpha Characters only (A-Z, a-z).
alphanum Characters and digits only (A-Z, a-z, 0-9).
positive Positive numbers only.
negative Negative numbers only.
range:x,y All numbers from x to y.
values:val1,val2, ... Only given values are allowed.
min_size:x Minimum length of required input.
max_size:x Maximum length of allowed input.
valid_email E-mail address checking for correct format.
valid_URL URL checking for correct format.
accepted Required field (same as "required" in field types); e.g. used for checkboxes.
format:<x>::<error> <x> must match a Perl regular expression.
<error> may contain a customized error message, shown instead of the default one when verification failed.

Samples for field verification:
 

Rule...
Allowed content...
range:1,10 All positive numbers from 1 to 10 (e.g. 2, 9.35, ...).
values:yes,no Allowed input "yes" or "no" only.
min_size:5 At least 5 chars required, e.g. postal code check.
format:^\d+\.\d\d$ One or more digits followed by point and two digits, for example: 123.78 (Perl expressions).
 
Edit control Choose the intended edit control type:
 
Edit control type...
Description...
Automatic selection Let AdvertisingSuite automatically select matching edit control type based upon the field type.
Text input control Standard text input field.
Text input with dropdown list * Combined text input and dropdown list control (requires JavaScript enabled).
Password input control Password text input field.
Checkbox Checkbox (value = 1 when enabled).
Checkbox list * List of multiple checkboxes.
Upload (image) "Upload file" field for images (uploaded content will be stored in "binary" directory).
Upload (other files) "Upload file" field for binaries and memos (uploaded content will be stored in "binary" directory).
Text area Multi-line textbox (applicable for data types "text", "memo" and "htmlmemo").
Radio buttons * Radio buttons.
Combobox (Dropd. list) * Dropdown list.
List * Same as combobox, but items appears as listing.
Multiselectable list * Same as list, but allows to choose multiple items.
Hidden Hidden from users, but may have a value (as it is specified in "Default value").
* Values must be specified in field "Edit control data" below.
 
Edit control data Applicable for radio buttons, comboboxes, lists and multiselectable lists to determine the field content. Format: <Internal used value>|<Displayed value>

For example:
 
  01|Get YourAffiliates now
02|Get EasyData now
03|Get AccessGuardian now
...
 

Edit control width Applicable for text and password input fields as well as text areas. Type in the width of concerned field in characters (this does not set maximum length of field input).
Edit control height Applicable for text areas, lists and multiselectable lists. Type in the height of concerned field in lines (field content can contain more or fewer lines than set here).
Edit control template Advanced users only: Active template for executing Perl scripts.
Column width Type in the width of the table column concerned field appears in. Use either percentage value or pixels; leave empty for standard setting.
Column alignment Select alignment of the table column concerned field appears in.
Cell vertical alignment Select alignment of the table cell concerned field appears in.
Max. size Type in max. number of characters allowed for input.
Images, binary & memo fields: Type in max. file size (bytes) allowed being uploaded.

Important notes: If you edit a system field, some of the settings above may be not available for selection. Don't touch pre-filled settings for system fields, you may negatively affect their behavior.

How to change sorting of fields:

Look for the field you wish to move around and click on either "move up" or "move down" to change the field's position.

How to delete a field (use with care only):

Look for the field you wish to remove from the table and click on "Delete". However, please note that once a field is removed, all related content will get lost and cannot be recovered.

By the way: All table parameters are automatically updated and the concerned field becomes removed from these settings.

Empty table:

Just select the desired options and click on the "Clear data" button in order to clear the concerned table. Please note that once a table (or part of it) is cleared, all related content will get lost and cannot be recovered.

Important note: Since all entries of concerned table may get lost, this option should be used with care (e.g. clearing table from test entries before starting to run your mailing lists officially).

Table layout parameters:

On the "Restructure" screen of concerned system table, there is a button named with "Edit table parameters" which leads you to the table layout parameters screen.

Usage note: The shown table parameters may not be available for all system tables.
 

AdvertisingSuite asks...
Description...
Table display label Used for admin's convenience only. This parameter can be ignored normally.
Table browsing mode
Sort records by (when browsing) Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or "Up" and "Down" to change field order. You may also decide for descending or ascending sorting (standard).

Alternatively you can type in a comma delimited list of fields manually. Add "-" before a fieldname to sort in descending order (ascending sorting done by standard).

View records per page Number of records displayed per page.
Visible fields * Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or use "Up" and "Down" buttons to change field order.

Alternatively you can type in a comma delimited list of fields manually.

Linked columns Field content is linked and if clicked on, concerned record will be displayed in detailed entry view mode.

Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or use "Up" and "Down" buttons to change field order.

Alternatively you can type in a comma delimited list of fields manually.

Detailed entry view mode
Visible fields * Fieldnames shown when viewing a record detailed.

Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or use "Up" and "Down" buttons to change field order.

Alternatively you can type in a comma delimited list of fields manually.

"Add record" mode
Visible fields * Fieldnames shown when adding a record (e.g. customer subscribes to your service).

Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or use "Up" and "Down" buttons to change field order.

Alternatively you can type in a comma delimited list of fields manually.

"Record update" mode
Visible fields *
Visible fields to admin *
Fieldnames shown when modifying a record (e.g. customer change existing profile).

Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or use "Up" and "Down" buttons to change field order.

Alternatively you can type in a comma delimited list of fields manually.

* These are required (and important) fields; double-check them for containing correct values.

Search layout parameters:
 

AdvertisingSuite asks...
Description...
Sort records by default Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or "Up" and "Down" to change field order. You may also decide for descending or ascending sorting (standard).

Alternatively you can type in a comma delimited list of fields manually. Add "-" before a fieldname to sort in descending order (ascending sorting done by standard).

View records per page Number of records displayed per page.
Search fields * Fieldnames available for searching (no binary, memo & image fields).

Right box (available selections): Choose field and click on "Add" to select it.

Left box (current selections): Click on "Delete" to remove a field or use "Up" and "Down" buttons to change field order.

Alternatively you can type in a comma delimited list of fields manually.

* These are required (and important) fields; double-check them for correct values.

Behavior:
 

AdvertisingSuite asks...
Description...
"Add record" mode Available parameters:

"Data verification script": Perl script being executed after pressing the "Submit" button (before data is added); suited for input validation.

"Run this code before applying actual changes": Perl script being executed after the data verification script or (in moderated environments) record approval. It is not executed when data verification script returns an error or admin declines a moderation request.

Possible applications:

Modify some field values before posting, validate input or update data in other tables or perform other actions (e.g. calling 3rd-party software).

Notes for using Perl codes:

Field values are read- and writable via hash $fields{<fieldname>}. Just replace <fieldname> with a field of the concerned table.

Cancel posting to the table by making Perl code return number below zero. Return -2 in order to don't display "add form" again. Add error messages to global @errors array.

Usage example ("Data verification script"):

At least one of both fields, option1 or option2, must be chosen...

if ($fields{option1} eq "" && $fields{option2} eq "") {push (@errors, "One of these options must be selected.");-1;} else {0;}

"Record update" mode Available parameters:

"Data verification script": Perl script being executed after pressing the "Submit" button (before data is updated); suited for input validation.

"Run this code before applying actual changes": Perl script being executed after the data verification script or (in moderated environments) record approval. It is not executed when data verification script returns an error or admin declines a moderation request.

Possible applications:

Modify some field values before posting, validate input or update data in other tables or perform other actions (e.g. calling 3rd-party software).

Notes for using Perl codes:

Cancel posting to the table by making Perl code return number below zero. Return -2 in order to don't display "update form" again. Add error messages to @errors array.

Usage example: See above for "Add record" mode.

"Record delete" mode Available parameters:

"Data verification script": Perl script being executed after sending a deletion request (before data is removed); suited for input validation.

"Run this code before applying actual changes": Perl script being executed after the data verification script or (in moderated environments) record approval. It is not executed when data verification script returns an error or admin declines a moderation request.

Possible applications:

Validate input or remove data from child table(s) or perform other actions (e.g. calling 3rd-party software).

Notes for using Perl codes:

Cancel deletion from the table by making Perl code return -1 and adding error messages to global @errors array.

Usage example ("Data verification script"):

If field can_delete is empty, concerned record cannot be deleted...

if ($fields{"can_delete"} eq "") {push (@errors, "Record is marked as locked and can't be removed.");-1;} else {0;}

"Log in" mode Possible applications:

Verify additional conditions before allowing user to log in (e.g. date or time, calling 3rd-party software).

Notes for using Perl codes:

Login variable is $login; password variable is $pwd, Decline logging in by making Perl code returning -1 and adding error messages to global @errors array.

Usage example ("Run this script after logging in"):

If field balance is <= 0, then no login is granted...

if ($table->FindKey($login) && $table->{FieldByName}->{balance}<=0) { push (@errors, "Your balance is not positive. Please remit money to your account first."); -1;} else {0;}

After logging in redirect user to
this URL
Possible applications:

After users are successfully logged in, they can be redirected to specific URLs.

Notes for using Perl codes:

It's an active template ("&" at beginning initializes Perl script).

Available variables are $login (user login), $pwd (user password) and $table_name (name of the concerned table).

Usage example: Redirect user to a page with owned records...

&"search.cgi?tbl=$table_name&filter._email=".escape("='$login'")."&action=search"

Moderation request alert If moderation is enabled you can select to be automatically notified by e-mail when new moderation requests are waiting in queue.
 
Selection...
Description...
Don't send alerts Disable this feature.
After first moderation request Send one message regardless of the number of incoming requests.
After each moderation request Send a message for each new incoming request.
 
Moderation decline note
When declining a moderation request you can optionally send an e-mail notification to the record owner (field _email).
Send "On decline" message when
modification is declined by admin
Mark this button to send out an e-mail notification to record owners telling them about declined moderation requests.
"On decline" message body templ. Specify the template file used as notification text.

Permissions:

Please refer to the parts "Managing banner content" and "All about advertisers" for details about permissions.

Menu layout:
 

AdvertisingSuite asks...
Description...
Sub-menu entries Allow or block sub-menu entries; possible values: "add,clone,update,delete".

Database script pages headers / Login script page headers:

Customize the headlines of generated pages; also usage of images (IMG tags according HTML) is allowed.

Table modifications logging:

Check this button in order to log all table modifications (add, update and delete records) to TABLENAME.modif.log located in the "data" directory (TABLENAME is replaced with the name of the concerned table).

In this way, you are able to manually recover lost data or track IP addresses of users trying to cheat your system.

Technical notes: Content of memo / image / binary field types is not logged.

Table automatic maintenance:
 

AdvertisingSuite asks...
Description...
Maintenance interval (in seconds) Time frame between running automatic maintenance (e.g. system jobs, data backups). Recommended range: 3600 to 43200 seconds (1 to 12 hours).

Data file backing up:

What exactly is backup generation ?

AdvertisingSuite is able to generate backups of its data files automatically to allow restoring them later. Generated backup files (extension .db.bak) are located within the "data" directory.

Pre-requisites for generating backups:

Maintenance interval: Ensure that a maintenance interval is specified. Please see screen "Table parameters", "Table automatic maintenance". Recommended range: 3600 to 43200 seconds (1 to 12 hours).

Important note: The backup update period must be longer than the specified maintenance interval.

Enable / disable backup generation:
 

AdvertisingSuite asks...
Description...
Number of backup files Type in the number of different backup file levels generated (max. 5). Increasing this value gives you a better chance to restore elder data, but also requires more diskspace.
Backup file #1 update period (hours) Specify the time frame between backups are generated.
Rename backup file #x to #x
after this number of updates...
Type in the number of updates processed for the concerned backup file before it will be replaced by the next generation of backups.

Technical notes: In order to disable the backup feature, set "Number of backup files" to 0 or leave it empty. New backups are not generated for unchanged files (since backup already exists).

Recommended backup settings:

Maintenance interval = 3600; number of backup files = 4; backup file #1 update period = 6
Rename backup file #1 to #2 after this number of updates of backup file #1: 4
Rename backup file #2 to #3 after this number of updates of backup file #2: 5
Rename backup file #3 to #4 after this number of updates of backup file #3: 6

TABLENAME.db.bak1 holds 0 to 6 hours old database content.
TABLENAME.db.bak2 holds 6 to 24 hours old database content.
TABLENAME.db.bak3 holds 1 to 5 days old database content.
TABLENAME.db.bak4 holds 5 to 30 days old database content.

<TABLENAME>: Name of the table, concerned backup file belongs to.

Retrieve data from backup:

If you wish to roll-back a corrupted data file, just replace the original file with the latest error-free backup copy.

Before doing so, please ensure that the table definition did not change recently (e.g. by adding new fields). In this case, the table definition needs to be set to the configuration of the data file to restore.

Important note: Restoring data files should be managed by an experienced system administrator only. In case of emergency, SunnyScript can provide you with special assistance to professionally handle this task (optional fee-based service).

Helpful hint: In order to create a backup of an entire database, you may use the "Download/upload table package" feature.

"Password reminder" utility:

If a member forgot the password to access the subscriber lounge, it can be re-send automatically by the system at request.
 

AdvertisingSuite asks...
Description...
Pwd. remember msg. body template Select the file that keeps the notification message.

Important note: Since the admin password is saved encrypted for higher security, it cannot be restored. See chapter "Helpful hints and technical reference" about information on how to reset the admin password.

Templates substitution:

If you wish to use your own templates instead of the pre-defined ones, please select your desired templates here (more details about templates are available in the next chapter). "--use default--" will activate the standard template for concerned output.

Helpful hint: If you're unable to find your recently created templates within the lists, hold CTRL or SHIFT key and click on the "Reload" button of your browser software to reload the browser window (to replace an old copy in cache).
 


 
Office tools management
Manage the office behind...

Overview:

AdvertisingSuite is much more than just an advertising space manager. It also provides various office management tools, like a customer address database, order and invoice handling as well as electronic newsletters.

In the following we explain how to use these features. Before you proceed, you should have been read the previous chapters (some matters are described there we have considered as being known).
 

Order and payment tracking...

Overview and typical applications:

This powerful back-end feature allows you to watch about incoming orders (money transfers), track payments and more.

Watch incoming orders & track payments:

Use "View orders" to see a list of all orders currently active on the system. You may also search for specific ones, e.g. by using the automatically assigned order number (request this number from customers in case of inquiries).

Important... Activate a pending money transfer:

In order to load money to the advertiser's account, go to the appropriate record in order table and mark the "Payment confirmed" checkbox. Only if this step is done, the ordered amount will be made available.

Usage note: This task is not required for the payment methods "Credit card real-time processing" and "Prepaid code" (since requested funds are automatically uploaded after the payment has been processed successfully).

How to cancel or modify a particular order:

For already processed orders, go to the concerned advertiser profile (table of advertisers) and reduce the value of the "Balance" field according the situation. Then remove or update the order and invoice records to match the new values.

Usage note: Where applicable, please ensure to provide a chargeback for made payments; this task is not done automatically.

For unprocessed orders, simply remove the order and invoice records from the system and ask the advertiser to place a new order by using the advertiser lounge.

"Table of orders" settings (accessible from the main admin menu):
 

AdvertisingSuite asks...
Description...
View / Update / Delete orders Search the table of orders for open payments, pending orders and more.
Send out mailings Send mailings to people listed on this system table (see last part of this chapter).
Restructure
Change table parameters and layout
Manage the database structure (e.g. additions or modifications of fields) and other table-related preferences (e.g. sorting of records).

Important note: Don't touch any parameters you are not sure about.

Auto removement of orders:

See screen "Table parameters", part "Table automatic maintenance" / "Records expiration". Specify the number of days after order creation, before an order is removed automatically from the system.

Mark "Auto. remove only if payment confirmed" to ensure that only orders are deleted, for which payment has been received.

Pre-requisite for this feature:

The maintenance interval must be set for this table; recommended range: 3600 to 43200 seconds (1 to 12 hours).
 

Invoice management...

Overview and typical applications:

The table of invoices is mainly used for internal purposes to create printed invoices for each money transfer order processed by AdvertisingSuite. So you are able to take over invoices from AdvertisingSuite directly to your bookkeeping.

Search for invoices and print them:

Use "View invoices" to see a list of all invoices currently available on the system or search for a specific one. Click on the link "printable" (invoice number) to see the appropriate invoice ready-to-print or click on the order ID for a web-like formatting.

"Table of invoices" settings (accessible from main admin menu):
 

AdvertisingSuite asks...
Description...
View / Update / Delete invoices Search the table of invoices, correct or remove them.
Send out mailings Send mailings to people listed on this system table (see last part of this chapter).
Restructure
Change table parameters and layout
Manage the database structure (e.g. additions or modifications of fields) and other table-related preferences (e.g. sorting of records).

Important note: Don't touch any parameters you are not sure about.

Auto removement of invoices:

See screen "Table parameters", part "Table automatic maintenance" / "Records expiration". Specify the number of days after invoice creation, before an invoice is removed automatically from the system.

Pre-requisite for this feature:

The maintenance interval must be set for this table; recommended range: 3600 to 43200 seconds (1 to 12 hours).

Technical note: When removing invoices here, customers will lose also access to the printable versions; so it is recommended to set a generous interval (recommended value: 30 days).
 

Table of daily statistics...

Overview and typical applications:

The table of daily statistics is used to build statistical information (advertiser lounge). In addition, it is very helpful for the administrator to investigate abnormal system usage.

"Table of daily statistics" settings (accessible from main admin menu):
 

AdvertisingSuite asks...
Description...
View statistics Browse and search the table of daily statistics.
Restructure
Change table parameters and layout
Restructure the content of this table; all modifications have no effect to the advertiser lounge (used only within the admin panel for your convenience).
Change table parameters and layout Manage the database structure (e.g. additions or modifications of fields) and other table-related preferences (e.g. sorting of records).

Important note: Don't touch any parameters you are not sure about.

Auto removement of daily statistics records:

Different than the auto removement features of other system tables, the records are handled automatically and will be removed once they become useless. This is done by a special algorithm which decides about the system status.
 

Send out mailings...

In order to create a mailing, select the desired table and choose "Send out mailings" from admin panel. Alternatively you can click on "Mailings" in the upper right corner of the screen.

You can send out mailings either to all record owners of a selected table (recipients filter set to "Send to all") or just mail such people who have allowed you to do so (recipients filter set to "Send to subscribed users only").

Mark "Do not send duplicate e-mails" in order to send only one single mail, even a particular address is found multiple times.

Reach the correct recipients:

Table of registered advertisers: General mailings to all advertisers (e.g. new service announcements, company news).
Tables of orders and invoices: Mailings regarding payment or service issues.

Custom recipients filter:

You can specify a search query that filters only recipients matching particular criteria. It is possible to use any field available in the table this mailing is intended for. Click on "view filter results" to get a listing of all selected records.

For example: income>=3000 AND education="high"
Only recipients will receive this mailing which have an income of more than 3000 currency units and a "high" education level.

Usage note: For more details about how to perform search operations, please refer to "Searching of databases (tables)" below.

Personalized mailings:

Personalized mailings contain an individual "To:" field for each recipient. In addition, you can include fields from the concerned table  (format: <!--$FIELDNAME-->) which are replaced by appropriate content.
 

AdvertisingSuite asks...
Description...
Sender's name and e-mail Type in the name and e-mail address used in the header of outgoing mails.
Message subject Type in the subject line used in the header of outgoing mails.
Message format Select message format, "Plain text" or "HTML" (applicable to recipients' mail clients).
Message body Type in the content of your mailing here.

Sample personalized mailing:
 
  Dear <!--$first_name--> <!--$last_name-->,

you recently added your website <!--$URL--> to our database.

If you would like to increase the popularity of your <!--$BUSINESSTYPE--> company, you should take a closer look at our valuable offers !

With kind regards,
John Smith (my sample company).

Technical note: If "Do not send duplicate e-mails" is marked, a recipient with multiple records receives mail for the first found record only (and so will just see content of table fields for this specific record).

Quick mailings:

Quick mailings are used to send identical messages to all recipients (faster processing). However the usage of personalized elements is not possible (included table tags are removed automatically).
 

AdvertisingSuite asks...
Description...
Mailing method Mark "Quick" to send out messages by using blind carbon copies.
 
AdvertisingSuite asks...
Description...
"To:" field Specify one visible "To:" address for the mailing (user addresses are hidden).
Max. number of BCC recipients
per message
Max. number of recipients allowed per message; recommended value: 99.
 

Intelligent mail content delivery:

The most powerful feature is the delivery of intelligent message parts based on a record's content and "if/then/else" conditions. So a mailing can be written absolutely targeted, which leads to higher response rates and increased user convenience.

Important note: This works only with "Personalized" mailing method. "Quick" mailings will ignore intelligent message parts.

Each "intelligent message part" has the following structure:
 
  <!--if <expression>-->
Message delivered when <expression> is true.
<!--else-->
Message delivered when <expression> is false.
<!--endif-->

Usage notes: "if" and "endif" tags are required, while the "else" part is optional. Recurrent tags may also be used.

<expression> can contain these operators:
 

Type...
Allowed operator...
Possible applications...
Mathematical operators +, -, /, *, == Any kind of calculations with numerical field content, e.g. indices, formulae.
String comparison operators eq (equal)
le (less than or equal)
ge (greater than or equal)
lt (less than)
gt (greater than)
ne (not equal)
Comparison of string based field content, e.g. names and selected options.
Numerical comparison operators =, <=, =>, >, <, <> Comparison of numerical values, e.g. age, size.
Logical operators AND, OR, NOT Relationships between fields, calculation and comparison results.

Format of field values: $fieldname (field names are handled case-sensitive).

Sample applications (non-recurrent tags):
 
  <!--if $gender eq "m"-->
Ties for 5 Euro only.
Just a limited time, buy now !
<!--else-->
Parfums starting at 10 Euro.
<!--endif-->

<!--if $income < 20000 AND $intelligence_quotient <= 30-->
Hi <$name>,
participate in our "get rich fast" special offers !
This is your chance to live like the <rich & beautiful>.
<b><i>So start acting now - start today.</b></i>
<!--endif-->

<!--if $index * 10 / $basetax + 0.03 == 2 AND $taxstatus eq "high"-->
Save taxes by ordering our book "1001 (il)legal tax tricks".
<!--else-->
Increase your income by ordering our book "1001 ways to get wealthy".
<!--endif-->

Usage notes: Second sample does not have an "else" tag, which means that a false result will lead into not displaying anything. Should a field value be unavailable (spelling error, non-existing field), then the argument is considered as being empty.

Technical note: It is also possible to use HTML and client-sided scripts (like JavaScript) within intelligent message parts.

Sample application (recurrent tags):
 
  <!--if $gender eq "m"-->
Special offer for <b>men</b> from our drug store:
<!--if $age > 50-->
Gray hair remover for just 9,99 Euro.
<!--else-->
Shaving foam - just 3,99 Euro.
<!--endif-->
<!--else-->
Special offer for <b>women</b> from our drug store:
<!--if $age > 50-->
Wrinkle remover for just 9,99 Euro.
<!--else-->
Lavender bath salt - just 3,99 Euro.
<!--endif-->
<!--endif-->

Usage notes: Parts in green text belonging together. Do not forget to close all "if" tags avoiding malfunctions.

How to perform a test of personalized and intelligent mailings:

In order to let the system process a sample message, click on the button "Send test message to admin". The system then generates a mailing, which is sent to the administrator under real life conditions.

And these default values are used: Numerical = 0; date/time related fields = actual date/time; URLs = http://test.<fieldname>/; e-mail addresses = test@<fieldname>.test; fields in general = test-<fieldname>.

Smart tip: Have a look at MailingStar (plus) - professional mailing list management and e-mail marketing software.
 

Database import and export tools...

In order to import or export data, click on the button "Import / export data" available on the main admin menu.

Import data into database:

Click at the button "Start data import..." to begin reading in an existing 3rd-party database.
 

AdvertisingSuite asks...
Description...
Determine data file being uploaded Choose the file holding the data intended for being imported to AdvertisingSuite or select an already uploaded one * for processing.

* It is also possible to upload files directly to the server (e.g. via ftp) and then use the admin panel for importing them - please refer below for more information.

Specify data format Select the type of the importable file; alternatively to the pre-defined types, you can also set up a custom format in case of reading special database structures.

Please consult the manual of the 3rd-party database product you wish to import data. If it directly supports AdvertisingSuite, mark "EasyData exchange format".

Important note: Please ensure to decide for the correct data format, otherwise the imported data may appear being destroyed.

Determine the target table New table:

Select this radiobutton to create a new table for the importable data.

Important note: Ensure to mark "Add autoincrement key field" to automatically add a key field (if not existing) - the first table field must be unique to allow identifying records.

Existing table:

Select this radiobutton and choose the desired table (must have the same structure as the one to import); decide either to replace or update already existing data.

Fields selection and post-processing Determine whether you want to import all fields or just selected ones.

If "Let me select fields after uploading" was chosen, a screen appears after the file was read in that shows a list with fields for being importable.

Mark "Delete uploaded file after processing" to remove the source file from the system as soon as the data import has been finished (recommended).

Click on the button "Import data" to start the importing process. After it is finished successfully, please check the read in data for consistency first. It is also recommended to keep a backup copy of all original database files for later references.

Technical note: Data formats "... with field names" requires that the first line of the importable file holds the names of the fields. Alternatively, default names are chosen you can rename later at any time.

Importing already uploaded source files:

This feature is useful especially when trying to import huge databases, because the file size allowed to read in through the admin panel may be limited by your server or webbrowsing software...

Just place the source file into the directory data/import.tmp. Now go to the admin panel, click on "Import / export data" and select the concerned file from the list (see parameter "Determine data file being uploaded").

Export data from database:

Select the appropriate source table and click on "Continue..." to go to the next screen.
 

AdvertisingSuite asks...
Description...
Specify data format Select the type of file you wish to build: You can either decide for a pre-defined format or a custom one suited for special applications.

Usage note: If supported by the target database software, choose "EasyData exchange format" to achieve best results.

Select fields to export By default, all fields and their contents will be exported; however you can uncheck fields not required in your target application (e.g. the ID field may be of no usage there).
Set optional data filter Depending upon the available system fields, you are able to set additional filters.

Only records matching the filter criteria (multiple filters can be connected with AND / OR operators) will be exported. This may save additional diskspace.

For example, you can specify a range of records by using the key field filter (ID field) or enter a search query to export only a determined group of records.

Now click on "Export data" to start the exporting process. A "save file" dialog is shown by your web browsing software to store the exported data file on your computer.

Advantages of the "EasyData exchange format":

The "EasyData exchange format" is a tab-delimited text-based format also storing binary field content, like images or software files together with the textual data (URL-encoded).

Where possible, this format should be used for data import and export tasks to ensure best results when handling non-textual contents (all other supported formats cannot handle binary fields).

Technical note: If you are a programmer interested in implementing our exchange format into your own applications, please let us know. We are able to provide you with additional information upon request.

Helpful hint: Should you wish to manually back up an entire database or to carry an existing one over to an other AdvertisingSuite installation, you may decide to create a "table package" as described more closer in the following.

Table packages - overview:

A table package contains an entire database (the table and all related elements) in one single file (TABLENAME.ede). So table packages are ideally suited for carrying an entire database to an other server or for generating manual backups.

Download table package:
 

AdvertisingSuite asks...
Description...
Specify source table Select the table being intended for package downloading.
Include log files Mark this button to add all log files to the package (may become very large).
No compression Click here to not compress the table package.
Use internal gzip compression Use the internal compression utility (to pack the table package) or unmark this checkbox and specify external utility as followed.
Use external compression program Click here to compress the table package by using a server-sided tool.

"Compression command template": Contains the command used for compression. By default, AdvertisingSuite tries to use the gzip compression utility of the server.

The compression command usually has two variables: $file_to reflects the compressed file, $file_from reflects the original source.

"Compressed file extension": Extension appended at file marking it as compressed.

Now click on "Download table" to save the table package. A "save file" dialog is shown by your web browsing software.

Upload table package:
 

AdvertisingSuite asks...
Description...
Specify ".ede" file Select a local ".ede" file being intended for package uploading.
Decompression method
Compressed table packages needs to be decompressed first.
No decompression Click here to not decompress the uploaded package.

Important note: In the case a compressed package is uploaded but not decompressed correctly, an error message will be displayed and installation aborts.

Use internal gzip compression Use the internal decompression utility (to unpack the table package) or unmark this checkbox and specify external utility as followed.
Use external compression program Click here to decompress the table package by using a server-sided tool.

"Decomp. command template": Contains the command used for decompression. By default, AdvertisingSuite tries to use the gzip compression utility of the server.

The decompression command usually has two variables: $file_to reflects the target ".ede" file, $file_from reflects the original source.

"Expected filename after decompression is complete": Select either to autodetect the package filename or specify one (has to end with .ede).

Now click on "Upload table" to copy the table package to the server.

Technical note 1: Should there already exist a table with equal name, AdvertisingSuite chooses a new name for the uploaded table (may be changed later at "Restructure table" screen).

Technical note 2: The choices "Use internal GZIP compression" respectively "Use internal GZIP decompression" for table package down- and uploads are only available, if there is the Perl module "Compress::Zlib" installed.
 


 
Advertiser lounge and template management
Access the advertiser lounge...

The advertiser lounge is the main control area for existing advertisers to manage profiles, place ad campaigns and more.

Additionally, it also allows new customers to register as advertisers on your website.

If you desire to manage your advertisements by yourself or use AdvertisingSuite to rotate images / content, then you can also disable the advertiser lounge - please refer to the chapter "Ad space management & advanced features".

How to access the advertiser lounge:
 

Action to perform...
URL to call (location varies on your system, of course)...
Access advertiser lounge http://www.sunnyscript.com/cgi-bin/as/login.cgi             or
http://www.sunnyscript.com/cgi-bin/as/my.cgi
 
 
Advertiser lounge - basic overview...

First step - login or sign up:

In order to get access to the advertiser lounge, users must sign-up first and create their own profiles. People already having a password can use their e-mail address and password to log in. Both is done on the first advertiser lounge screen:
 

Login screen options...
Description...
Login Use the registered e-mail address and password to get access to the advertiser lounge right away.
Become an advertiser now Click on this link in order to get a new profile.
Mail password Let AdvertisingSuite remind to forgotten passwords via e-mail.

Advertiser lounge - main screen:

After you have logged in, you'll see the advertiser lounge main area with the following available sections: 
 

Available sections...
Description...
Account balance Actual profile balance (real-time) with the ability to load new money.

In order to add more credits to the account, follow these steps:

1. Type in an amount to deposit and click on "Continue".

2. The next screen shows a form for billing details to be filled in; default values are taken over automatically from the concerned advertiser profile.

3. Now confirm the ordered amount and finish this process.

4. Wait till the order is confirmed. You may print an available invoice, go back to the front screen or leave the system until the amount was added.

Banners Statistical information about available banners; additional options:
 
Available links...
Description...
more statistics Get detailed statistics on a monthly base.
update Update the concerned banner.
delete Delete the concerned banner.
preview Preview the concerned banner.
 

The top menu line provides additional selections (depending on the current system status):
 

Top menu options...
Description...
Home Go back to the advertiser lounge's main screen.
Profile Update or remove the profile you're logged in with.
Add banner Access the "add new banner" form.
Logout Leave the advertiser lounge (login page will be displayed).
Help Get additional help information (see "System parameters" screen).
 
Advertiser lounge customization with templates...

Templates are used by AdvertisingSuite to build the advertiser lounge frontend. Each screen shown on the lounge is generated from one or more template files (mail messages are also handled in this way).

By default, a standard template scheme is used. It's the ideal basis to create your own templates or modify the existing ones. More detailed information will follow later in this chapter. You have two choices of modifying the lounge templates:

1. Modify color and font schemes only:

You may adjust the color and font schemes to achieve a similar layout as the one of your business website...

Go to the admin menu, click on the button "Edit templates" and search for "main template" labelled entries. These contains various layout settings taking effect to all sub-templates connected with the concerned main template.

2. Full set of freely configurable templates:

Beside of just customizing color and font schemes with style sheet commands, you can create your own set of templates or re-write the standard ones (they are a good basis for your own templates).

Each template is written in HTML and contains special tags which will be replaced by appropriate content. There's nothing you cannot customize, however you should have a familiar understanding of AdvertisingSuite and HTML programming.
 

Available templates...

Available templates:

There are three kinds of templates: Main templates contain the master layout; sub-templates hold the layout of output blocks appearing in these main templates; independent templates stand alone.

A detailed list with comprehensive descriptions of all template files is available from the admin panel (see "Templates editor" screen). Please contact our customer service for pre-sale inquiries asking for this list.

Helpful hints: If you create your own template sets, start creating the main templates first to have a better overview. After each single template is ready, run a test-drive to check correct functionality.

Important note: We strongly recommend to keep backup copies of the original template files for later referencing purposes.

Location of templates:

All template files are physically located in the templates directory you specified during installation of AdvertisingSuite.

As long as you create or modify templates using the admin panel, you don't have to care about. However if you create templates manually, you must copy them to this location, because AdvertisingSuite only recognizes files in this directory as templates.
 

Customization of templates...

As you may have seen above, each template contains special tags in the format <!--$TAGNAME--> which will be replaced by AdvertisingSuite with appropriate content (like menu options or system messages).

For some advanced functions, Perl code is used on the templates together with internal script variables. You may just surround these codes with additional HTML tags or modify them as desired (suggested only if you are familiar with Perl).

Important notes: Some tags are specific for selected templates. If you add a tag to a template which cannot use it, concerned tag will be simply ignored. However a missing tag can cause that users are not able to get access to selected features.

If you wish to customize templates, go to the admin menu and click on the button "Edit templates".

List of tags and Perl script variables you can use on templates:

A detailed list with comprehensive descriptions of all valid variables and tags is available from the admin panel (see "Templates editor" screen). Please contact our customer service for pre-sale inquiries asking for this list.

Expert note: Common script variables available in all templates are $in{<form_var>}, which gives access to form variables submitted by the user (<form_var>) and $namespace->{'TAG'}, which offers access to special tag variables.

Custom software solutions:

Contact our sales department to request a free quote for our individual programming and customization services. Our team of experienced programmers and website designers looks forward to take over your project at affordable rates.
 


 
Helpful hints and technical reference
Background processes...

AdvertisingSuite runs long-living processes in the background, mainly related to the generation of statistics. Depending upon the amount of data to handle, these processes can take several minutes.

In order to manage this task with highest possible compatibility to different server systems, AdvertisingSuite uses "fork" function to prevent killing of resource consuming processes by running clone processes with other PID (process identification).

So the allowed CPU time on your server isn't exceeded, but AdvertisingSuite can manage all tasks without disruptions. In this way, you don't have to take care about the size of your jobs nor deep technical details of your server configuration.

However sometimes "fork" function is not available (this is detected automatically when running the admin panel first time, see "System parameters" screen). In this case, please refer to the chapter "Ad space management" ("Data maintenance" of "Edit AdvertisingSuite parameters" screen) for more details about how to workaround this problem.

Usage note: Even if you lose your Internet connection or your web browser crashes, the background processes are kept alive.
 

Ad banner delivery vs. system resources...

On an average * (single processor) server system, AdvertisingSuite can deliver 250.000 to 350.000 requests ** per day (that's an average of 4.05 requests per second). Faster systems (e.g. multi-processor environments) can serve more accordingly.

Generally there is no need to worry about performance, even in the rare case that your website generates more than 350.000 requests daily; our software is able to handle also more requests - however then showing slight delays in banner delivery.

Usage note: Most CPU time is required for country-by-IP lookups (there are over 32.000 IP addresses to check each time), so disabling "Use internal database for country-by-IP search" (see "Edit AdvertisingSuite parameters") increases performance.

By the way: When you experience performance problems on a heavy-traffic website, just contact your webhosting provider and ask them to upgrade your server with a faster processor and more system memory.

* Unix powered industry standard system; 01/2002. Achieved performance may vary on your system.
** Each request can serve several banner impressions (multi-banner slots).
 

Banner format creation...

Some special implementations of banner formats can be tricky; so we have already created many pre-defined sample formats, suited being used as base for your own creations. These default formats are shipped with your software license:
 
Banner format code...
Description...
img.468x60 Standard image banner with 468*60 pixels in size.
img.234x60 Standard image banner with 234*60 pixels in size.
img.468x60x3 Block of three banners with 468*60 pixels in size.
txt.3 Block of three horizontal text banners, each 150*15 pixels in size.
external.html HTML-banner which uses source content from 3rd-party systems.
external.border.468x60 Image banner which uses source content from 3rd-party systems.
external.javascript JavaScript banner which uses source content from 3rd-party systems.
popup.250x300 Create a pop-up window with HTML content inside, window size is 250*300 pixels.
javascript.opensite Auto-open advertiser website in a new browser window (no visible banner).
html.form Interactive HTML form (dimensions 468*60 pixels).
 
Time based advertisements...

In some cases you may wish to measure the time period an advertisement is online and/or want to charge fees based upon this time period. This task has to be handled by the admin, but AdvertisingSuites provides some helpful features.

"Life time" field:

Within the system table of banners, the column "Life time" contains the time period a particular banner is alive on the system.

"Deactivation date & time" field:

When creating a banner, this field can be set to stop banner appearance at a given date and time. So AdvertisingSuite is able to discontinue a banner automatically as soon as it expired.

Helpful hint: When charging for time based ads, simply deduct the amount from concerned advertiser profile by updating the field "Balance" (reduce balance at the concerned fees).
 

Banner selection and ranking criteria...

Selection criteria deciding about a pool of matching banners:

* Banner enabled and not marked as blocked.
* Banner not marked for deletion.
* Banner format matches the banner slot format.
* Current date & time matches the activation / deactivation time period.
* Current date & time matches to settings for day of month, weekday and hour of day targeting.
* Banner matches the site zone targeting.
* IP address matches the geographical zone targeting.
* Keywords match the keyword targeting settings.
* Impressions and click-throughs limits are not exceeded.
* Advertiser's balance is positive (not applicable for "owned by admin" banners).

Ranking criteria deciding about the banner to display:

* Banner priority class: Banners with higher priority classes are preferred.
* System banners (owned by admin) having a percentage impression / click-through limit set are served prior others.

-> Based upon these information, an impression distribution scheme is calculated for each priority class and compared with previous values to select a matching banner and provide fair rotation (according your set preferences).
 

Affiliate management with YourAffiliates...

Smart tip: Have a look at SunnyScript's YourAffiliates - advanced affiliate management to empower full business' potential.

Beside of correct configuration of the order logging settings within "AdvertisingSuite parameters", you don't have to take care about anything else as long as YourAffiliates uses the same domain name as the advertiser lounge.

The reason for this pre-requisite is a security limitation in the cookie technology, that allows only domains reading a cookie, which have originally set it - that's why the domain names of YourAffiliates and AdvertisingSuite must match each other.

Use a different domain name:

For this application, AdvertisingSuite must set the affiliate ID instead of YourAffiliates on customer's computer. So you are able to use different domain names for both software packages.
 

Action to perform...
URL to call (location varies on your system, of course)...
Aff. URLs by AdvertisingSuite http://maxjump.com/cgi-bin/as/redirect.cgi?prg=<prg>&affil=<id>

<id>: Affiliate identification; <prg>: Affiliate program code.

According the above URL scheme you have to modify the advertising HTML codes used by YourAffiliates (please refer to the electronic manual of this product regarding details).

Auto-processing of order cancellations:

If you (or your customer) cancel an order at AdvertisingSuite, any paid sale commission is automatically deducted from the concerned affiliate's account.

Technical note: Since the table of orders does not store affiliate IDs, it is impossible for the software to recall commissions when setting a cancelled order back alive - this task has to be added manually via YourAffiliates' admin panel.
 

Forgot your admin password ?
 
If you forgot your admin password, you must remove the admin password file named admin.pass located in "auth" directory (see software directory of AdvertisingSuite). Then you can set a new password next time you access the admin panel.
 
Advertiser lounge and template translations...

The advertiser lounge of AdvertisingSuite is fully customizable and translatable by modifying the existing templates accordingly. In addition, also system messages may be translated:

In order to translate system messages into your desired language, download the files *.en (located in the software directory), which holds all pre-defined text parts and load them into a text editor.

Each language file uses the same structure:
  <Meaning or default text> => <Translation>

Please change only the part <Translation> while keeping the left-sided ones. After you finished translation, please upload the files to your server and give them a try.

Important note: You should create a backup copy of all original *.en for later reference.

Custom payment method labels:

If you wish to use different labels for payment methods than the default ones (for example "Banking transfer or cheque" instead of "Send invoice"), you need to modify the entries at file order.en , section "List of all implemented payment methods".

Important note: Alterations done to order.en can negatively affect the software's behavior, so please be careful.
 

Advanced search features...

Searching for information:

AdvertisingSuite provides a wide range of powerful search features to retrieve information from your stored data fast and accurate. In the following, we want to show how to built search operations in an effective way.

Let's first have a look at these two records used to explain the sample operations below:
 
id: 1
firstname: John
lastname: Smith
age: 27
postcode: 12345
city: Samplecity
country: Somewhere
id: 2
firstname: Max
lastname: Smith
age: 12
postcode: 02345
city: Samplecity
country: Somewhere

Usage note: All samples don't consider special features like searchable fields, whole word or case-sensitive search operations. They just refer exclusively to their concerned explained features.

Interpreting keyword searches:

In most cases, you can use any text string for query fields in order to start searching a table.

Sample query: smith
Delivered records: 1, 2

Multiple keywords should be separated by spaces. AdvertisingSuite automatically adds the logical operator AND unless an other one is specified (read below for details and additional explanations).

Sample query: john blanche
Delivered records: none ("john" is found in record 1, but "blanche" is not existing)

If you are not sure about the spelling of a word (e.g. singular/plural or different spelling alternatives), then just type in a partial word.  AdvertisingSuite will perform a sub-string search for the provided string.

Sample query: some
Delivered records: 1, 2 (finds string "some" in values of field "country")

Boolean operators: AND (&) OR (|) NOT (!)

The logical operators AND, OR, NOT are supported. Instead of the words AND, OR and NOT you can also use the operator characters ampersand (&), pipe (|) and exclamation mark (!).

Sample query: john AND smith
Delivered records: 1

Sample query: john OR max
Delivered records: 1, 2

Sample query: john ! max
Delivered records: 1 ("!" stands for "NOT")

Technical note: At advanced searches you can specify a default operator.

Parentheses: ( )

Operations put within parentheses are processed first; the result is then used for further operations within the search string.

Sample query: (john NOT max) AND samplecity
Delivered records: 1 ("john NOT max" delivers record 1; then looks there for "samplecity"; both statements are true (AND))

Phrases: " "

Strings put within phrases are searched exactly as they are (not case-sensitive).

Sample query: "sample"
Delivered records: 1, 2 (finds "samplecity")

Sample query: "JOHN"
Delivered records: 1

Wildcards: * ? \

Beside of the standard sub-string search, it is possible to use more specific wildcards for automatically expanding a search operation. Wildcards marking variable parts of a string; they are helpful when looking for word variations and different spellings.

The asterisk (*) is considered as placeholder for none, one or more characters; the question mark (?) is considered as placeholder for exactly one character.

Place an escape character (\) before any symbol to disable its special meaning (e.g. a search for the string "book\*" will look for "book*" as it is written and does not consider the special meaning of the asterisk character).

Sample query: sample*
Delivered records: 1, 2 (would also find "sampletown", "samplevillage" or just "sample")

Sample query: ?2345
Delivered records: 1, 2 (but would not find "012345", since only one character is allowed being there).

Comparison operators: = == < > <= >= <> ~ !~ ~~

Within a search query you may address a specific record field being searched for a given string or numerical value.

Available operators:
 
= wildcard match (wildcard symbols allowed) == exact match (disabled wildcard search, "as is")
< less than > greater than
<= less or equal than >= greater or equal than
<> or != not equal ~ contains text (default operator)
!~ does not contain text ~~ whole word match

Sample query: age <= 12
Delivered records: 2 (looks exactly at the field "age" and disregards other fields)

Technical note: When just entering a string, AdvertisingSuite converts it into <searchable field> ~ <search string>. In case of using "whole word" match, the search string is converted into <searchable field> ~~ <search string>.

Priority of used operators:

When processing a search request, AdvertisingSuite first handles all parentheses, then comparisons and finally any boolean operator found (in this priority: NOT, AND, OR).

Search options at "Advanced search" screen:

By clicking at the "Search" link in the upper left corner of the screen you will come to the advanced search area for the concerned active table. Beside of a standard search mask, also the following options are available:

Case-sensitive: Mark this button to handle search operations case-sensitive (CAPITAL and lowercase chars are differed).

Whole words: Mark this button to search for entire words only (recognizes space characters).

Match method: Select whether all arguments must be found (AND) or just one is sufficient to list a record (OR).

Sort by / then sort by: Define sorting of search results over two levels.
 


 
Customer services

Depending upon your license type, this software package includes various support services. Please refer to the license document or visit our website for more information about available services.

Before you contact our customer service department, please read this manual first. In most cases you find the answer here. However if you still experience problems, we will be more than happy to help you...

For all support inquiries, please contact support@sunnyscript.com and provide the following information:

* The license number of the concerned product.
* A close description of the problem or question you have (no file attachments, please).
* For technical inquiries: Used server environment, URL of admin panel & admin password.
 

Now we wish you a great time with our software products :-)

 
© SunnyScript - A subsidiary of Star Enterprise. Visit the SunnyScript website.
Please read our terms of business located at... http://www.sunnyscript.com/terms.htm