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.
- Manually copying the adsense code and placing it at the layout section of the website
- Using a plugin
Manual ads placement
To manually place ads on your website, follow the procedure below;
- Obtain the ads code from your google adsense account dashboard.
- Go to yoursite.com/admin/layout
- 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;
- Make sure basic adsense is installed and enabled by visiting yoursite.com/admin/plugins.
- Click on the options link beside the basic adsense plugin
- Obtain your adsense publisher id and input it here.
- Save changes
- Navigate to yoursite.com/admin/layout
- Scroll down to the bottom of the page –> available widgets –> basic adsense
- Click on add widget beside the basic adsense plugin
- Choose the location of the ads and the places you would want to show the ads
- Save changes.
- 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
- 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.
- Call the images or banners with JavaScript or HTML codes
Example
You want to show a 728×90 banner ad
- Create a folder on your server
- Place your custom 728 x 90 banner img in the Ads folder
- 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.
- 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.