|
|
|
|
Copyright Accelerated Ideas 2007 |
|
|
Earn Revenue |
|
Sign up for Google Adsense |
|
|
|
Introduction
Adsense ads are delivered via JavaScript code. Whilst you cannot edit the JavaScript code in any malicious ways you can edit the properties of the ad. What do we mean by properties? Well, just like any other thing a property is a defining characteristic such as a colour or size. If we take a look at the Adsense JavaScript we can see there are several properties which relate directly to how the ad is displayed. We have compiled a list below of all the properties you can change:
|
Adsense Property (JavaScript) |
Meaning |
google_ad_width = 728;
|
The width in pixels of the Google Ad |
google_ad_height = 15;
|
The height in pixels of the Google Ad |
google_ad_format = "728x15_0ads_al"; |
The format of the Google Ad (familiarize yourself with the possible values from your google account page)
|
google_ad_channel = "000000000"; |
The tracking channel for this ad. Used with reporting. You must first create the channel in your Adsense account before changing the number here.
|
google_color_border = "FFFFFF"; |
The border colour for the Adsense ad.
|
google_color_bg = "FFFFFF"; |
The background colour for the Adsense ad.
|
google_color_link = "669900"; |
The link colour for the Adsense ad. Usually the text at the top of the ad (depending on format)
|
google_color_text = "000000"; |
The colour of the main text of the ad.
|
google_color_url = "B3B3B3"; |
The colour of the display URL of the ad.
|
Remember, that whilst you can change the property 'values' you should never add or remove any properties without the risk of the ads not displaying correctly. This tutorial is designed to help you work with Adsense code without the need to log into your account every time you want to make changes or experiment a little.
Lets take a very quick tour of JavaScript properties and how we can change them. First of all lets look at a dummy Adsense example:

In this example there is a property for the 'google_color_link' which has been set to 669900. We can determine the name of the property because it sits to the left of the = sign. The value of the property always rests to the right of the = sign. So what does this value represent. Well the 'google_color_link' is the colour of the main headline link that you see at the top of the displayed ad. The actual value for this colour is not a name, instead it's what programmers refer to as a HEX number. You might be wondering how you are ever going to find the HEX value for a colour, but don't worry because some nice people on the web have done the hard work for you. We recommend you take a look at this site which has a huge list of common web colours and their HEX values:
500 Named Colours
Remember when using the HEX values from this site you do not need the # sign before the number. Just copy the number.
As you can see its possible to alter colours quite easily, but when chaning sizes or formats remember to choose sizes and formats that actually exists. If you try to make up any size it won't work, it must be an accepted size or format that Google offer. If you want to see accepted sizes and formats, try this page (UK):
Google Ad Formats
Property map - Adsense for Content

Tips and Tricks
 |
When changing values make sure you keep the quote marks around the value e.g. "798645". If you don't, then the ad will not display correctly if at all.
|
 |
Once again, make sure you check the size of the ad you have changed is an accepted format by Google.
|
 |
Never change the bottom script tag http://pagead2.googlesyndication.com/pagead/show_ads.js
|
 |
Never change the 'google_ad_client' property, otherwise you won't get paid.
|

|
Play around with colours as much as possible to match the ad to your sites style and theme.
|
 |
Do not confuse the code type="text/javascript" with the Adsense code. This is a JavaScript command and has no impact on the format of the ad. Changing it can render the ad useless.
|
 |
Do not change the 'google_ad_channel' property without first creating the channel in your Adsense account.
|
|
|
Section Keywords
Creating Adsense JavaScript code, Adsense, Logging in to Adsense, Copying Adsense code, Customizing Adsense code, Html editor, Pasting Adsense code, Adsense for Content, Pay-Per-Click, Advertising, Improve Adsense, Adsense getting started, Beginners guide to Adsense, New to Adsense, Adsense Tips and Tricks, Make more money, Increase Earnings, Make money online, Adwords Network ,Adsense Setup, Free Html Editor for Adsense, Optimize Adsense, Adsense Heat map, Adsense Arbitrage, Adsense vs Adwords, Adsense preview tool, Adsense colour palette, CTR values, MFA sites, Made for Adsense, Competitive Ad filter, Best ad placements, Best ad formats, Highest paying Adsense keywords, Top Adsense tips and tricks, Editing Adsense ads, Top pay-per-click keywords, Banned from Adsense, Adsense Reinstatement, Adsense Rules, Click through-rate, Adsense Rules, Adsense Guidelines.
|
|
|