1,105,384 Community Members

google ad script problem

Member Avatar
rubai
Light Poster
43 posts since Aug 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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?

Member Avatar
Dani
The Queen of DaniWeb
20,563 posts since Feb 2002
Reputation Points: 1,356 [?]
Q&As Helped to Solve: 929 [?]
Skill Endorsements: 204 [?]
Administrator
Featured
Sponsor
 
0
 

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

Member Avatar
msi_333
Newbie Poster
23 posts since Jun 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 0 [?]
 
0
 

try

{literal}
  JavaScript code. 
{/literal}
Member Avatar
rubai
Light Poster
43 posts since Aug 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article