Adsense on php include allowed?

Discussion in 'AdSense' started by irule272, May 21, 2009.

  1. #1
    Hello I'm planning to put adsense code on "php include code" so that it will be easy for me to manage it and place it on different location on each of my html files. I wonder if this is allowed?

    Thanks!
     
    irule272, May 21, 2009 IP
  2. Avisblr

    Avisblr Member

    Messages:
    739
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #2
    Yes, it is allowed, but you shouldn't modify the adsense code.
     
    Avisblr, May 21, 2009 IP
  3. fisherking

    fisherking Peon

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, it's perfectly allowed. How else you think huge websites have AdSense on every page?
     
    fisherking, May 21, 2009 IP
  4. ferpol72

    ferpol72 Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, considering that an include is nothing else than a portion of code appearing in every page the same way, I don't see why not. Although, the way I use Adsense code with the new enhancing, lets me track accurately the amount of impressions, clicks, traffic it generates.

    For me, the wiser way to use Adsense is to create One Channel For each article you publish. That way, your statistics will allow you to take decisions on modifications and scaling the successful ones.

    For instance, I have a CMS and each article has a number. Then, I create a channel like A34 for the article with ID = 34.

    I am not reinventing the wheel here of course and that is why Channels were implemented in the first place.

    Have a great online session!
     
    ferpol72, May 21, 2009 IP
  5. Onera

    Onera Peon

    Messages:
    864
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5
    As long as the adsense code does not change, you don't have to worry about how you include it in your page. The best test is to take a look at the html of page after it is displayed in the browser and match it with the one you get from Google. They should be exactly the same, except you can still use the old format.
     
    Onera, May 21, 2009 IP
  6. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #6
    it is allowed
     
    jamuna, May 21, 2009 IP
  7. gusgusyehia

    gusgusyehia Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yes it is allowed
     
    gusgusyehia, May 22, 2009 IP
  8. jesi

    jesi Active Member

    Messages:
    715
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #8
    Definitely it is allowed, no issue there as i am using this method since long. but remember... never try to modify adsense code in any case
     
    jesi, May 22, 2009 IP
  9. config_error

    config_error Well-Known Member

    Messages:
    1,719
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #9
    you can put adsense, as long as you will not modify the code generated from googla adsense.
     
    config_error, May 22, 2009 IP
  10. CarPriceDatabase

    CarPriceDatabase Guest

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Google doesn't know where the code is included from server side, all Google can tell is from User side. Therefore, no matter php, java, codefusion, ASP...etc, as long as it is a valid adsense code output to browser, it should be fine.
     
    CarPriceDatabase, May 22, 2009 IP