hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : I'm having trouble adding the google adsense code to my site.
Reply

Forum Jump

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

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-22-2003, 06:32 PM
thomor25 thomor25 is offline
Web Hosting Master
 
Join Date: Aug 2002
Posts: 727

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?

__________________
www.betopdollarcom - Be Top Dollar - Are you willing to pay just $1 more to Be Top Dollar?



Sponsored Links
  #2  
Old 09-22-2003, 06:38 PM
NovaW NovaW is offline
Web Hosting Master
 
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  
Old 09-22-2003, 06:44 PM
thomor25 thomor25 is offline
Web Hosting Master
 
Join Date: Aug 2002
Posts: 727
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.

__________________
www.betopdollarcom - Be Top Dollar - Are you willing to pay just $1 more to Be Top Dollar?

Sponsored Links
  #4  
Old 09-22-2003, 08:11 PM
NovaW NovaW is offline
Web Hosting Master
 
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  
Old 09-27-2003, 01:03 PM
webguruspap webguruspap is offline
New Member
 
Join Date: Sep 2003
Posts: 3
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!

Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?