Docstoc

google_adsense_quickstart

Document Sample
google_adsense_quickstart Powered By Docstoc
					Google AdSense
Quick Start
Step 1: Create your account




   — Go to link https://google.com/adsense/
   — Click “Click Here to Apply”
   — Complete a form on the next page.




Step 2: Log in to your account




   — In the Existing Publisher Login box, at the upper right of the browser win-
dow, indicate email address and password you supplied during signup
   — Click Sign in
   — Agree to the Google AdSense Terms and Conditions by clicking I Accept
Step 3: Generate your ad code




   —   Click on the AdSense Setup tab
   —   Choose AdSense for content as the product
   —   Select the ‘Ad unit’ radio button and click Continue
   —   Select your ad format and click Continue
   —   Click in the grey box under ‘Your AdSense code’ to highlight your code




Step 4: Copy and Paste code into your pages
   — Copy the code you’ve just highlighted
   — Paste this code into your webpages using your HTML editor
   — Save your pages and publish them to the web

    You should keep in mind that there are AdSense banners of different sizes,
all samples are given here: https://google.com/adsense/adformats. All colors for
background, borders and fonts can be set and managed when creating AdSense.
Usually people use Adsense for Content at sites. You can also use AdSense for
Search if you feel you need it.

    A common practice is when AdSense is inserted into index.tpl of our solution.
If you want AdSense to be used at only specified site pages, then you should edit
an appropriate template file and a best size for AdSense here is 468 x 60.
   A nice variant is when you use AdSense for content (image only type) with
completely customized colors. It makes all ads from Google to be like an inte-
grate part of your site.

   We think that one of the first dating companies, which used and still uses
AdSense at their site, is http://www.plentyoffish.com – check it up and you’ll see
the way it can be done.

  Let’s try to insert Adsense code to the whole site. For example, like at http://
www.pickfreedate.com (we use this site as an example).

    http://www.pickfreedate.com/registration.php - Go here and you’ll see
728x90 Text/Image Google Adsense. You can easily insert it yourself. Open file
index_top.tpl (usually in “templates” folder) and find where the central part
starts. Beginning of central part can vary from one Dating Pro version to another.

   <!-- begin central part -->

             <table border=”0” cellpadding=”0” cellspacing=”0” align=”center”
style=”padding-right:0px” width=”795”>
             <tr valign=top>
             {if $empty_right_cell eq 0}
             <td class=”right_cell” align=”left”>

                      <!-- begin quick search -->

   This is a typical Dating Pro Central part from index_top.tpl. To insert Adsense
successfully we need to apply just some knowledge of HTML.

   So, first we add a new row to the table and add Adsense to this row:

    <!-- begin central part -->
    <table border=”0” cellpadding=”0” cellspacing=”0” align=”center”
style=”padding-right:0px” width=”795”>

   <!-- Begin Adsense -->
   <tr>
   <script type=”text/javascript”><!--
   google_ad_client = “pub-6525812953514814”;
   google_ad_width = 728;
   google_ad_height = 90;
   google_ad_format = “728x90_as”;
   google_ad_type = “text_image”;
   //2006-12-07: referals
   google_ad_channel = “7013145659”;
   //--></script>
   <script type=”text/javascript”
     src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
   </script>
   </tr>
   <!-- End Adsense -->


               <tr valign=top>
               {if $empty_right_cell eq 0}
               <td class=”right_cell” align=”left”>

                      <!-- begin quick search -->

   After we do it, we’ll see a page will be distorted. This is all because in this
table there supposed to be two columns. I think we shouldn’t go deep into it,
let’s see a way out.
    We simply add “colspan” to unite 2 columns.

   <!-- begin central part -->

             <table border=”0” cellpadding=”0” cellspacing=”0” align=”center”
style=”padding-right:0px” width=”795”>

   <!-- Begin Adsense -->
       <tr><td colspan=”2” align=”center”>
              <script type=”text/javascript”><!--
   google_ad_client = “pub-6525812953514814”;
   google_ad_width = 728;
   google_ad_height = 90;
   google_ad_format = “728x90_as”;
   google_ad_type = “text_image”;
   //2006-12-07: referals
   google_ad_channel = “7013145659”;
   //--></script>
   <script type=”text/javascript”
     src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
   </script>

       </td></tr>
   <!-- End Adsense -->

                <tr valign=top>
                {if $empty_right_cell eq 0}
                <td class=”right_cell” align=”left”>

                       <!-- begin quick search -->

    This is all – after you do above mentioned with your index_top.tpl, you’ll see
at all your site pages (usually except index page) Google Adsense. If you choose
Adsense for search, then you can in index_top.tpl place the code almost in the
same way as described, and it will work fine.

   Good luck!

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:8/29/2012
language:
pages:5