PDA

View Full Version : adsense :confused:


warontherun
07-13-2007, 01:31 PM
Well, to start with i registered with google adsense. Then i save the meta tag given by google on a notepad and name the file "google.inc". I then upload the file via file manager and add the same file via the custom code option to the home page and save the page. after which I go to google and try to verify my site and I get the message shown below.

The site address is www.warrenhealthtours.com

my chat id's are:(it will be a lot easier to communicate :-) )
war_on_the_run - yahoo
war_on_the_run - skype

Thanks,

Warren:confused:

The verification meta tag is in the wrong location on the page. It must be within the first <HEAD> section of the page.

GuardianHost
07-27-2007, 10:05 PM
Sorry answered wrong question...

EDITING:
Work the verification code into your template either by accessing sohoadmin/program/modules/site_templates/pages/YOURTEMPLATE/index.html directly, or editing a local copy and then zip it and upload via template manager upload. The index.html file in the template directory needs the verification code within the <head> and </head> tags.

After you have it verified and if you need help getting the ads on your page, then read on I suppose...

;)
If possible, try and work the code into the template directly. If not, at least try and put a #box1# or other number in your template. Then, you can use the blog manager to put the code in the box you have assigned in the template.

You can probably write the code as a google.php file instead and include it that way but you should have it inside a <div> or cell tag.

Something like this might work as a php file...

<?php
##############################################
## GUARDIANHOST.COM SOLUTIONS ###
##############################################
// include adsense in a 468 X 68 block
?>
<script type="text/javascript"><!--
google_ad_client = "pub-#############";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//replace this tag as your own
google_ad_channel = "##########";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "940F04";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?php
//end google ads script
?>

Make sure and change the relevant information to your ad... from script to end script!
Hope that helps!