Google ads removal

Hello there,

I haven’t deleted ads via the official AdSense manager before it was disabled. I’ve tried everything, but nothing works to remove ads from my website. Your official plugin does nothing.

Could you please help me removing ads from my website and then implementing them fresh again. I cannot pick specific spots like before.

Hi there,

Thanks for writing in.

What do you mean by our official plugins? I checked and I’m not sure how you added them and I can’t even find them. Would you mind providing some details about it, like how it was implemented and where we can find it?

Thanks!

I’ve added them about 2years ago through official Google AdSense addon which was deprecated. I haven’t had time to delete adds before it was deprecated and now I cannot get rid of them. I remember adding a code to some php file in child theme or something like that. I cannot remember as it was 2years ago. I even had to delete the addon because it caused 404 error for the whole page. Now, it seems it adds ads randomly anywhere on the site like it’s not under control. I do not want to make the blog page again from the scratch.

Hi @vojtechzikmund,

Please try to remove other plugins that are not related to X theme and try also to clean your cache.

You could use transient cleaner plugin to clear your site cache.

Let us know how it goes. If still happening, please share us your FTP so we could check your child theme if you have added codes that generates google ads.

Thanks.

Hi @nico,

I’ve tried disabling and clearing all cache and transient on the site, but google ads still appears randomly throughout the site.

Could you please take a look at my child theme files?

Hey There,

I found one more reference of google ads in your custom code so I removed that. Can you check if the ads are now gone? Hope that helps!

Hi @rubin

I’ve checked and google ads are still on the site. I’m clueless as there shouldn’t be any connection. All addons removed, all cache cleared… I dunno why google doesn’t give an option to simply remove or make ad inactive – literally no possibility to remove ad from their list.

I’ve attached screenshot how I see ads:

Hi there,

I spent much time to be able to find the traces of Google Adds and I found it is added to your Child Theme. As soon as I switch back to parent theme the Ad goes away.

Please kindly check your Child Theme to find out the problem cause.

Thank you.

Hi @christopher.amirian

Yay, I was trying every .php file in my child’s theme and I found the one with the google script. It was a _index.php file in global framework (child’s theme). Thank you for taking your time and giving me a direction. Now, I finally see no ads.

Glad to hear this is resolved now!