Site logo

Archived topic

Adsense Plugin Fail With New Update - Rogue Ad Appeared

7 replies · Started by John Retzer on April 26, 2015

Viewing posts 1–8 of 8

After the latest theme update, my adsense plugin reports that I have to manually remove the existing ad on the front page to use adsense. I didn't put that ad there, so it's a rogue ad.

How do I find the template file to take a look and edit it out?

A rogue ad? Maybe check your content for that page? There's no ads in the theme files unless you've been hacked or another plugin is inserting it.

Can you link me to your site so I can take a look?

Not on a free host. Using A2 Hosting.

Is header.php the file I need to find on my server to check? I'm new to WordPress after porting this site over to WP from Expression Engine, which I used for a decade. In EE, I could edit the template files from within the control panel as needed. Can't find a similar thing on WP.

In your Dashboard, go to "Appearance > Editor" - you'll see the header.php file in there that you can check.

If it's been added in there, chances are you've been hacked.

If it's not, try deactivating all of your plugins and see if it disappears. If it does, activate them one by one until it shows up again.

Are you using GP Hooks? If so, did you add the adsense code in the "Before Header" hook in "Appearance > GP Hooks"?

Nothing there, so I'm going to go through the plugin deactivation/reactivation.

Thanks.

Even if “Insert Adsense” plugin hasn't been updated in more than 2 years, it works perfectly for me.
In the last few days I wanted to change my main add on each page from a small one to a big one, and by only changing the HTML at Insert Adsense, all my pages changed at once. The other adds, stayed the same.
It does exactly what it proposes…and works perfectly on my bilingual site.
Here are examples of the same pages in two different languages:
http://foradazonadeconforto.com/como-escolher-e-comprar-seguro-de-viagem/ (Brazilian Portuguese)
http://outofyourcomfortzone.net/how-to-buy-travel-insurance/ (English)
Simple and great plugin.

This archived topic is closed to new replies.