Generate Your Ad Invocation Codes

In order to serve your ads on your websites, you will paste the HTML snippets (so-called invocation codes) that you generate on this page wherever you want the ads to appear.

The ads can be served based on size and category. For instance, if you want to serve 300x250 ads for eBooks on your book review sites, please select the category and size accordingly. If you want all the ads of a particular size to appear, you can select All as the category.

The size parameter, on the other hand, cannot be ignored, and defaults to 300x250.

"); $catSource = "[{value: 'All', text:'All'},"; $categories = $db->getData('categories', '*', 'active=1'); foreach ($categories as $cat) { extract($cat); $catSource .= "{value: '$name', text: '$name'},"; } $catSource .= "]"; $sizes = $db->getColData('banners', 'size'); $defaultSize = $sizes[0]; $sizeSource = "["; foreach ($sizes as $size) { $sizeSource .= "{value: '$size', text: '$size'},"; } $sizeSource .= "]"; ?>

Filter your ads by category and size to generate the invocation codes.

All

Copy and paste this code on your page where you would like to see the ads.


 Preview of your ad.