Forum Moderators: martinibuster
Error: Permission denied for <http://googleads.g.doubleclick.net> to call method Location.toString on <my domain>. Anyone else experienced this error?
Firefox is throwing up errors for me with the above error. I've looked online and it seems I'm not the only one to have raised questions. Some comments on Google Adsense Help forums, but the posters are getting frustrated at a lack of reply from Google.
I experience the error on several sites / pages and across ad sizes. I use Ad Manager, and when the error appears it seems to be linked to Adsense showing an Image/Rich Media advert.
...anyone else got comments?
It is interesting to note that even though the report itself is worded "Security Error" (my emphasis), if you're looking at the Firefox Error Console, these notifications show in the "Messages" tab, and not the "Errors" tab, so they're not really errors.
Also, unless I'm mistaken, these notifications only show if you are looking at the Firefox Error Console, so ordinary users would never see them.
I see them too in Firefox too, I believe anyone who looks at a site with adsense on it using Firefox would.
I've just gone all over my sites with Firefox and haven't seen it once. Maybe it is the version of code that you may be using that causes it.
Are you seeing this with the new code ? [I use old code].
Update:
I have noticed that I don't seem to get the errors when a Text Ad is being shown. It certainly seems to be with the Image Ads only. A quick search of the messages above in Google and on Google Help forums would suggest others are having similar problems. I think my main concern is what code is not being executed after the javascript error and will it affect click tracking?
Re: Location.toString error: I've seen this on other sites caused by things other than adsense. I've seen YUI (Yahoo JS library) cause this "error" too, for example. It's my understanding everyone ignores it because there are no negative effects to the browsing experience because of it. And, IE users would never see the errors unless they have "show JS errors" turned on in their browsers, which is off by default.
i.e. I was worried in case the next line of code after the error, the code that isn't getting run, may have some important publisher tracking code on it that means I won't get credit for any clicks, for example ... the failing code is not within a try/catch block (else we wouldn't have seen the error) and Firefox has terminated the running of the Adsense code block at that stage.
So should I be worried about what lines of code aren't getting run and should I pull Image Ads until it gets fixed?
{that's just me thinking out loud, I'm not really asking for someone to run my life for me ;) }
fyi, I also use Google Analytics.
It's definitely a new problem. Now does it coincide with my installing Firefox 3.5 (could the bug be with Firefox for example?) or is it down to a new code release of Adsense logics. They're what I'm currently pondering. I'm going to do some trials with Firefox 3.0 because I'm sure I never saw these errors with that version installed.