Closed (cannot reproduce)
Project:
Google AdSense integration
Version:
7.x-1.0
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2012 at 00:45 UTC
Updated:
8 Jul 2012 at 23:21 UTC
This is an interesting issue. We just moved from another CMS to Drupal and had 10K+ Adsense impressions and $200+ in daily earnings.
After installing this module and serving ads through it, we see 30 impressions in Adsense reports and $2 in earnings. Ads are showing fine - we have tested on 3-4 computers. We had same traffic for the day.
We have double checked Adsense ID to be the same as well as ad slot IDs to be the same.
What's causing this isssue?
Cheers
Comments
Comment #1
jcnventuraDo you use any caching mechanism, other than the one provided by Drupal? The module blocks are set to no cache in Drupal, but some high-performance caching solutions will retrieve the page from Drupal, execute the ad javascript and serve the cached result to the users. This would easily explain why your adsense impressions are so low.
Comment #2
standingtallThis is good point - we use Cloudflare. I am turning it off for 60 minutes to test this hypothesis.
Cheers
Comment #3
standingtall- Disabled Cloudflare for almost two hours
- Disabled Boost module
-Turned off JS caching from Drupal
Issue still persists .. any other ideas?
Comment #4
standingtallAfter wasting 3-4 hours of time and $300+ in Adsense earnings, I have disabled the module and just using Adsense code in blocks and Adsense has immediately started reporting views and earnings.
No issue with Cloudflare, Boost or caching - apparently some issue with this module.
Use with care.
Comment #5
jcnventuraIs there any difference in the ad HTML code you now have and the one that was generated before by the module? Normally there shouldn't be any difference at all..
Another thing that may also happen is that the module enforces the AdSense ad limit. However some other Drupal modules load the page multiple times, and the module is tricked into believing that instead of displaying three ads, it's been asked to display six or nine ads. If this is happening, instead of normal ad HTML, you'd see an HTML comment reporting that the ad was disabled because of too many ads being shown.
Of course, I'm very interested in finding out the root of this problem.
Comment #6
standingtallWell .. another likely explanation could be that Adsense now issues pub-ca-xxxxxxxx format Adsense publisher IDs (adding ca after pub). Since this module doesn't accept pub-ca type IDs, you are forced to enter ID in old format.
May be that was the case.
Comment #7
jcnventuraAre you sure about pub-ca-xxx ?? All the Ads that google adsense generates for me start with ca-pub-xxxx..
Comment #8
standingtallYes .. you can google it. It is a new change though.
Comment #9
standingtallhttp://productforums.google.com/forum/#!topic/adsense/EMFvDalX9cM
It seems like Google is no longer supporting older pub adsense IDs in some countries.
Comment #10
jcnventuraI googled for it before I wrote #7.. I couldn't find any credible source for a pub-ca-xxxx format.
Actually, the best way would be if you could tell me the URL of this site.. Then I can take a look at it with the pub-ca-xxx format and see that it works..
Comment #11
jcnventuraThanks for the PM with the URL.
I've taken a look at some of your pages, and they're all using ca-pub-xx (not pub-ca-xx as you stated in #6 and #8). Of course, I can't see the actual code generated by the module in your site at the moment, but I've configured your details in my test machine (don't worry.. I made sure it didn't call Google), and the ads generated by the module are totally identical to the ones you have (except for the ad label inside the comment, which I don't think is used).
Back to square 1, I think. Something's causing low ad impressions.. Assuming it's interference with the ad limits, would you be willing to try raising the limits on _adsense_can_insert_another() in adsense.module line 570? Instead of 3+3+2, could you set them to 300+300+200?
On the other hand, I'll totally understand if you don't want to lose money while tinkering with the module..
Nice site, BTW :)
Comment #12
jcnventuraNo further info in more than a month. Closing the issue.