Until recently I used the plugin “Advertising Manager”. However, I am not quite satisfied the set of its capabilities. For example, the inability to display scheduled advertisements, or the inability to display ads in the posts only certain categories. Etc.
That’s why I wrote my own plugin to control the advertising on the blog – Simple Ads Manager. I tried to create a plugin that will satisfy most requests of any blogger to manage advertising on the blog. And I think I managed it.
Simple Ads Manager is easy to use plugin providing a flexible logic of displaying advertisements.
Features
- Flexible logic of advertisements rotation based on defined weight of each advertisement in group (Ads Place)
- Custom default ad for each Ads Place Allowed types of ad’s codes are HTML, javascript, PHP
- Codes of Google DoubleClick for Publishers (DFP) supports
- More flexibility of displaying ads by using Ads Zone selector
- Outputting ads as widget
- Outputting ads as shortcodes in any place of single post/page content
- Outputting ads in any place of theme template using output functions
- Customizable outputting ads as block of ads
- Automatic outputting ads in single post/page if allowed
- Customizable limitation of displaying advertisements by types of page
- Customizable limitation of displaying advertisements on single post page by post ID (IDs)
- Customizable limitation of displaying advertisements on single post page or category archive page by category (categories)
- Customizable limitation of displaying advertisements on single post page or author archive page by author (authors)
- Customizable limitation of displaying advertisements on single post page or tag archive page by tag (tags)
- Customizable limitation of displaying advertisements on custom type single post page or custom type archive page by Custom Type (Types)
- Customizable blocking of displaying advertisements on single post/page by post/page ID (IDs)
- Customizable blocking of displaying advertisements on single post page or category archive page by category (categories)
- Customizable blocking of displaying advertisements on single post page or author archive page by author (authors)
- Customizable blocking of displaying advertisements on single post page or tag archive page by tag (tags)
- Customizable blocking of displaying advertisements on custom type single post page or custom type archive page by Custom Type (Types)
- Schedule of displaying each advertisement if allowed
- Customizable limitation of displaying advertisements by hits
- Customizable limitation of displaying advertisements by clicks
- Statistics of hits
- Statistics of clicks (your own advertisement image mode)
- Customizable accuracy of bots and crawlers detection
- Counting revenue from ads placement, display ads and clicks on advertisements
Available languages
- English
- Russian
- German by Fabian Krenzler and Ulrich Simon
- Belarusian by Alexander Ovsov (Web Geek Sciense)
- Spanish by xiaobai_wp
- Italian by Alfredo
The Concept
The main object of the plugin is “Ads Place“. Each Ads Place is a container for the advertisements and provides the logic of the show and rotation. In addition, one of the parameters of advertising space is “patch ad code”, ie ad to be shown if and only if the logic of ads this Ads Place does not permit to show none of the advertisements contained in this Ads Place. One Ads Place can contain any number of objects “advertisement”.
Object “advertisement” rigidly attached to his container “Ads Place”. Its parameters determine frequency (weight) of displaying and limiting displaying from “show all pages” to “show the articles with ID … ” and show from date to date (the schedule).
Additional object “Ads Zone” is selector developed for increasing the flexibility of displaying ads. This optional object can be useful for conducting advertising campaigns using a large number of promotional materials.
The additional object “Ads Block” allows to display the block of advertisements.
Installation
- Upload the plugin folder to the folder
/wp-content/plugins/
- Activate the plugin on the Plugins page
- Configure your plugin to meet your needs
- Create an Ads Spaces in the right quantity and fill them with advertisements
Options
Go to the page Ads->Settings
Views per Cycle – the number of impressions an ad for one cycle of rotation, provided that this ad has maximum weight (the activity). In other words, if the number of hits in the series is 1000, an ad with a weight of 10 will be shown in 1000, and the ad with a weight of 3 will be shown 300 times.
Do not set this parameter to a value less than the maximum number of visitors which may simultaneously be on your site – it may violate the logic of rotation.
Not worth it, though it has no special meaning, set this parameter to a value greater than the number of hits your web pages during a month. Optimal, perhaps, is the value to the daily shows website pages.
Display Ad Source in – you can display advertisement target in new or current window (tab). Select target window (tab).
Auto Inserting Settings – here you can select the Ads Places and allow the display of their ads before and after the content of single post.
Google DFP Settings – if you want to use codes of Google DFP rotator, you must allow it’s using and define your pub-code.
Statistics Settings
Bots and Crawlers detection
For obtaining of more exact indexes of statistics and incomes it is preferable to exclude data about visits of bots and crawlers from the data about all visits of your blog. If enabled and bot or crawler is detected, hits of ads won’t be counted. Select accuracy of detection but use with caution – more exact detection requires more server resources.
Allow Bots and Crawlers detection – If allowed, hits of detected bot won’t be counted.
Accuracy of Bots and Crawlers Detection:
- Inexact detection – This method is based on an analysis of the request header. Inaccurate method.
- Exact detection – This method uses the Browser library by Chris Schuld for detection of bots. Recommended.
- More exact detection – This method uses “browscap” data for bots detection. Very exact and very slow method. If browscap not defined in your php.ini, this method is unavailable.
Display of Currency:
- Auto – auto detection of currency from blog settings.
- USD – Forcing the display of currency to U.S. dollars.
- EUR – Forcing the display of currency to Euro.
Ads Place creation and configuration
Go to your list of Ads Places (Ads -> Ads Places) and click the “Add New Place”. In the opened editor window configure current Ad Place.
Enter a name and a description of the Ads Place. In principle, it is not mandatory parameters, because these parameters don’t influence anything, but experience suggests that after a while all IDs usually will be forgotten and such information may be useful.
Ads Place Size – in this version is only for informational purposes only, but in future I plan to use this option. It is desirable to expose the real size.
Ads Place Patch – it’s an ad that will appear in the event that the logic of basic ads outputing of this Ads Place on the current page will not be able to choose a single basic ad for displaying. For example, if all basic announcements are set to displaying only on archives pages or single pages, in this case the patch ad of Ads Place will be shown on the Home page. Conveniently to use the patch ad of Ads Place where you sell the advertising place for a limited time – after the time expiration of ordered ad will appear patch ad. It may be a banner leading to your page of advertisement publication costs or a banner from AdSense.
Patch can be defined:
- as combination of the image URL and target page URL
- as HTML code or javascript code
- as name of Google DoubleClick for Publishers (DFP) block
If you select the first option (image mode), tools to download/choosing of downloaded image banner become available for you.
Codes – as Ads Place can be inserted into the page code not only as widget, but as a short code or by using function, you can use code “before” and “after” for centering or alignment of Ads Place on the place of inserting or for something else you need. Use HTML tags.
Advertisement creation and configuration
Go to the list of Ads Places (Ads -> Ads Places), move the mouse to the desired Ads Place, select in the row menu that appears “View Ads” for the transition to the advertisements list of this Ads Place or “Add Ad” for the transition to the editor of a new ad. If you went to the list of ads, click on “Add New Ad”.
Enter a name and a description of the advertisement. These parameters are optional, because don’t influence anything, but help in the visual identification of the ad (do not forget which is which).
Ad Code – code can be defined as a combination of the image URL and target page URL, or as HTML code, javascript code, or PHP code (for PHP-code don’t forget to set the checkbox labeled “This code of ad contains PHP script). If you select the first option (image mode) you can keep statistics of clicks and also tools for uploading/selecting the downloaded image banner becomes available to you.
Restrictions of Advertisement Showing
Ad Weight – coefficient of frequency of show of the advertisement for one cycle of advertisements rotation.
0 – ad is inactive, 1 – minimal activity of this advertisement, 10 – maximal activity of this ad.
Restrictions by the type of pages – select restrictions:
- Show ad on all pages of blog
- Show ad only on pages of this type – ad will appear only on the pages of selected types
- Show ad only in certain posts – ad will be shown only on single posts pages with the given IDs (ID items separated by commas, no spaces)
Additional restrictions
- Show ad only in single posts or categories archives of certain categories – ad will be shown only on single posts pages or category archive pages of the specified categories
- Show ad only in single posts or authors archives of certain authors – ad will be shown only on single posts pages or author archive pages of the specified authors
Use the schedule for this ad – if necessary, select checkbox labeled “Use the schedule for this ad” and set start and finish dates of ad campaign.
Use limitation by hits – Use this parameter for limiting displaying of ad by hits.
Use limitation by clicks – Use this parameter for limiting displaying of ad by clicks.
Prices – your prices for that ad.
- Ad placement per month – used only for scheduled ads.
- Per Thousand Hits – Not only humans visit your blog, bots and crawlers too. In order not to deceive an advertiser, you must enable the detection of bots and crawlers.
- Per Click – To calculate the earnings on clicks, you must enable counting of clicks for that ad.
Ads Zone creation and configuration
Ads Zone is selector that used to select the appropriate Ads Place for each type of displayed page.
Go to your list of Ads Zones (Ads -> Ads Zones) and click the “Add New Zone”. In the opened editor window configure current Ads Zone.
Enter a name and a description of the Ads Zone.
Select default Ads Place.
Select the appropriate Ads Places for each type of page, category or author or leave “Default” value. You can block displaying Ads Place on needed type of page selecting “None” value.
Ads Block creation and configuration
Ads Block used for outputting block of ads.
Go to your list of Ads Blocks (Ads -> Ads Blocks) and click the “Add New Block”. In the opened editor window configure current Ads Block.
Enter a name and a description of the Ads Block.
Enter number of lines and columns of Ads Block. After changing these properties you must save Ads Block settings before using Ads Block Editor.
Configure styles for Ads Block and Block’s items. Use Stylesheet rules for defining these properties. For example: url(sheep.png) center bottom no-repeat
for background property or 5px solid red
for border property.
Important Note: As the Ads Block is the regular structure, predefined styles of individual items for drawing Ads Block’s elements aren’t used. Define styles for Ads Block Items on Ads Block Editor page!
Customize Ads Block structure (select Ads Place or Ads Zone or Single Ad for each item of block).
Usage
There are three variants for output: widgets, short codes, the function… and auto inserting…
Widgets
Go to the widgets page (Appearance->Widgets). In the area of available widgets locate widget “Ads Place” and drag it to the necessary sidebar. You can also use widgets “Ads Zone” and “Single Ad”.
Configure your widget:
- Title – title of widget. If not needed, leave empty.
- Ads Place – select Ads Place from a list of all Ads Places.
- Hide widget style – in some theme templates it is necessary for the sidebar in the blog header.
- Allow using previously defined “before” and “after” codes of Ads Place – these are the codes that are defined for each Ads Place as “code before” and “code after”.
Widgets “Ads Zone” and “Single Ad” can be configured in the same way.
Shortcodes
Shortcode “sam” enables you to insert Ads Place anywhere in the post’s content.
- id – ID of Ads Place
- codes – allow or not allow to use Ads Place codes “before” and “after”. Default “false”
Shortcode “sam_zone” enables you to insert Ads Zone anywhere in the post’s content.
- id – ID of Ads Zone
- codes – allow or not allow to use Ads Place codes “before” and “after”. Default “false”
Shortcode “sam_ad” enables you to insert Single Ad anywhere in the post’s content.
- id – ID of Ad
- codes – allow or not allow to use Ads Place codes “before” and “after”. Default “false”
Shortcode “sam_block” enables you to insert Ads Block anywhere in the post’s content.
- id – ID of Ads Zone
Output functions
In order that would insert Ads in any place of theme template, use the drawAdsPlace, drawAdsZone or drawAd functions.
Output functions are defined as follows:
1 2 3 4 |
function drawAdsPlace($args = null, $codes = false) function drawAdsZone($args = null, $codes = false) function drawAd($args = null, $codes = false) function drawAdsBlock($args = null) |
- args – array, which may include id (ID of Ads Place) or/and name (the name of Ads Place, not recommended)
- codes – bool|array, allow or not allow to use Ads Place codes “before” and “after”. Default “false”. If bool value, codes ‘before’ and ‘after’ will be received from Ads Place record. If array value, codes ‘before’ and ‘after’ will be received from array.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
// Ads Place output if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), true); // or if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>')); // Ads Zone output if(function_exists('drawAdsZone')) drawAdsZone(array('id' => 1), true); // or if(function_exists('drawAdsZone')) drawAdsZone(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>')); // Single Ad output if(function_exists('drawAd')) drawAd(array('id' => 1), true); // or if(function_exists('drawAd')) drawAd(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>')); // Ads Block output if(function_exists('drawAdsBlock')) drawAdsBlock(array('id' => 1)); |
Auto Inserting
Designed for automatic insertion of ad codes before and after the content of single post. Configuring is on plugin settings page.
Miscellaneous
At first glance, it might seem that the plugin is too heavy – as did 500 kb codes. But do not be terrified ahead of time, the plugin is using the technology of saving resources. In other words, in the Face Side is loading only 23 kb of codes, of which 21 kb PHP-code and 2 kb javascript code. Everything else are extentions for the admin mode, and even then, not all are loading en masse, but only if necessary.
Video Lessons:
Donations
Donations List
Many thanks to everyone who supports the development of this plugin:
Michael Kiepert, Andrea Vacondio
Download
© 2011 – 2018, minimus. All rights reserved.
Hi Minimus
Am using v0.5.21. Works fine on site1. Created new wordpress site – site2 and installed SAM plugin. Try to create the first adplace – does not work [no tables created in db].
So exported structure of SAM tables from site1 and imported into site2 db. Now I am able to add adplaces to site2.
Is there a problem with the table creation? or is there something that I should have done when installing the plugin into site2?
Many thanks
David
Total Comments by David: 10
Hi minimus
I cannot activate “Ads Zones” with me. Somehow it does not want to function. What can be the problem?
Currently I have my ads on the post/content only over “Auto Insertion Setting” -> “Allow Ads Place auto inserting after post / page content” switched.
In “Ads Zone Settings” I currently have selected only the “Default Ads Place”. All other settings are currently set to “Default”, because they do not work for me.
How can I activate “Ads Zones” so that my ads appear more individual?
Thank you for your answer
Total Comment by Roland: 1
How do they not work? More info, please!
Really great Plugin. I love it.
But one thing I am missing.
Could you please add the option “nofollow” in the “Edit advertisement”->”Ad code”->”Image Mode”
I could use the “Code Mode”, but then I have no click couting.
It would be great if you can add a nofollow option to the Image Mode. Thank you.
Peer
from Germany
Total Comment by Peer: 1
Ok! Added to todo list!
Tschüss! 😉
Nice Plugin. Am trying to implement it now.
Is it me or is there a bug with Safari browser? The ad images don’t rotate and if several place holders are used they all show one ad?
Is there a fix for this?
Thanks
Total Comment by Peter Toner: 1
Are you using any caching plugin?
Hi !
I didn’t succeed to exclude post with advertising.
Can you help Me ?
Thanks
Total Comment by matt: 1
Hi,
I made a complet .po file for the german languages, but when i was ready and tryed to save it there was an error regarding line 266 because the value seems to have bad signs (%d Link) or something. My work was completly useless because I could not manage to save the complete translation. i can´t correct the line myself. I don´t exactly know why but I can´t maybe you can send me the en po file with the correct line. I will translate it again.
great work the plugin
Total Comment by Fabian: 1
Ok!
useful plugin but i want to show ads in certain category posts and show different ads on another category,but this plugin not support that with good options
thanks
Total Comment by sherif: 1
Use Ads Zones to display certain Ads Places on different categories pages…
Hi minimus, I created:
1. Ads place “My Post Ads” with “single post of category #1” Ads (I check “Show ad only on pages of this type:” is Single Post)
2. I added new zone, set option “Single Post Ads Place:” is “My Post Ads”
3. Then select option “Ads Place for Category #1″ is “My Post Ads”
But this ads does not display on post page of Category #1.
This plugin is really awesome for other cases but I’ve tried many times to config this ads. Thanks for your help!
Total Comments by Tina: 3
I want to ask you a stupid question. Why do you create the Ads Zone? The object “Ads Zone” is required only if you have a lot of ads. Otherwise, just use the “Ads Place” object. Do you have a lot of advertisements?
I’ve done some stupid steps, I make again and everything is ok. Thanks so much, Minimus 🙂
Total Comments by Tina: 3
I was using Kadom Ads Manager and I wanted a solution that would allow more flexibility (serve ads from Google as well in house ads). Everything is great except for the fact that I can’t set the default Ads Place under the Ads Zone Editor. Helo.
Total Comment by Jay Williams: 1
Ads Zone is the selector of Ads Places. You must create as minimum ONE Ads Place to select default Ads Place of Ads Zone…
I have created the Ads Places. I have even added some house ads to the Ads Place. I am now trying to create the ads zone and my ads place is not showing as a default option in the drop down menu. If you need screenshots I can send them.
Total Comment by Jay Williams: 1
Ads are not shown in single posts but is fine for everything else, I’m only using 1 adplace with 1 ad in it.
Total Comment by Khanh: 1
Does not work for me, ads won’t display after several attempts. Far too much complicated and not intuitive at all, I don’t understand a single thing about this plugin, what’s the difference between ads zones and ads places, why we have to enter our Adsense code several times and again with Adsense ID etc etc
Far much cluttered, I unstalled it
Total Comment by snappy: 1
The main object is Ads Places (rotator of ads)! Ads Zones (selector of Ads Places) was created only for users who use a lot of ads on one blog…
I am trying to have a group of 4 ads together and I would like SAM to randomly select 4 of the ads in an ad place and display them without repeating an ad. Is this possible?
As I see it, with SAMs capabilities – I will have to have 4 different ad places (left top, right top, bottom left, bottom right). correct?
Total Comments by Dave: 4
Yes…
Hi,
great plug in!
When i use <center> tag in “code before” and “after” it
s no problem, but when i insert the code below it doesn
t work<p style=”float: right; margin-left: 10px; margin-top: 10px; margin-bottom: 15px;”></p>
Is there a way to solve the problem, or does code like this only work in the code mode? It would be nicer, when i could see the counted klicks
with regards from Germany
Uli
Total Comments by Uli: 7
URL?
I don`t know exactly what you mean – Do you mean the URL of myBlog? It´s only a testblog with blind text content. Or must i give in the whole URL in the before and after code fields?
Total Comments by Uli: 7
Do you use
<p style="float: right; margin-left: 10px; margin-top: 10px; margin-bottom: 15px;">
as Code Before and</p>
as Code After?yes
Total Comments by Uli: 7
Are you still there?
<p style="float: right; margin-left: 10px; margin-top: 10px; margin-bottom: 15px;">
as Code Before and</p>
as Code after, doesn’t work. Any Idea why not?Total Comments by Uli: 7
Do you check checkbox “Use Code” (widget) or codes=true (shortcode)?
No, i did insert
if(function_exists(‘drawAdsZone’)) drawAdsZone(array(‘id’ => 1), true);
and
if(function_exists(‘drawAdsPlace’)) drawAdsPlace(array(‘id’ => 1), true);
in my single.php. Both doesn’t work without using Code Mode.
It’s not a big problem, but i would be better, when i could see the counted klicks…
Total Comments by Uli: 7
Next stupid question: Did you select radio button to image mode?
Thats`s the problem – when i select image mode and insert code befor and code after it doesn’t works…
Total Comments by Uli: 7
Bug!!!
Open file sam-admin-class.php, change lines 1676 and 1677 from
'code_before' => $_POST['code_before'],
'code_after' => $_POST['code_after'],
to
'code_before' => stripslashes($_POST['code_before']),
'code_after' => stripslashes($_POST['code_after']),
After changing the code it didn’t works, but then i deleted Zone, Place and Banner and created new ones. Now it runs 🙂 Guess it was a problem of the cache.
Great work!
Many THANKS to you!!!
Total Comments by Uli: 7
LOVE THIS PLUGIN! But I am waiting to donate until one problem is resolved. Minimus, you say it’s tested up through WordPress 3.2 — I think you mean 3.1.2, right? Anyway, there is a problem with 3.1.2 and 3.1.3 — the click tracking has stopped working. The number of impressions (hits) are recorded, but no longer the number of clicks. VERY SAD 🙂
I hope you can get this fixed soon. I will be so glad to send some donation for further development, but the click count is so important I can’t even use the plugin until that’s working. THANKS FOR THE WONDERFUL WORK SO FAR!!
John
Total Comments by John Hamlin: 6
1. 3.2-beta2
2. Do you upgraded to SAM 0.6.23?
I use version 3.1.3 and there is no problem with counting klicks…
Total Comment by Uli: 1
Yes. WordPress 3.1.2 Multisite, and SAM 0.6.23.
Total Comments by John Hamlin: 6
And still does not work? I thought I solved the problem of counting clicks…
correct. it still does NOT count clicks. It counts hits correctly but not clicks.
Total Comments by John Hamlin: 6
Give me URL of any blog from your WP Multisite… I want verify it…
The home page here: //nozzl.com/
This page or any link off it will show a sample ad, 120×90 at the BOTTOM of the left-hand sidebar. That ad is showing hits but not clicks.
Also here: portland.nozzl.com
Total Comments by John Hamlin: 6
perhaps it cannot run with adsense?
Total Comments by John Hamlin: 6
No!
Do you use any cache plugins?
No.
Total Comments by John Hamlin: 6
Hi Minimus,
Great plugin…love it! Is there any way to show ad only in single posts of certain tags?
I try change to sam-ad-class.php:
Change this:
$categories = get_the_category($post->ID);
$wcc_0 = ”;
$wcxc_0 = ”;
$wcc = ” AND IF($aTable.view_type < 2 AND $aTable.ad_cats AND IF($aTable.view_type = 0, $aTable.view_pages+0 & $viewPages, TRUE),”;
$wcxc = ” AND IF($aTable.view_type < 2 AND $aTable.x_cats AND IF($aTable.view_type = 0, $aTable.view_pages+0 & $viewPages, TRUE),”;
foreach($categories as $category) {
if(empty($wcc_0)) $wcc_0 = ” FIND_IN_SET(‘{$category->cat_name}’, $aTable.view_cats)”;
else $wcc_0 .= ” OR FIND_IN_SET(‘{$category->cat_name}’, $aTable.view_cats)”;
if(empty($wcxc_0)) $wcxc_0 = ” (NOT FIND_IN_SET(‘{$category->cat_name}’, $aTable.x_view_cats))”;
else $wcxc_0 .= ” AND (NOT FIND_IN_SET(‘{$category->cat_name}’, $aTable.x_view_cats))”;
}
to this:
$posttags = get_the_tags($post->ID);
$wcc_0 = ”;
$wcxc_0 = ”;
$wcc = ” AND IF($aTable.view_type < 2 AND $aTable.ad_cats AND IF($aTable.view_type = 0, $aTable.view_pages+0 & $viewPages, TRUE),”;
$wcxc = ” AND IF($aTable.view_type < 2 AND $aTable.x_cats AND IF($aTable.view_type = 0, $aTable.view_pages+0 & $viewPages, TRUE),”;
foreach($posttags as $tag) {
if(empty($wcc_0)) $wcc_0 = ” FIND_IN_SET(‘{$tag->name}’, $aTable.view_cats)”;
else $wcc_0 .= ” OR FIND_IN_SET(‘{$tag->name}’, $aTable.view_cats)”;
if(empty($wcxc_0)) $wcxc_0 = ” (NOT FIND_IN_SET(‘{$tag->name}’, $aTable.x_view_cats))”;
else $wcxc_0 .= ” AND (NOT FIND_IN_SET(‘{$tag->name}’, $aTable.x_view_cats))”;
}
but it does not work… Please help me make this work, any help would be greatly appreciated.
Thanks very much.
Total Comment by Read: 1
Hi, when upgrade to newest version (0.6.25 5 june 2011) I got error :
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING in /home/themesle/public_html/wp-content/plugins/simple-ads-manager/sam-admin-class.php on line 3
Total Comment by Shudin: 1
Try to reinstall plugin…
I am using the Simple Ads Plugin for the first time as part of the challenge. I have come across a major problem when I try to use the Before & After codes of the Ad Page. It seems that the ” (quotes) are escaped by a \ which breaks the code I am trying to use.
<div style=”float: right; margin: 4px;”>
Are there any workarounds for this? Or what do I need to modify to stop the quotes being escaped?
Total Comments by crashed: 3
Do you upgrade to SAM 0.6.25?
I’ve just upgraded and it’s fixed the problem.
Thanks, I appreciate the fast reply!
Total Comments by crashed: 3
[…] The full guide to Simple Ads Manager written by it’s developer is here //www.simplelib.com/?p=480 for if ya wanna go further into it’s functionality. I’ve not included how to use Ad […]
[…] The full guide to Simple Ads Manager written by it's developer is here //www.simplelib.com/?p=480 for if ya wanna go further into it's functionality. I've not included how to use Ad Zones as I […]
hello can you please help me identify which css and which lines to modify so that the ad centers inside the widget. thank you.
Total Comments by Alvin: 8
Code before:
<center>
Code after:
</center>
hello, i tried below:
Code before:
<center>
Code after:
</center>
* i inserted this code to the "Ads Place" on where my ads are
* under codes, Code before, and Code after
but it did not work for me. the ads are still on the left of the widget. by the way, i am using image mode on all my ads.
Total Comments by alvin: 8
minimus! just an update. it works now! just need to re-fresh my site. i appreciate your help!
Total Comments by alvin: 8
hello again. so sorry. can you also help me create a space between the ads? how and where pls? they seem to clutter up when i hide the widget style. thank you so much!
Total Comments by Alvin: 8
Draw div around ad (using codes before and after) with margins…
im not much of a code person, can you please give me an example. i already have a code to center the ad. how do i add the div around the ad? i appreciate your help.
Total Comments by alvin: 8
Hello, i noticed that you don’t have an alt tag for image ads, i suggest you add that tag to avoid SEO penalties. Otherwise kudos for an excellent plugin.
Total Comment by signo: 1
Ok! Added to the task list…
I just updated to 0.6.25 but my ads still don’t appear on the single page. I went and checked sam-admin-class.php for the change you mentioned in one of your earlier comments but it already shows the stripslahes code. Can you offer any further advise please? I am using this code <?php if(function_exists(‘drawAdsPlace’)) drawAdsPlace(array(‘id’ => 4), true); ?>
Also, my ads do not show up in Mac’s Google Chrome at all. It does show in Firefox, Safari & Opera on Mac & Firefox, IE on PC. Any solution for Chrome?
Total Comments by Dave: 4
Hey minimus, great plugin
are you able to give me any feedback as to why my ads won’t appear on single page or within Google Chrome?
Thanks,
Total Comments by Dave: 4
One bug found, adesne Link can’t show on single photo view page, tested 728×15 and 468×15, global header 728 link working well on other pages but not on photo view page. I have a image template file called image.php.
Total Comments by Jesse: 3
Running WordPress 3.2 beta2, SAM 0.6.25
Total Comments by Jesse: 3
I know about it. In version 1.0 this bug will be resolved …
when 1.0 will release?
Total Comments by Jesse: 3
hi minimus, instead of using “shortcodes” for SAM via SAM id, is there a way to use “html codes” instead? The reason is my theme only supports html code for the Header Banner Ads. Please help… Thanks!
Total Comments by Alvin: 8
hi minimus, just wanted to check to see if you have anything for this. thank you so much.
Total Comments by Alvin: 8
hi minimus, just wanted to check again if you have any ideas on this issue. i appreciate your help. – Alvin
Total Comments by Alvin: 8
Hey there,
really nice plugin, the best for me, just started the first Banner-Ad .)
But there is one thing: My piwik displays me “50 actions” but the plugins says “80 views”… that cant be right :/ Bot-Detection fails?
I use the recomended setting ^^
Total Comments by Oliver Lippert: 2
Try strong accuracy of bot detection …
Ok, asap (when I got the Internet on monday for my new home) I’ll try it.
But can you just tell me, how does “more exact” work, because “Browser library” listen to be adding an JS to the head? But that isn’t, there is just one JS for the sam-layout.js an one <scrip>-Element for _admin_nonce. May there is an problem?
Total Comments by Oliver Lippert: 2
The “Browser Library” is PHP library and is not added as JS…
Need some help – Ads will not display no matter what I try in my WordPress Multisite installation, see space on the right side of //www.costaricacloseup.com – I have disabled widgets & plugins and no changes. But see subdirectory site which is a fresh install of the template at //costaricacloseup.com/surfincostarica/ where the ad served from DCP shows! .. although the toggle to show only on the Main Page has no effect.
Any ideas?
Total Comment by Tee: 1
Almost seemed to have it working.
I am using the output function code as you have provided it and placed it into my theme. I had something showing so I know the plugin and code is installed. However, I can’t get any ad to show up. Maybe because I don’t understand the settings requiremetns from the settings page to the zones to the places to the ads.
Can you provide a very clear simple example of how to set up one ad below content on a blog post?
thanks
Total Comments by Gav: 2
1. Create Ads Place
2. Create contained Ad(s) for this Ads Place
3. Enable “Allow Ads Place auto inserting before post/page content” checkbox on Settings Page
4. Select created Ads Place from dropdown list
5. Save Settings
Thats all.
This makes ads show up on every page without filters.
I want to restrict certain ads to display only on certain caregory posts and pages.
So under Settings > Auto Inserting Settings, I have selected the drop down list to be an Ad Place that I created called BLAND which does not contain any ads. I assume this is the default that is shown site wide. I don’t want any one particular ad shown site-wide so I am correct to leave this Ad Place blank without ads, yes?
Next, I have created an Ad Place called Business, and added an Ad called blacktie. Editing the blacktie Ad I have selected ‘show ad only in single posts’ and I have enterred a category called Business which exists on my site and has posts assigned to it.
The ad is an image file that I have added the link for under image. The image shows successfully at the bottom of the page in the preview.
The ad appears to be getting ‘hits’.
However the image does not show live in the blog posts that are part of the Business category.
Any idea what I’m doing wrong?
Total Comments by Gav: 2
This exactly what I want to do and it is not working for me either. I assumed that when I selected an Ad Zone for a Category that it would appear on all the posts in the Category. It does not. It only appears on the Category page … which is actually useless because most Blogs don’t work like that. Posts from all Categories go on the home page and when people click on them they don’t go to the Cat main page. This is extremely important.
Yes, it can likely be done by hacking the template with your Output code but now that hack must be repeated every time the Template files are updated.
Please help.
Total Comment by Deep Blue: 1
At first read this article…
Why do you create an ad slot BLAND? Read this article …
Hello;
Thank you for this amazing plugin.
However I have troubles to have adsense in my sidebar. I have created an ad space for adsense, entered the code as showed on the images in this page.
Then I go to my widget and drag and drop the “Ads place” button to the sidebar.
When logging to my site, I see the title I chosed for this Adsense section but I cannot see the ads, it doesn’t display even if my adsense code is more than one week old.
What should I do?
Total Comment by BHMex: 1
Did you set “Code Mode”?
I’m running into a bug using your plugin! I added Simple Ads Manager to a client’s website to help them more easily add/organize ads. I have ad places and ad zones set up, and they’re working for all of the main categories, but NOT on the home page or on misc. pages like Archive.
The site is //www.ispycincy.com. Please help!!!
I’d LOVE to donate to your plugin if you can help me fix this 🙂
Total Comment by Cheryl: 1
Give me a URL where there is advertising and URL where it is not (bug)… Also specify the location of advertising and its type (Ads Place, Ads Zone, etc)…
It will be better, if you create an appropriate thread at the support forum and we will discuss this problem there.