Within the "Undocumented Options" section, there is a checkbox for a "test option". The description reads:

"With this option set, Google will not count any clicks or page impressions. Revenue is not generated. Make sure that you disable this option in production servers."

If that box is unchecked, my ads don't appear. I get the "Ads disabled for site admin" placeholder.
If that box is checked, my ads appear, but I get no activity on my ads in my AdSense interface. Even though I get ~50 unique visits a day on my Main Page (where I have 3 ads showing), the ads went "inactive" in my AdSense account. From what I can gather, this occurs after a period of 30 days with no impressions.

Darned if I don't and darned if I do?

My URL is http://www.eatapedia.com

Thank you

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

"Ads disabled for site admin" means exactly what is written.. As long as you're logged on as site admin, you won't see the ads.. Browse your site using another browser, or logoff, and you should start seeing them.

Or not? I am seeing the ads there at the moment, but I also see test mode on..

thomsonj’s picture

Thank you for your response. The piece of the puzzle that was missing (for me) was "As long as you're logged on as site admin, you won't see the ads". Dang it...wish I had known this months ago. Might not be a bad idea to add this caveat in the interface. Thanks once again, all is good.

jcnventura’s picture

What's hard to understand about "Ads disabled for site admin" means that site admins don't see ads?

Would you prefer something like "You've got to logoff to see ads" ?

Stomper’s picture

I've created an ad using Adsense, and embedded the PHP into the page tpls to display the ads. When logged in as admin, the containers indicating where ads should show up work, but when I log out no ads display. Is it possible for the ad containers to show despite the ad code not working properly? How can I fix this?

jcnventura’s picture

The ad containers don't call Google. When you log out, the adsense javascript is called, and if Google wishes, it displays ads. If for some reason they decide that your site is not able to display ads, then no ads are displayed.

You can try matching the Javascript created by the module against the code created by Google.. If there's any noticeable difference, feel free to report it here.

Stomper’s picture

So there's a possibility that my site may be blacklisted by Google? It's odd because my Adsense account looks normal, still at zero balance. I've only created one add and the code has been embedded in my .tpl, will check again. Any other possible reasons? Module conflicts - I have adsense and adsense injector enabled.

Stomper’s picture

I tried using this "Google Adsense Sandbox" to see if my site was blacklisted, when I entered my domain name, the ads I created displayed correctly, indicating that my site was not blacklisted. Could my PHP be off even if it's properly displaying the admin-view ad place holder boxes?

http://www.labnol.org/google-adsense-sandbox/

Stomper’s picture

I tried going into the Adsense module options and removed the "pub-" from the Site ID field to see if that was issue. Originally I had "pub-xxxxx" and I'm currently trying it without the "pub-", just "xxxxxx." The odd thing is that the advert-admin box still shows up when logged in as admin, it didn't disappear when I removed "pub"

Now I'm lost to the possible causes. Is having "pub-" in the Site ID field required?

jcnventura’s picture

I think the publisher Id now starts with ca-pub... At least in my case, when regenerating my ads, that's the new publisher Id.

However, my ads work fine without it..

Stomper’s picture

I'm super confused. It seems my ads are disabled, even though they've been enabled. Is is possible there's interference between the Adsense Injector module (enabled but not configured to display ads yet) and the fact that I've embedded the Adsense ads using the PHP-tpl method?

jcnventura’s picture

The publisher ID should be entered as "pub-xxxxxx".. Actually, the 7.x code doesn't even let you do it any other way.

Did this problem fix itself in the end?

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No furhter info in two weeks. Closing the issue.

funkygadgets9’s picture

Hey buddy you can try matching the Javascript created by the module against the code created by Google..
http://www.funkygadgets9.com

funkygadgets9’s picture

Issue summary: View changes

Typo