Just installed the pugin bit i get an error:
You do not have permission to view this page.
I have uninstalled all the plugin’s and only activated the Site Kit. But I still get the same error: You do not have permission to view this page.
]]>Hi,Thank you for the great plugin.Is there any option for disabling the In and post-article Ad Codes? I like to display it on blog posts automatically but I have would like to add ads manually on certain pages/post types. Is there any solution? Can you guys let us choose to display In and post-article Ad Codes in post types?
]]>I set this up a few months ago and thought I had it working but now can’t see any ads on my site although the ad is getting a few impressions according to adsense but I can’t find what post the ads are showing on.
I would like to have it on every post.
I will try the other options but that would mean going through and adding code to 300 posts.
This is such a great idea I hope I can get it working.
Thanks
julie
I had a few issues with the plugin and removed it entirely. Unfortunately, there is still a placeholder in the footer, “[wp_ad_camp_1]”. I don’t see it in the footer.php and can’t see where it would be other than there.
Any guidance would be greatly appreciated!
]]>Hello Support Team,
We’ve received a recent notification from Google Adsense indicated below:
“The number of ads you can show has been limited
Details
Ad serving on your account is currently being limited due to invalid traffic concerns. We’ll automatically review and update this limit as we continue to monitor your traffic. Learn more about ad serving limits. https://support.google.com/adsense/answer/9437976?hl=en_US”
We are using the WP Simple Adsense Insertion plugin in inserting Adsense scripts. Do you know how we can resolve this issue?
Best regards,
Maria
]]>Hi, today we where going to test your plugin and after installing it we got this error:
Fatal error: Cannot redeclare ad_camp_add_option_page() (previously declared in /home/XXXXXXXX/XXXXXXXXXXXXXX.com/wp-content/plugins/xt-easy-google-adsense-injection/WP-Simple-Adsense-Insertion.php:98) in /home/XXXXXXXX/XXXXXXXXXXXXXX.com/wp-content/plugins/wordpress-plugin-for-simple-google-adsense-insertion/WP-Simple-Adsense-Insertion.php on line 150
Any idea why this happens? We have last version of wordpress installed.
Thank you.
]]>I am not a user of this plugin, but some of my users have experienced many issues with it. For example, it causes many issues with my Meow Lightbox plugin. If you are using those two plugins, then the Lightbox will not behave well.
It seems like this plugin uses output buffering and encodes some data that is it not relevant to it; I am pretty sure it causes issues with many other plugins or themes.
Solutions:
– the developers should fix this absolutely, by maybe avoid output buffering for this kind of operations.
– the users should find another solution; I have been mentioned the AdvancedAds plugin by another user.
I am just here to report this. Hopefully, that will help a few users.
]]>The documentation said to add the scripts into the Adsense Insertion Options..but I am confused. It said “ads”, where as google is giving code, when you setup a domain such as this:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-XXXXXX",
enable_page_level_ads: true
});
</script>
Is this the adsense code you were speaking of? I am trying to cross-reference you documentation, to what google is saying. “WHAT” script do we insert here?
]]>Dear all,
I’d like NOT to show the “after post” ad on my Woocommerce product pages. How can I achieve this goal? Any hint welcome!
Kind regards
Eric
I’m wondering if there is a way to configure the code so that WordPress will only display ads if the post is over a certain number of days old.
I’m interested in only displaying ads on blog posts more than three months old. Is there some code that I could wrap around my Adsense code within the module that would force WordPress to check the date of the post and if it is older than three months show the ad and if it is less than three months old not show the ad?
]]>Hey! I love this plug in! I was wondering if there is a way to disable ads on certain pages / posts / content like my contact page, product pages, etc.
]]>When I want to save my Adsense code in “In-article Ad Code” and I click “Update options”. The browser gave an error: ERR_CONNECTION_RESET.
If I save a code like test. It work’s fine, but when I saving my async code he gave an error.
]]>Hello there
The plugin works well and the ads appear within the post after the second paragraph.
Ideally I would like the ad to be at the beginning of the post before the first paragraph and with the text then wrapping around the ad.
How can this be achieved?
]]>It’s not ideal to have this displayed after the 2nd. How can I change it?
]]>Hello guys,
I placed an Adsense ad below the Header of my site, on all pages (posts, categories, home …). And I did this just by putting a single Adsense code in the html field provided by my site’s Theme.
But there are some posts that I need to remove the Adsense codes because they talk about gambling where Adsense does not allow the advertising of their ads in gambling content (my site is from Brazil where gambling is not allowed).
So I was wondering if your plugin has any way I can remove the Adsense code in posts / pages that I determine?
Thank you.
Rodrigo
I just thought I would let you know that you can simplify your shortcode functions as follows:
ORIGINAL
function show_ad_camp_1() {
$ad_camp_encoded_value_1 = get_option( 'wp_ad_camp_1_code' );
$ad_camp_decoded_value_1 = html_entity_decode( $ad_camp_encoded_value_1, ENT_COMPAT );
if ( !empty( $ad_camp_decoded_value_1 ) ) {
$output = " $ad_camp_decoded_value_1";
}
return $output;
}
NEW
function show_ad_camp_1() {
return html_entity_decode(get_option( 'wp_ad_camp_1_code' ));
}
With your code there is the possibility of trying to return a non-existent $output variable if the if condition is false. As far as I can tell, there is no reason to check if the value you are returning is empty since if it is empty nothing will be displayed anyway.
]]>First of all, many thanks for this plugin!!
I noticed that this plugin was adding a redundant <p> at the beginning of my content when using the Divi theme (this is most likely due to bad coding in the Divi theme, but please read on).
I traced the cause to line 242 of WP-Simple-Adsense-Insertion.php:
add_filter(‘the_content’, ‘do_shortcode’);
I commented it out and the rogue <p> tag when away and the plugin still worked fine. I believe this line is not needed.
I believe the content already has the do_shortcode filter applied by default. (see /wp-includes/default-filters.php in the WP core, line 454).
While this line probably causes no problems in most cases, I believe it is redundant and it would be great if it could be removed to eliminate this conflict with the Divi theme.
Thanks for your consideration and time,
Brian
Is there a way to adapt any of these shortcodes so that they display in AMP pages? I keep reading articles on how to make my site allow adsense on AMP pages but all require significant editing of my sites code, which I have a tendency to screw up.
Thanks!
]]>Hi !
When I click on the ads they do not open in a new window! How to integrate a _blank link ?
Thx !
]]>Hi,
i just got your Plugin and installed it on my Website. Everything is working fine so far and also the spaces where the ads should be displayed are available but the ads do not shown.
I added the Adcodes to the Plugin backend and used the shortcodes [wp_ad_camp_1] etc. But they are not displayed. Im Using AVADA Theme.
Kind Regards
]]>Hi,
I use the Yoast SEO Premium plug in and for some reason it doesn’t work fully with your plug in. In particular, it doesn’t allow the Readability or Internal Links sections of the Yoast plug in to work.
Is there a way around this with your plug in at all please?
]]>Hello,
I’ve installed the plugin, but I have a yellow background for advertisements which aren’t big enough to display. How can I have my default background (white)? My website is https://blogartikelen.com/.
Thanks!
]]>hi there
on my site i want to use this plugin my site is heightchaser.com
i am very confused i am using this plugin on my other site also but just want to know if i want ad location as per my requirement or size so what should i edit theme or plugin
please help so that i will install and use this plugin to active ads on site
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>Hi, plugin ok except I get 2 or 3 what look like bullet points before ad in the sidebar as you an see here:
https://www.insightspersonalitytests.com/empowerment-means-can-get/
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>Hello loving this plugin and thank you so much.
I was wondering why when I clear the adsense field it still shows advertisements. Could it be due to the site cache? Or does the author display a certain amount of ads from his site as its built in with the plugin?
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>Hi,
Is there a way to have more than 5 campaign slots ?
Thanks
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>Debug mode shows the following error:
Notice: Undefined variable: output in /home/USER/public_html/wp-content/plugins/wordpress-plugin-for-simple-google-adsense-insertion/WP-Simple-Adsense-Insertion.php on line 19
Working fine otherwise.
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>hi,
Gotta love this plugin. One question… is there a way to restrict the ads display on certain pages/posts?
Thanks
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>Hi, just trying to fix a website for a friend – no clue about WP.
I cannot see any settings option for your plugin. I’ve tried various modifications to your php script to no avail. The function add_options_page is being called – but perhaps the __FILE__ constant is causing issues? Cannot work out how to fix this. I can see the settings option for other plugins. I’m assuming the options are stored within the db so i’ll take a look there.
Be great if you could please take a look.
Cheers,
Andrew
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>Hi,
Nice plugin to use but I was wondering how to place an ad unit in the sidebar area. Another issue I have is that when I deactivate the plugin, the shortcode, i.e., [wp_ad_camp_1] is visible in the post. I want to remove the Adsense Ads for some time and then would like to activate it later, the shortcode being visible doesn’t look good. Is there a way to hide the shortcode from showing up in the posts?
Thank you.
https://www.ads-software.com/plugins/wordpress-plugin-for-simple-google-adsense-insertion/
]]>