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
Web Hosting Master
 
Join Date: Aug 2002
Posts: 729

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 >>



Sponsored Links
  #2  
Old
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
Web Hosting Master
 
Join Date: Aug 2002
Posts: 729
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 >>

Sponsored Links
  #4  
Old
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
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
Google Cloud Platform Offers $100,000 in Cloud Credits to Startups Web Hosting News 2014-09-12 14:10:07
New Google Tools Help Publishers Get Consent Around User Data Collection Web Hosting News 2014-07-02 11:58:00
Google Develops End-to-End Encryption Tool for Email Web Hosting News 2014-06-04 13:46:14
Yahoo Launches Week-Long Domainapalooza to Auction More than 100 Premium Domains Web Hosting News 2013-11-18 11:05:27
Google Announces General Availability of Cloud Endpoints, Updates Mobile Backend Starter Web Hosting News 2013-11-11 12:14:49


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?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

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?