WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Google Affiliate Network

A Widget / shortcode plugin to display Google Affiliate Network ads. Both text links and image ads can be displayed.

A Widget / shortcode plugin to display Google Affiliate Network ads. Both text links and image ads can be displayed. The widgets are parameterized. There is backend access to the database table of links. Links can be added and/or edited by hand or can be added in bulk from a Tab Separate Value file, as downloaded from Links (Beta) tab from the Google Affiliate Network page. A Tcl script is included to insert E-Mailed links (link subscriptions). The Widgets and shortcodes are parameterized for both sidebar display (vertical layout) as well as leader/footer display (horizontal layout).

The ads are rotated, with the least viewed ads from the lest viewed avertisers being shown in preference to ads that have been viewed more from avertisers than have been viewed more. As ads are displayed, their impression counts are incremented, which moves such ads to the back of the list. Ads are displayed in iframes, which keeps the ads contained on the page. Either widgets can be used to display ads in side bars or shortcodes can be used to display ads in pages or posts (both can be used if desired). A given ad unit can only display text or image ads, not both. As a convience, a media insert button is available on the post and page editor to generate and insert short codes to display ad units on posts and pages.

The plugin provides an administration page to view the database of ads, with the ability to add ads one at a time or in bulk (from a TSV file downloaded from your Google Affiliate Network Links tab). There are also administration pages to view ad impression statistics and merchant (advertiser) impression statistics. The statistics can be downloaded as CSV files. The plugin also includes a help page and a printable PDF user manual.

Notice: Google is planning on retiring the Google Affiliate Network. I am going to stop working on this code. It is available for whoever wants to look at it and maybe use it as example code or the basis of some other affiliate advertising system.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-26
Downloads: 16,282

Ratings

3 stars
3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,2,2
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1