Ads not showing up with Adguard
-
I use Adguard and noticed adrotate ads were not showing up. Does this plugin just get blocked by any ad blocker browser plugins?
-
Seems like both Ad Guard and AdRotate work just fine ??
Make less obvious adverts so that Adguard can’t spot them to work around that.I’m using Adguard Adblocker and when I have it enabled, the ad does not show up. When I turn it off, it shows up. Furthermore, the Adrotate analytics show a very low impression rate – a lot lower than my site’s actual page views, so I know it’s not showing up on other people’s browsers as well.
Example of a page on my site: https://ruggedfellowsguide.com/top-5-manly-getaways/
It should be displayed under the email subscribe form on the right.I’m not sure what exactly you mean by making less obvious adverts – it’s a normal banner saved under a filename that doesn’t say “banner” or “ad” or “advertisement.”
Thanks for the help, by the way.
I’m not sure what exactly you mean by making less obvious adverts – it’s a normal banner saved under a filename that doesn’t say “banner” or “ad” or “advertisement.”
Thanks for the help, by the way.
If adguard sees its a banner it blocks it obviously.
If you can disguise the advert as a regular image it won’t.A lot of themes wrap their advert locations in a thing with ad/banner/advert or some obvious size like 468×60 in the name or classname giving it away.
Pageviews are not advert impressions and can not be directly compared.
Switch to use the Google Analytics tracker for clicks and impressions if you feel the AdRotate stats tracker is inaccurate.I think it is well disguised, as you can tell by the example page. There is no theme specifications for ads.
I think the problem is the line of code in the widget as well as the plugin name:
<aside id="adrotate_widgets-2" class="widget widget_adrotate_widgets" title="Shift-click to edit this widget."> <div class="a-single a-4"><a class="gofollow" data-track="NCwwLDEsMzA=" href="https://nudebycenterstagecuts.myshopify.com/collections/men"><img src="https://ruggedfellowsguide.com/wp-content/uploads/2015/05/NUDEByCenterStageCuts.jpg"></a></div> </aside>
The only thing from that code that would tip you off to knowing that it was an ad is the “adrotate” name in the widget id and class.
Yep, that could be it.
Any fix or plans to fix this?
That would involve renaming the entire plugin, which I’m going to do. So no.
Hello
In the File adrotate.phpFIND
define("ADROTATE_FOLDER", 'adrotate');
Replace with
define("ADROTATE_FOLDER", 'rotate');
then Activate the Plugin again
In your Theme –> functions.php
Add
// Adrotate-Hack require_once WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'rotate' . DIRECTORY_SEPARATOR . 'adrotate-widget.php'; class My_Nicename_Rotator extends adrotate_widgets { function My_Nicename_Rotator() { // or just __construct if you're on PHP5 parent::WP_Widget(false, 'My not blocked AdRotate widget', array('description' => "Show unlimited ads in the sidebar.")); } } add_action('widgets_init', create_function('', 'return register_widget("My_Nicename_Rotator");')); //ENDE Adrotate-Hack
In the Folder library
Rename the File jquery.adrotate.dyngroup.js to dyngroup.js
Rename the File jquery.adrotate.clicktracker.js to clicktracker.js
Rename the File jquery.adrotate.responsive.js to responsive.js
In the File adrotate-output.php
Find
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/jquery.adrotate.dyngroup.js', __FILE__), false, '0.5.3', $in_footer); if($adrotate_config['clicktracking'] == 'Y') wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/jquery.adrotate.clicktracker.js', __FILE__), false, '0.6', $in_footer); if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/jquery.adrotate.responsive.js', __FILE__), false, '0.4', $in_footer);
Replace with
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/dyngroup.js', __FILE__), false, '0.5.3', $in_footer); if($adrotate_config['clicktracking'] == 'Y') wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/clicktracker.js', __FILE__), false, '0.6', $in_footer); if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/responsive.js', __FILE__), false, '0.4', $in_footer);
After these changes , you can use the new widget “My not blocked AdRotate widget”
Hello
P.S. I use the adrotate-Version 3.10.13In the New-adrotate-Version adrotate.3.11.6 you must
Find (in the File adrotate-output.php
/library/jquery.adrotate.responsive.js
and Replace with
/library/responsive.js
Find
/library/jquery.adrotate.dyngroup.js
and Replace with
/library/dyngroup.js
Find
/library/jquery.adrotate.clicktracker.js
and Replace with
/library/clicktracker.js
Otherwise, you must take all changes from the top post
Hi RF,
Thanks for the outside help!
I followed the instructions for version 3.11.6 but unfortunately the image is still not shown unless I disable AdGuard.
Hello Rugged Fellow’s Guide
Did you also do that here?In the File adrotate.php
FIND
define(“ADROTATE_FOLDER”, ‘adrotate’);Replace with
define(“ADROTATE_FOLDER”, ‘rotate’);
then Activate the Plugin again
In your Theme –> functions.php
Add
// Adrotate-Hack require_once WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'rotate' . DIRECTORY_SEPARATOR . 'adrotate-widget.php'; class My_Nicename_Rotator extends adrotate_widgets { function My_Nicename_Rotator() { // or just __construct if you're on PHP5 parent::WP_Widget(false, 'My not blocked AdRotate widget', array('description' => "Show unlimited ads in the sidebar.")); } } add_action('widgets_init', create_function('', 'return register_widget("My_Nicename_Rotator");')); //ENDE Adrotate-Hack
You must then use the new widget “My not blocked AdRotate widget”
Hi RF, no I skipped over that part. When I attempt to add that code to functions.php, however, I keep getting php errors (the website goes blank)… so I’m trying to figure out where to add it in functions.php right now.
Also, when I do this:
In the File adrotate.php
FIND
define(“ADROTATE_FOLDER”, ‘adrotate’);Replace with
define(“ADROTATE_FOLDER”, ‘rotate’);
I cannot reactivate the plugin after that because it gives me an error
- The topic ‘Ads not showing up with Adguard’ is closed to new replies.