ricktendo

[Help] HTML to PHP AddSense code

3 posts in this topic

Hello folks, who can help me I am trying to add Google AddSense adds and search to my webpage http://ricktendo.com/ but have no clue about web design (as you can tell i suck) ..if anybody could help I am trying to add the following html code to my page, currently I used a html to php web converter and its working but I would like to center it

Here is the original code I got from google

****Adds****

<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
/* UPL Site Adds */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

****Search****

<form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
<div>
<input type="hidden" name="cx" value="partner-pub-XXXXXXXXXXXXXXXX:uto831-ucsl" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Buscar" />
</div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=es"></script>

If somebody could point me in the right direction

Share this post


Link to post
Share on other sites

Google doesnot allow editing adsense code ( read their ToS)..

why i need to change it to html ?? since u are using wordpress u can search for some adsense plugin.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now