Introduction to Google AdSense
Google
AdSense is probably the most popular advertisement service on the web. By
including a specific java script code in your web site, it allows you to
generate revenue though different advertisements related to your web site
content. The amount of generated income is based on the type of advertisements
and the number of clicks on them.
Your
income is generated both from clicks on ads and from impressions (number of
times the advertisement is shown on your web site).
Besides
the clicks and the impressions, you can earn money by including a Google search
box in your web site code. If your web site visitors use it you will get a
percent of the profit relevant to their search terms. AdSense for Feeds and
AdSense for Domains are also available. The first one places ads in the feeds
managed by Google for your web site. The second one allows advertisements to be
included for domains that do not open a web site with content.
All AdSense options are described at:
Bear
in mind that making money with Google AdSense requires a popular site with
popular keywords on it and attractive positions for the ad placements.
Generally,
the software is administered by Google and you can monitor your balance through
your Google profile.
The
service is freely accessible for everyone who complies with the corresponding
Terms of Use.
You can check the Terms of Use here:
Google
AdSense Integration
In
order to start using Google AdSense you need to create an account first. This
can be done at:
Click
on the Sign Up button to proceed. Fill in all required details and be
sure to read the Google AdSense policy before completing the sign-up procedure.
Once
the sign-up procedure is completed, you will get a welcome e-mail with
instructions on how to use the Google AdSense tool.
Log
in the Google AdSense panel and using the included wizard generates the Google
AdSense code according to your preferences.
It
will be similar to the following one:
<script
type="text/javascript"><!--
google_ad_client = "pub-UNIQUE_NUMBER";
/* 300x250, created 29/03/10 */
google_ad_slot = "11111111";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
google_ad_client = "pub-UNIQUE_NUMBER";
/* 300x250, created 29/03/10 */
google_ad_slot = "11111111";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Instead
of the "UNIQUE_NUMBER" string you will see a number which is
generated by Google and is unique for your account.
In
the Google AdSense panel you can check the reports regarding the Google AdSense
activity on your web sites. Also, from there you can generate code for
advertisement blocks with different shapes and formatting and tune your AdSense
setup.
Once
you have the Google AdSense unit code you should include it in your web site.
If
you have an HTML web site, you can include it directly in the source code.
If
you wonder which is the best position for your Google Adsense advertisements,
you can check this article:
Basically,
the way to include the code depends on your web site technology and personal
preferences.
Most
of the popular php scripts come with additional extensions which allow you to
insert the Google AdSense code without editing your files.
Here
are some different ways to include the code in open-source PHP projects.
Let
us start with Joomla 1.5, which is probably the most popular open source CMS.
You
can find comprehensive instructions on how to install and use the software in
the following tutorial:
There
are many different approaches for integrating the Google AdSense code. It is recommended
that you use a Joomla extension for this purpose.
Using
such an extension allows even people who know nothing about programming to
enable Google AdSense for their accounts. You can choose the preferred
extension from the following resource:
Then
you must follow the Joomla 1.5 tutorial in order to complete the extension
installation:
Some
extensions allow IP blocking. This way you can block yours and prevent a
violation of the Google AdSense Terms of Use while performing tests.
Another
widespread open-source script is WordPress. This application is one of the most
popular free blogging solutions.
You
can find detailed information on how to install and use it at:
Since
inserting the Google AdSense code directly in the WordPress theme's source code
requires some programming knowledge, we will use a Google AdSense plug-in.
You
can choose the one which best covers your needs at:
Detailed
instructions on how to install plug-in can be found in the WordPress tutorial
at:
Also,
every plug-in has an Installation tab and the specific installation
instructions are published there.
Once
you install and activate the plug-in, you should enter the specific code
generated through the Google AdSense wizard.
Most of the other scripts have similar solutions
for adding the Google AdSense code. You can either use an external extension or
you can insert it directly in the source code of your web site.
No comments:
Post a Comment