Forum Moderators: martinibuster

Message Too Old, No Replies

Need to find Adsense ad unit (old) URL?

         

born2run

10:05 pm on Jun 1, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi for tax reasons I have had to change my google Adsense code across my entire site. Basically I've had to remove all the old adsense code and replace them with the new account's code.

I'm stilling seeing an ad unit 160x600 which still has the old adsense code. Is there any way to find out which URL's are making the ad requests for the old adsense code? Perhaps google Analytics (I have linked adsense user with analytics user account) may help?

I would appreciate any help in this matter.

netmeg

10:31 pm on Jun 1, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There's no way that I know of to get it out of the AdSense reports. I don't think Analytics has the information on the individual ad units. Me, I'd turn my Screaming Frog spider on the site and look for the pub number. But that's a paid tool (for more than 500 URLs) if you don't have it or know someone who does, then I dunno. There are probably other tools.

LifeinAsia

10:42 pm on Jun 1, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It might be possible that some scraper copied your code and is using it on their site. (Do you have Allowed Sites, or whatever they're calling it?) If the code is on someone else's site, not much you can do about it.

It's possible that the old code is showing on a page that Google has cached and hasn't been updated yet by Google.

born2run

12:05 am on Jun 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi I do have screaming frog tool

How do I use it to search source code of urls it spiders?

Kindly assist thanks!

netmeg

12:30 am on Jun 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Configuration / Custom and put your pub code in the field for it to search, then spider the whole site.

born2run

12:39 am on Jun 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks, is there any way to look into old crawled data files of screamingfrog ? Or I have to recrawl everytime for a new custom search? Kindly assist.

netmeg

1:04 am on Jun 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



As far as I know, you should crawl again. You're looking for code that's there right now, right?

born2run

1:06 am on Jun 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi yes primarily code that's there right now. Thanks it's crawling now. So let's see what results come out. Thanks a lot!

IanCP

11:28 pm on Jun 3, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm stilling seeing an ad unit 160x600 which still has the old adsense code. Is there any way to find out which URL's are making the ad requests for the old adsense code?

I sometimes come across a similar, but not the same situation. I'm making two reasonable assumptions here.

a) You have a copy of your site in a directory/directories on a hard drive.
b) You have a decent text editor for HTML. Any decent text editor has a global search and replace.

In my case I would simply fire up my NoteTab Pro, go to Search/Search Disk/Find What and enter piece of code unique to my search. Perhaps old publisher ID.