1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Are you sure the publisher-ID in your pages is really yours?

Discussion in 'AdSense' started by johncr, Nov 24, 2004.

  1. #1
    I'm not paranoid. A nice girl asked me to check her site for she noted her earnings plunged. What I did find was a hacked affiliate cgi script. As a consequence a provider's employee was fired and the police... Well that's another story.
    SEMrush
    While dealing with the problem I thought it is better to check my pages just to be sure. So, I coded a small php script to scan all pages in a site reporting good and bad ID's if any.

    I don't know if I've reinvented the wheel or not, but it works for me. Please test the script and let me know how good or bad it is.

    www.cartapacio.com/gpasid/gpasid.php
     
    johncr, Nov 24, 2004 IP
    SEMrush
  2. younghistorians

    younghistorians Well-Known Member

    Messages:
    332
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Neat script. I'm not going to download right now as I really only run Adsense ads in a few places, but I guess this script would be great for larger sites.
     
    younghistorians, Nov 24, 2004 IP
  3. melfan

    melfan Peon

    Messages:
    644
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the script. But Im sure enhough its my publishers id.
     
    melfan, Nov 24, 2004 IP
  4. johncr

    johncr Peon

    Messages:
    127
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Of course you are sure its your ID because you copy/pasted the script, however someone may hack your site and change the ID in some of pages.
    Will you check all your files manually? Hundreds or thouthands of html's, php's, templates etc.?
     
    johncr, Nov 25, 2004 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Nice script.

    I got round the time out on my Froogle extractor script by entering the number of pages to be checked (webmaster normally have a good guess of the total), then only request x pages per second (use sleep function) so you know how long the toal will take. Then cut it up just before the estimated tim-out with a link saying >> next batch or something. This will also prevent the server from being drowned in 100s of requests per second.
     
    T0PS3O, Nov 25, 2004 IP
  6. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #6
    Got an error.... The page cannot be found.

    Any ideas... The server is not my server but I am sure it has php installed.

    PS: Using Microsoft Server 2003 and IIS
     
    NewComputer, Nov 25, 2004 IP
  7. johncr

    johncr Peon

    Messages:
    127
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's working. Try this: http://www.cartapacio.com/gpasid/

    will display: Nothing to read. Just some space in an Apache server.
     
    johncr, Nov 25, 2004 IP
  8. oziii

    oziii Peon

    Messages:
    221
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #8
    See now you're scaring me! Hehe - *rushes off to check all his pages*
     
    oziii, Nov 25, 2004 IP
  9. johncr

    johncr Peon

    Messages:
    127
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I'm sure all your pages are okay... Hopefully.
     
    johncr, Nov 25, 2004 IP
  10. oziii

    oziii Peon

    Messages:
    221
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #10
    seem to be! I'm sure I'd notice a change in my earnings if someone was messing with my pages.
     
    oziii, Nov 25, 2004 IP