PHP Adsense Question

Discussion in 'PHP' started by Dawran1, May 25, 2009.

  1. #1
    OK,

    I have a webpage and the menu is a sperate PHP file. I made it a PHP file so that when i change it i dont have to change all the pages separately.

    Now, my questions is:

    If i put an adsense advert in the menu (seperate PHP file), will it show ads of the menu page (PHP file) or the actual webpage that has the menu in it...

    It might be confusing, ask for more info if needed

    thanks,


    Oh yeah, i don't suppose adsense adverts come with transparant backgrounds?
     
    Dawran1, May 25, 2009 IP
  2. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Its going to show ads related to the page because the menu php file is included within the pages.
     
    pipes, May 25, 2009 IP
  3. Chikey.ru

    Chikey.ru Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    code of adsense was writing on JS and will be actual on all pages
     
    Chikey.ru, May 25, 2009 IP
  4. Dawran1

    Dawran1 Guest

    Messages:
    214
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Im still confused by those answers... lol

    [​IMG]

    Theres a draft of my layout. If i place an ad in the Menu, which is a seperate PHP file, will the adverts be related to the Content or the Menu?
     
    Dawran1, May 25, 2009 IP
  5. Chikey.ru

    Chikey.ru Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes, of course
     
    Chikey.ru, May 25, 2009 IP
  6. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #6
    The first couple of page loads it may relate to the words in the menu. Then it will shift to all the words on the the rendered page and will vary from page to page depending on tge content of each page.

    Most of my sites have a third column like yor template and the ads are included like you are including your menu.
     
    Colbyt, May 25, 2009 IP
  7. g4coder

    g4coder Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #7
    The ads will be related to the content. Because the javascript in the adsense code runs after the content loads, so ofcourse the ads will be related to the content.
     
    g4coder, May 25, 2009 IP
  8. Chikey.ru

    Chikey.ru Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i think you need talk with google Ads moders
     
    Chikey.ru, May 25, 2009 IP