Why Do I Have Code Where Google AdSense Ad Should Be?

3
154 followers

I just added Google AdSense to my website. At first it was putting the ads at the top of header and at the footer of my site. Now, there are no ads at the top header just a piece of code that I can't get rid of. Here is an image of the top header.

Has anyone come across this problem?

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

Recent Comments

9

Thanks everyone for responding, I got it fixed.

Had that problem yesterday and it was simply that I added the code in the visual tab instead of the text tab.
I put mine in a side widget.
After correcting it, it was blank for about an hour. Then the ad's started showing up.
Doug

Thanks for the tip

How did you add the verification code?

If you did it by editing your theme in Appearance > Editor, I'd delete it, as you'll have to redo it every time there's a theme update, as the code will get overwritten unless you have a child theme.

I recommend you install the Header & Footer plugin. https://wordpress.org/plugins/header-footer/ and then go to Settings > Header and Footer and insert it into the Head Section injection panel.

I'd also suggest using a plugin, either Ad Inserter https://wordpress.org/plugins/ad-inserter/ or WP Quads https://wordpress.org/plugins/quick-adsense-reloaded/ to manage your ads.

Nate has done some great training on Ad Inserter here: You might also want to consider Adsense Invalid Click Protector to stop click bombs. https://wordpress.org/plugins/ad-invalid-click-protector/

Thanks for sharing Rich, those are some awesome tips and good help. :))

I added it through the editor. Thanks Richard, I'll check out the links you sent me.

No probs. you're most welcome! :)

This normally happens if your code is not correct, somewhere you have not closed the code correctly. Did you do a copy paste of the code or type it in manually? Look it up, you might find the culprit. :))

I copied and pasted it, Thanks for responding

See more comments

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training