Advert weight system

[- ADROTATE PRO FEATURE -]

This feature let's you to give adverts "weight", or importance, to give them more attention (impressions) over other ads. All you have to do is set a number (weight) for each advert.

There are 5 levels. Where a weight of 2 gets significantly less impressions and a weight of 10 gets most of the attention. The default value is 6. As you manage your ads you can change this as a setting when editing the ad.

Note: Setting all adverts in a group to the same weight will defeat the system as all have an equal chance of being shown.

Weight overrides

You can overrule set weights in groups using shortcodes and PHP. This allows you to set all kinds of weights for each ad but set a minimum level of weight for a certain location.

Note that the weight override is a minimum weight. If you set it to 4 no ads with a lower weight will show for that location.

Using a Shortcode

Shortcodes can be used in Posts, Pages and certain widgets.

Groups:
[adrotate group="2" weight="6"]

Using PHP

PHP goes in your theme files. Typically index.php, single.php or page.php.

Groups (group 12, no fallback, weight 8):
echo adrotate_group(12, 0, 8);

Groups (group 2, fallback group 2, weight 4):
echo adrotate_group(2, 2, 4);

Article Details

Article ID:
28
Rating :

Related articles

More plugins and services

AdRotate Pro Single License
AdRotate Professional
Banner manager

Get started with successful advertisement campaigns on your WordPress and Classicpress website within minutes. Use features like Geo Targeting, scheduling and post injection to start making that passive income!
AJdG Solutions Plugins
All my plugins
WordPress and Classicpress

Check out my handy plugins for WordPress and Classicpress. Also take a look at these extensions for WooCommerce and bbPress and run your webshop and forum more efficiently!