Ads Settings

PQA Ads Settings


Adverts are here to stay. There are several reasons why webmasters would like to serve adverts on their websites.

If you want to serve ads on your web site, please follow these procedures.

Ad Networks ( Taboola, Outbrain, Infolinks, Content.ad, Adsense )

Google adsense ads can be shown in two main ways.

  1. Manually copying the adsense code and placing it at the layout section of the website
  2. Using a plugin

Manual ads placement

To manually place ads on your website, follow the procedure below;

  1. Obtain the ads code from your google adsense account dashboard.
  2.  Go to yoursite.com/admin/layout
  3. Place ads in Any of the following locations labelled:

i. Custom HTML in sidebar box on every page

ii. Custom HTML in side panel on every page

iii. Custom HTML at top of every page

iv. Custom HTML at bottom of every page.

v.You should experiment to see which location is best for your site.

Ads placement Using a Plugin

You can place ads on your PQA site using an ads plugin.

PQA comes with a default ads plugin installed called basic adsense.

To place ads with basic adsense plugn, follow the procedure below;

  1. Make sure basic adsense is installed and enabled by visiting yoursite.com/admin/plugins.
  2. Click on the options link beside the basic adsense plugin
  3.  Obtain your adsense publisher id and input it here.
  4. Save changes
  5. Navigate to yoursite.com/admin/layout
  6. Scroll down to the bottom of the page –> available widgets –> basic adsense
  7. Click on add widget beside the basic adsense plugin
  8. Choose the location of the ads and the places you would want to show the ads
  9. Save changes.
  10. Repeat and Test until satisfied.

 

Custom Image/Banner Ads

You can serve custom images and banners on your PQA site by saving the images and calling them directly with html or JavaScript codes.

Follow these procedures

  1. Create an ads folder at the root folder of your site. The site folder can also be placed anywhere on your server or on an external server.
  2. Call the images or banners with JavaScript or HTML codes

Example

You want to show a 728×90 banner ad

  1. Create a folder on your server

admin-manual-pic1

  1.   Place your custom 728 x 90 banner img in the Ads folder
  2.  display the banner with an HTML or JavaScript code
    <img src="/Ads/banner.gif" alt="my banner" height="728" width="90">

    Replace banner.gif with your custom banner name, change height and width to your desired values.

  3. Copy and paste the above code in yoursite.com/admin/layout. The places to paste the code include:

i. Custom HTML in sidebar box on every page

ii. Custom HTML in side panel on every page

iii. Custom HTML at top of every page

iv. Custom HTML at bottom of every page.

v.You should experiment to see which location is best for your site.

 

NOTE: When you have lots of banners to display, using HTML will not be efficient. In that case using JavaScript code and displaying the banners based on time in a slideshow format would be best.