I am using php include -- Is it ok ?

Discussion in 'AdSense' started by simply-the-best, Mar 28, 2009.

  1. #1
    Hi

    As the script I am using isn't allowing direct copy paster of the code ( give a lot o php errors ). So I have made a file ads.php and placed adsense ads in it. Then I used the php include code o insert that ads.php in my website. Is it ok to do that and not against adsense policies and tos? Am i safe?

    Regards
     
    simply-the-best, Mar 28, 2009 IP
  2. sultanofseo

    sultanofseo Notable Member

    Messages:
    9,930
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    265
    #2
    not only you are safe, that is the smartest way of doing it actually. thats how i myself place my ads so that i dont have to edit every single page
     
    sultanofseo, Mar 28, 2009 IP
  3. dairyman

    dairyman Notable Member

    Messages:
    7,224
    Likes Received:
    274
    Best Answers:
    0
    Trophy Points:
    205
    #3
    It is safe. You can do that.
     
    dairyman, Mar 28, 2009 IP
  4. simply-the-best

    simply-the-best Peon

    Messages:
    738
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks. should i disallow robots from visiting ads.php and indexing it using robots.txt ?
     
    simply-the-best, Mar 28, 2009 IP
  5. dairyman

    dairyman Notable Member

    Messages:
    7,224
    Likes Received:
    274
    Best Answers:
    0
    Trophy Points:
    205
    #5
    No need to do so.
     
    dairyman, Mar 28, 2009 IP