homepage Welcome to WebmasterWorld Guest from 107.20.91.81
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
adsense conflicting with existing site javascript?
google says mis-targeting that started last month is due to site js
ypsites




msg:1456475
 4:37 am on Oct 11, 2005 (gmt 0)

Hello,

I publish a site about weddings; it's had adsense for a couple years now, and javascript pulldown menus for about a year.

Last month, all the adsense ads started being mistargeted -- more specifically, technology ads (C++, .NET programming, etc) and ONLY technology ads started appearing on the pages of the (wedding) site. (About 500 pages.)

Google says the js on our site is to blame ("it conflicts with adsense code"), but we're using pretty standard dropdown menus, and they were working fine with AdSense until last month.

Anyone else seeing this? If so, have you found a workaround to fix your pulldown menus (or other js on your site)?

Any help appreciated ... thanks!

YPS

 

ann




msg:1456476
 10:57 am on Oct 11, 2005 (gmt 0)

I have a javascript menu directly above my adsense sky and haven't had any problems.

Ann

dataguy




msg:1456477
 11:28 am on Oct 11, 2005 (gmt 0)

I've been having targetting problems for nearly a month now, and I only use javascript on about 0.01% of my pages...

ypsites




msg:1456478
 2:45 pm on Oct 11, 2005 (gmt 0)

Dataguy,

What kind of ads are you seeing on the mistargeted pages? (Are you seeing ads for scripts on the javascript pages?)

YPS

opaquetrap




msg:1456479
 11:33 am on Oct 12, 2005 (gmt 0)

Take care about the keywords in the following areas :-

Heading tags.
Title
File name or URL
Links and text which is hyperlinked
BOLD Text
etc.. Are some of the areas which determine the keyword relevancy for adsense.

and if possible, get your JS in seperate page and include it using <script src="external JS file"> tag.

Frequent




msg:1456480
 1:26 pm on Oct 12, 2005 (gmt 0)

This is interesting news if you got it right from Google. I've noticed on a few of my sites that they seem to generate "programming/scripting" type ads rather than contextual ads. Not all of these sites use javascript so I'm not sure I can blame that exactly.

I have been able to "fix" many of them with the new targetting tags, but some seem quite stubborn.

However, it makes me wonder if they have tweaked Adsense to give more favorable targeting to lightly coded and pure html sites to combat the scraper/database driven "5 minutes for 10,000 pages" epidemic.

Freq---

ionchannels




msg:1456481
 1:44 pm on Oct 12, 2005 (gmt 0)

Freq-a properly made scraper site should have little-to-no code visible in the final html if the html is generated with php for example.

Frequent




msg:1456482
 2:12 pm on Oct 12, 2005 (gmt 0)

ionchannels-

I understand that. But the majority of the "free" scripts out there that newbies looking for a quick buck use to clog the web with scraper and database driven junk do not run clean.

It would not be that difficuly for $G to dedicate a small team to develop ways to detect and penalize the most common "bad" scripts so the systems (SERPS and Adsense) are not encouraged their use by good income.

Freq---

jomaxx




msg:1456483
 3:18 pm on Oct 12, 2005 (gmt 0)

What Google may be referring to is the spider finding text or keywords within the contents of the Javascript. My rule is that common Javascript code should be in an external file insofar as is possible.

[Added: I just noticed that opaquetrap has made that same suggestion. Well anyway I can imagine Javascript errors on a page effecting the execution of AdSense, but if the problem is targeting then I say get the code off the page so the spider doesn't see it. And in the code that remains on the page, make sure there are no comments or variables that could be read as keywords. And wait up to a week or so after changes have been made for the targeting to come back.]

ypsites




msg:1456484
 3:42 pm on Oct 12, 2005 (gmt 0)

Interesting suggestion to put the js code in an external file ... does it slow things down, though?

jomaxx




msg:1456485
 3:45 pm on Oct 12, 2005 (gmt 0)

No, it tends to speed everything up because the file containing all the JS code only has to load one time. Every page calling it becomes smaller by a little or sometimes by a lot.

bumpski




msg:1456486
 3:01 pm on Oct 13, 2005 (gmt 0)

For more the a year I had my Adsense code inside IFrames, and it worked well. Targeted ads, and no slow down due to Adsense server delays. I believe I got targeted ads even in the Google cache using IFrames! (IFrames: Inline Frames, not standard Frames)

About a month ago the Adsense ads in these IFrames became intermittent (many PSA's) and poorly targeted, about the time the "section targeting" capability was added. Also at that time ASA had offered to look into my problem but I had to tell ASA I had already removed the IFrames.

I've now removed the IFrames to rectify the targeting problem. It appears the Adsense servers performance has improved since last year. If you're using IFrames or maybe even frames try it without.

ypsites




msg:1456487
 3:22 pm on Oct 15, 2005 (gmt 0)

More on this.

Google claimed that it was a "conflict" of our js code versus theirs. But I look at the site in Firefox, and our js dropdowns work fine, while AdSense is invisible.

Firefox javascript console gives the following error -- anyone seen this before?

Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [pagead2.googlesyndication.com...] :: google_init_globals :: line 349" data: no]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved