Results 1 to 5 of 5

Hybrid View

  1. #1

    I'm having trouble adding the google adsense code to my site.

    I'm puting it in a php doc head and I keep getting and error that says " Error. 'google_ad_width' is undefined" when it is defined. Do I have to do something differently or make some type of include for the code?
    << Please review signature guidelines >>

  2. #2
    Join Date
    Dec 2001
    Location
    New Orleans, LA
    Posts
    581
    In your html editor go to the exact spot on the page where you want the adsense ad to appear and then paste it there. It should work.
    Andrew McMaster
    http://www.FindMyHosting.com
    Compare Prices, Consumer Reviews, Help, Guides and More.

  3. #3
    Thats what I have been doign and it isn't working. I had the same problem with the javascript banner rotator and I had to use the php version of the banner code.
    << Please review signature guidelines >>

  4. #4
    Join Date
    Dec 2001
    Location
    New Orleans, LA
    Posts
    581
    email me the page & the adsense code & I'll check it for you
    Andrew McMaster
    http://www.FindMyHosting.com
    Compare Prices, Consumer Reviews, Help, Guides and More.

  5. #5
    Thomor25, Check to make sure you've pasted the javascript code outside of the <? and ?> tags. Also, check out http://www.adsensetest.com/ to see which ads should be showing up on your site. It's pretty cool!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •