About Me

My photo
is a software engineer from bangalore.

Blog Archive

Friday, September 11, 2009

CPC analysing and CPC analyzer

CPC analysing and CPC analyzer

1.What is CPC


CPC which is known as Cost Per Click and PPC which is the Pay Per Click are the most widely used terms in the online business now these days. These are generally not familiar to most of the Internet users. so here is a free tips to understand them.

PPC is an internet advertising technique used on the web pages.Here the advertiser posts the advertisement and when the visitor clicks on the advertisement, the publisher of that advertisement will get paid for the click. The advertiser generally put some bids on the keyword phrases which will be most relevant to the content of the publisher website.Usually this will be a
fixed price rather than dynamic bids.

CPC is the amount of the money the advertiser pays for the advertising company. A commission of this amount will given to the publisher.

There are lot of ways the publisher can put the ads on the site. But whenever the site traffic is more , then the chance of getting high paying Ads is more. The different CPC analyser programs are explained below

2.Different CPC Analyzer programs


* Google Adwords and Adsense


Google adwords and adsense are the famous cost per click programs ( also known as pay per click).The basic difference between the google AdWords and adsense are, the Google adWords are for advertisers and adsense are for publishers.
So here is the flow :
advertiser contact google for the advertising their ads for google's big advertising
network.Google put these ads on their search results ( as sponsored results ) and also in the large advertisement sites. When ever a visitor clicks on these ads, advertiser pays google for the click.this is what called adwords.

Now comes the adsense. its mainly for the publishers. any website owner who has a content rich website can apply for the google adsense. In some countries google put a restriction that the site should be active for six months before applying for the adsense account. So once the account is activated , google will put Ads on the publisher's website. google has custom javascript codes for showing the content based on the publisher's website content. So smart they are !! when the visitor clicks on these ads, then the advertiser pays google a particular charge and the publisher will get some commission of this amount.

Visit Google adwords and adsense from here :
http://adwords.google.com , http://adsense.google.com

* Yahoo publisher network


Yahoo also started theit publisher marketing program which is known as Yahoo publisher network.This also works as the same way as the google adsense works. they also have the technology to show the ads based on the content of the publisher web site.In addition to the contextually matching ads which yahoo provides , they are giving an extended option to select the ads based on the specified interest. so the webmasters can choose the ads based on their website visitors interest. Yahoo publisher network is not that popular as google adsense comparatively.

Visit Yahoo Publisher network from here : http://publisher.yahoo.com/

* Kontera


Kontera is another CPC program. They follows a different kind of Advertisement in the publisher website ( even though the basic definition is same). I mean, the basic flow is same as google adsense. the advertiser is paying for the click on the ads appearing on the publisher's site and publisher is getting the commission for this click.

The difference here is how they are displaying the ads in the publisher's website. They are using a different technique called "In -text advertising " . Its bit different from the techniques which yahoo and google are using. Yahoo and google will show the content in some boxes as links based on the content of the website. but in "In -text advertising" , they will convert the existing content words into links. They wont do it for all the words in the links, instead they will select the random ( or they will be having a different algorithm for selecting the words ) and make them as links. so when the visitor mouse over in this links, he can see the advertisement. Once he clicks on this advertisement, then he is redircted to the advertiser's website and the advertiser pay for that.Kontera is a nice choice for most of them who probably got disabled their adsense account.

Visit Kontera from here : http://www.kontera.com

3.How to analyze CPC

There are different tools available online for showing the high paying keywords and their CPC. Basically most of the tools query the search engine and find out the frequency of a keyword is used and the price value of that keyword. As i told earlier, the CPC is the amount in which the advertiser is paying to the advertising company, most of the CPC rates will be hidden. One of the main policy of the google adsense is that, they wont reveal the CPC rate of the ads they are showing in the publisher website.

Here are some useful links for some CPC analyzer tools and keyword analysing

Google keyword analyser tool :
https://adwords.google.com/select/KeywordToolExternal

Word Tracker :
http://www.wordtracker.com/


CPC tracker tool :
http://www.blizzardtracker.com/cpccost.html

CPC analyser :
http://click.websitegear.com/scenario/cpc_tracking.asp

Taken from http://tech-buds.blogspot.com by shidhin CR

Convert innerHTML to XHTML format using Javascript

Convert innerHTML to XHTML
Hi Friends,
this is an XHTML reference and I use Javascript here to make a sample HTML XHTML converter. What I have tried is making a simple xhtml parser, and I achieved the results. This html to xhtml converter takes in the InnerHTML and reference to an XML object to generate an XML document in XHTML format.

It is done by using JavaScript.
Normally, when you do an innerHTML of a table or a div of an element in Javascript, the output is not in XHTML format…

For eg:

<Table id=Tbl5 contentEditable=true cellSpacing=1 cellPadding=1>

You can see that it is not in a pure XHTML format according to xhtml w3c.

If it to be in a pure XHTML format according to xhtml w3c standards,

It has to be

<TABLE id=”Tbl5” contentEditable=”true” cellSpacing=”1” cellPadding=”1”/>

It so happens that you will not be able to get an end tag for <INPUT> controls when you do a direct innerHTML.

For all these problems, I have found made javascript function to cater these needs…..

It is as follows.

Convert html to xhtml

For html to xhtml conversion, you will have to pass in 2 variables...

1. The innerHtml of the Div or table that is to be converted to XHTML or XML. here it is DivForXML

2. The Reference to an empty XML element. Here it is "parent"


var DivForXML = document.getElementById("the Element");
var XMLDom = new ActiveXObject("msxml2.domdocument");
XMLDom.async = "false";
_GetXSL(DivForXML, XMLDom);
alert(XMLDom.xml);


function _GetXHTML(DivForXML, parent) {

var XSL = new ActiveXObject("msxml2.domdocument");

XSL.async = "false";

var AllChild = DivForXML.childNodes;

var ChdXMLElem;

for (var CurElem = 0; CurElem <>

if (AllChild[CurElem].nodeType == 3) {

ChdXMLElem = parent.ownerDocument.createTextNode(AllChild[CurElem].nodeValue);

// To some browsers such as Firefox, a blank space is considered a text node (nodeType=3) just like regular text

}

else {

ChdXMLElem = parent.ownerDocument.createElement(AllChild[CurElem].tagName);

for (var attr = 0; attr <>

var attrib = AllChild[CurElem].attributes[attr];

if (attrib.specified == true) {

//Following code is used to avoid contentEditable and style attributes.

if (attrib.name.toLowerCase() != "contenteditable" || attrib.name.toLowerCase() != "style") ChdXMLElem.setAttribute(attrib.name, attrib.value);

}

}

}

if (AllChild[CurElem].childNodes.length > 0) {

_GetXHTML(AllChild[CurElem], ChdXMLElem);

}

parent.appendChild(ChdXMLElem);

}

}


The output you get will be in XHTML format. The same method and a little of extra brainstorming can be used to make more complex parsers…Hope this html xhtml parser has helped you out

If you have some doubts regarding this XHTML reference or wants to correct me on the xhtml parser, New ideas on html to xhtml conversion are most welcome..please add comments….