Dec 112011
 

I noticed this error when adding google adsense code to one of my sites. I thought it was just happening on my new site, until I checked my other sites and realized it was happening everywhere! I had no idea how long this had been going on for, but wanted to get it fixed ASAP.

I scoured the web and researched the hell out of it. Here are the facts:

  • It has happened to lots of people. There are numerous posts on google’s message boards (Ex: http://www.google.com/support/forum/p/AdSense/thread?tid=18890327279dad00&hl=en). Google has not acknowledged it or proposed a fix.
  • It happens only on Chrome and Safari browsers. Internet Explorer and Firefox are immune to it. I have not tested specific versions, just the most recent release of each.
  • Sometimes it is accompanied with an additional error “Unsafe JavaScript attempt to access frame with URL [URL] from frame with URL http://googleads.g.doubleclick.net/pagead/ads?… Domains, protocols and ports must match.”
  • No adsense users have found a reliable fix.
  • I tried putting the adsense code on a blank page, wondering if my own html or javascript code was conflicting with it. The warnings still popped up.
  • I tried from a different computer, to see if it was isolated to my environment. Same problem.
  • I located another website that had adsense on it. Their site was giving me the same errors.
  • People have reported this as a bug in Chromium (http://code.google.com/p/chromium/issues/detail?id=61223). No solution.
  • Although it does create script errors, it does not seem to affect the functionality. Ads are still displayed, and clicks are still counted.

Since I found no solution, I thought about dropping Adsense, but since the functionality is still there and it’s still providing income, I decided to wait it out. I’ll update this post when/if I find a solution. Please share your experiences in the comments, especially if you found a fix!

  5 Responses to “Adsense error: Unable to post message to http://googleads.g.doubleclick.net. Recipient has origin [domain].”

  1. Any updates? i have the same problem and the problem is that sometime the ads are blanks! which is a big problem!
    Thanks

  2. Hey Lior –

    I wish I had a solution. I just rechecked some of my sites and at the moment they are working on Safari, and only 1 site doesn’t work on Chrome. Still seems to be an intermittent problem. Frustrating!

  3. Same deal here. Frustrating indeed!

  4. My site is also throwing this error. I too only see it when using Chrome. Have you heard any updates on this? It’s really frustrating to see that error coming up. Always afraid click counts or ad displays may be affected. Thanks.

    • Hi Bruno! I have not seen any updates unfortunately. It is frustrating and I was worried about click counts or impressions being affected, but all seems to be tracking just fine. Weird that no one at Google has noticed!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)