Same ad on multiple pages

Discussion in 'AdSense' started by justinXcore, Oct 9, 2008.

  1. #1
    Alright.. say I have a website with 20 pages. I just created a new ad in google adsense and added to code to the bottom of my index.html page. Now say I want to put an ad at the bottom of the rest of my 19 pages. I know generally its easier to just use php and make one footer.php and just include to the HTML file. Can I use the same ad code that i used for index.html or do I need to create 19 more different ads and paste the code one-by-one into the bottom of each pages code?

    Thanks for the help in advance.
     
    justinXcore, Oct 9, 2008 IP
  2. Project Mobius

    Project Mobius Peon

    Messages:
    10,524
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    0
    #2
    same one, that's why you only have to change the one in footer.php as oppose to the number of pages you have
     
    Project Mobius, Oct 9, 2008 IP
  3. sultanofseo

    sultanofseo Notable Member

    Messages:
    9,930
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    265
    #3
    you can use the same ad code on all pages and adsense ads will be displayed based on the content on that specific page. you are right, its easier and logical to use php include to SSI for this type of sites which will make life lot easiers
     
    sultanofseo, Oct 9, 2008 IP
  4. squat

    squat Peon

    Messages:
    323
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What the two guys above me said. If you look at my mopar site I have ads in the left column on every page (except for threads) and that's just one adsense block of code.
     
    squat, Oct 9, 2008 IP