The script parses XML feed from pay-per-click (PPC) networks
and fetches ads to the browser (output controlled by template).
Fraud Prevention
You can reduce the possibility of unintentional fraud
by optionally using JavaScript to output ads.
This will prevent search engine spiders and other automatic software
from following such links.
Sorting Algorithm
There are two essential parameters
that influence the effectiveness of your affiliate ads:
- cost-per-click (CPC)
- click-through-rate (CTR) or the number of clicks per thousand impressions
PPC networks disregard the second parameter completely in their XML feed,
i.e. they always serve results with the highest CPC first.
With this script, you can override this sorting algorithm
by applying positive modifiers to the words
that you believe will improve the effectiveness of an ad
and negative modifiers to the words that you believe will reduce it.
For example, an ad that contains the word "free" is likely to generate
more clicks than an ad packed with dollar signs,
which means that it can be more profitable even with lower CPC.