Manage Adsense on Multiple Websites

Discussion in 'AdSense' started by furca, Jun 17, 2010.

  1. #1
    Hello,

    I understand that I can change the advertisement box in my Google account, and that it will update on all sites using that box, however I have a different questions.

    I have Adsense on..

    Site1
    Site2
    Site3
    Site4
    Site5

    All of these sites are identical. Now, I want these sites (using php) to draw the adsense script from a location at HUBSITE. So when I update the HUBSITE code all of those sites update. TECHNICALLY, the adsense is still LOCATED on site1 site2 site3 site4 site5 but it is drawing the code from HUBSITE (but HUBSITE is not listed anywhere on source code- so perfectly legal!)

    Basically, I am looking to replace my adsense code on SITE1 SITE2 SITE3 SITE4 SITE5 with something like "PHP_Include(HUBSITE.com/code.htm)". This way, if I want to take adsense off I can easily do it by just taking it off of the one instance on my hubsite.

    Is this possible? Will you provide the code? I don't think it should be hard. Point me in the right direction please!
     
    furca, Jun 17, 2010 IP
  2. simple007

    simple007 Well-Known Member

    Messages:
    1,357
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #2
    It seem quite a risk to run adsense on multiple sites like hubpages and other revenue sharing sites because you don't have control over the site... I would rather be happy with one site than participating with revenue sharing sites... I think there is high risk of your adsense account being banned from those.... I may be wrong also in this ...
     
    simple007, Jun 17, 2010 IP
  3. furca

    furca Well-Known Member

    Messages:
    1,478
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    125
    #3
    Simple,

    Please re-read my post. In my example I own site1 site2 site3 site4 site5 and HUBSITE.com. I wish for site1 site2 site3 site4 site5 to pull "code" from HUBSITE.com/code.htm.
     
    furca, Jun 17, 2010 IP
  4. Pyrogenic

    Pyrogenic Member

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #4
    From adsense's point of view. There is nothing wrong with pulling the code from one single point. Because PHP is a server side thing, it won't even see that you are pulling from an external source. I'm not entirely sure if the "Include" function in PHP allows for cross domain. But you can use something like CURL with PHP, or Javascript.
     
    Pyrogenic, Jun 17, 2010 IP
  5. furca

    furca Well-Known Member

    Messages:
    1,478
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    125
    #5
    I have found a solution to this. Thank you Pyrogenic!
     
    Last edited: Jun 17, 2010
    furca, Jun 17, 2010 IP