Rotating Ads

From CashCrusaderWiki

(Difference between revisions)
Jump to: navigation, search
Line 152: Line 152:
<code><iframe src=http://YOUR_DOMAIN/scripts/runner.php?IFRAME=1&GA=PUT_GROUP_HERE space=0 vspace=0 width=468 height=60 marginwidth=0 marginheight=0 frameborder=0 scrolling=no></code>
<code><iframe src=http://YOUR_DOMAIN/scripts/runner.php?IFRAME=1&GA=PUT_GROUP_HERE space=0 vspace=0 width=468 height=60 marginwidth=0 marginheight=0 frameborder=0 scrolling=no></code>
 +
<code><script language="JavaScript" src="http://www.YOUR_DOMAIN/scripts/runner.php?JS=1&GA=PUT_GROUP_HERE"></code>
<code><script language="JavaScript" src="http://www.YOUR_DOMAIN/scripts/runner.php?JS=1&GA=PUT_GROUP_HERE"></code>
 +
<code></script></code>
<code></script></code>
-
<code></iframe></code>
 
 +
<code></iframe></code>

Revision as of 11:12, 26 September 2008

Contents

What Are Rotating Ads?

Rotating ads are advertising that show up in a page and one ad from ads available to the position is randomly shown.

Most common forms of rotating ads are:

  • Banner Ads
  • Textlinks

Other forms of rotating ads:

  • IFrame
  • Pop-Under
  • Pop-Up
  • Redirect AD

How To Create a Rotating Ad

To create a Rotating ad go to Main menu -> Ad Management -> Rotating Ads

Insert desired details to the fields under "Create New Ad"

OptionDescription

Username

The advertiser's username

Ad Description

Description of the ad

Ad Group

You can create a new group by inserting the group's name to the field manually or you can use an existing ad group.

Duration Type

Choose how the Rotating ad will expire. You have four options to choose from:

  • Never Expire
  • Expire by certain date
  • Expire after so many clicks
  • Expire after so many exposures

Duration

Duration value, set the value depending the duration type option chosen:

  • Never Expire: Leave blanc
  • Expire by certain date: Set the date and time in YYYYMMDDHHMMSS format, for example 20080831000000
  • Expire after so many clicks: Insert a numeral value, for example 1000
  • Expire after so many exposures: Insert a numeral value, for example 100

Choose if you want to create a Banner/Text Ad, HTML Ad or IFrame/Pop-Under/Pop-Up/Redirect AD (Pop-Up's and Pop-Unders Ads will never expire if the duration type is set to expire after so many clicks). The common choise is "Banner Advertisement".

Banner Advertisement, Banner image URL

Direct url to the banner image.

For example: http://youdomain/images/banner.gif

Banner Advertisement, Image width

Insert image width. This setting is optional and does not have to be used unles you want to change the image width.

Banner Advertisement, Image height

Insert image height. This setting is optional and does not have to be used unles you want to change the image height.

Banner Advertisement, Site URL

URL of the website advertised. The url must be completed and include the http:// part.

For example: http://example.com

To place the username in the url put #USERNAME# where you would like it to appear

Banner Advertisement, Alt Text

Alternative text for the image. This is optional, but recommended.

Banner Advertisement, Text Ad

If you are not using a banner image insert the link text here.

IFrame/Pop-Under/Pop-Up/Redirect AD, Site URL

URL of the website advertised. The url must be completed and include the http:// part.

IFrame/Pop-Under/Pop-Up/Redirect AD, Window Width

Insert window width in pixels.

IFrame/Pop-Under/Pop-Up/Redirect AD, Text Ad

Insert window height in pixels.

IFrame/Pop-Under/Pop-Up/Redirect AD, Window Type

Choose between:

  • IFrame
  • Pop-Under
  • Pop-Up
  • Redirect AD

HTML AD

Insert your HTML code for the ad. (To place the username in the url put #USERNAME# where you would like it to appear. HTML Ads will never expire if the duration type is set to expire after so many clicks)

Click on "Save Ad", Please notice that it will take until the next cron before the ad appears on the desired position.


How To Delete Rotating Ads

To delete old rotating ads from your database go to Main menu -> Ad Management -> Rotating Ads -> List/Delete old rotating ads. Enter a number of days to te "List ads that have that have not been shown in x days" field and click on "Report". Select ads you want to delete from the list, enter the confirmation ID to the "Confirmation ID" field and click on "Delete Now".

To delete single ad go to Main menu -> Ad Management -> Rotating Ads. Search for the ad you want to delete and click on "Delete"

Please notice that the ads will be removed from the database and can not be recovered without making a database restore. We strongly advice you to download a MySQL backup before you delete any ads.


How To Place Rotating Ads On a Page

To place ads on your page use the following code. REPLACE: PUT_GROUP_HERE with the ad group name of the ads you wish to rotate <?php action('show_rotating_ad','PUT_GROUP_HERE');?>

Or if you would like to display your ads on different sites that are not the Cash Crusader software package you can place this code:


<iframe src=http://YOUR_DOMAIN/scripts/runner.php?IFRAME=1&GA=PUT_GROUP_HERE space=0 vspace=0 width=468 height=60 marginwidth=0 marginheight=0 frameborder=0 scrolling=no>

<script language="JavaScript" src="http://www.YOUR_DOMAIN/scripts/runner.php?JS=1&GA=PUT_GROUP_HERE">

</script>

</iframe>


Replace YOUR_DOMAIN with YOUR domain name and adjust width and height options to desired values if needed.


If you want to just rotate URLs from one simple link, select the redirect option when creating the ad and you can rotate those URLs from this one link http://YOUR_DOMAIN/scripts/runner.php?GA=PUT_GROUP_HERE

Replace YOUR_DOMAIN with YOUR domain name

Personal tools
Administration manual