We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,031 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

google ad script problem

This is a sample code i have
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1234567778889";
/* Firest add */
google_ad_slot = "4634587934";
google_ad_width = 574;
google_ad_height = 50;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

When I paste this code in ad section it is being changed as given below

<!-- google_ad_client = "ca-pub-1234567778889"; /* Firest add */ google_ad_slot = "4634587934"; google_ad_width = 574; google_ad_height = 50; //-->

Can anyone tell me what is the problem and what is the solution?

3
Contributors
3
Replies
12 Hours
Discussion Span
4 Months Ago
Last Updated
4
Views
rubai
Light Poster
28 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Firstly, 574x50 is not a valid size. Copy and paste the code exactly as shown from your AdSense account.

Dani
The Queen of DaniWeb
Administrator
21,343 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 367
Skill Endorsements: 122

try

{literal}
  JavaScript code. 
{/literal}
msi_333
Newbie Poster
23 posts since Jun 2007
Reputation Points: 10
Solved Threads: 4
Skill Endorsements: 0

574x90 is a sample dimension. I have another height and width. This is a sample. Please tell me reason.@ dani

rubai
Light Poster
28 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0629 seconds using 2.68MB