Ad Rotator Component Reference (ii)-Rotator Schedule file

Source: Internet
Author: User
Tags relative
The Reference Rotator Schedule file contains information about the Ad Rotator component that is used to manage and display various ad images. In the file, the user can specify the details of the advertisement, example
such as the space size of the advertisement, the image files used, and the percentage of each file's display time.

The Rotator Schedule file is made up of two parts. The first part sets the parameters that apply to all advertising images in the rotation arrangement; the second section specifies the files for each individual ad
and location information, as well as the percentage of the display time for each ad that should be received. The two parts are separated by a row of all asterisks (*).

There are four global parameters in the first section, each of which consists of a keyword and a value. All parameters are optional. If the user does not specify a value for the global parameter, the
Ad Rotator will use the default value. In this case, the first line of the file must have only one asterisk (*).

Grammar
[REDIRECT URL]
[WIDTH Numwidth]
[HEIGHT Numheight]
[BORDER Numborder]
*
Adurl
Adhomepageurl
Text
Impressions

Parameters
Url
Specifies the path to the dynamic-link library (. dll) or the application (. asp) file that performs the redirection. The path must be complete
(http://MyServer/MyDir/redirect.asp) or a relative virtual directory (/mydir/redirect.asp).

Numwidth
Specifies the width of the advertisement on the Web page in pixels. The default value is 440 pixels.

Numheight
Specifies the height of the advertisement on the Web page in pixels. The default value is 60 pixels.

Numborder
Specifies the border width of the four week hyperlink for the advertisement in pixels. The default value is 1 pixels. If you set this argument to 0, there will be no border.

Adurl
The location of the advertising image file.

Adhomepageurl
The location of the advertising homepage. If the Advertiser does not have a home page, write a hyphen (-) on the line, stating that the advertisement has no links.

Text
Alternate text that is displayed if the browser does not support graphics or turn off image functionality.

Impressions
From 0 to 4,294,967,295, indicate the relative weight of the advertisement.
For example, if the Rotator Schedule file contains 3 advertisements with the impressions set to 2, 3, and 5, the first advertisement takes up 20% of the display
, the second occupies 30% of the display time, and the third takes up 50% of the display time.

Example
The following script demonstrates how to use the Rotator Schedule file to display various advertisements and how to include the redirected files.

---adrot. TXT---
Redirect/scripts/adredir.asp WIDTH 440 HEIGHT BORDER 1 *
Chlogolg.gif Http://www.bytecomp.com/Check out the Bytecomp Technology
Center20 gamichlg.gif-sponsored by FLYTEWORKS20
ismodemlg.gif http://www.proelectron.com/28.8 Internal PC modem, only $99 80
Spranklg.gif http://www.clocktower.com/The #1 Sports site on the net 10



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.