Google Adsense Clone

They have: 426 posts

Joined: Feb 2005

I want to build something simular to Google adsense advertising system.

Im unsure how i should build the front end.

My idea is to use a backend system to process all the ads and serve the ads content in a array or even XML then use javasctipt to display this - or any other front end technology: passing data from one language to another i can serialize()?

Can i do this for most languages? Is this the most efficient technique?

How would anyone else approach this problem?

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

Hi benf,

That sounds like a reasonable approach, perhaps use Soap or Ajax integrated with the JavaScript front end, to serve the appropriate ads for the content.

I devised a method on my site to store all the parts for my various AdSense ads in a central JS file and write them with JS so I can manage them centrally - sort of like CSS for AdSense... does Google advise users to do this yet? I've been out of touch with AdSense for a while.

A funny AdSense story, I was optimizing a satellite site for a Beauty Parlor directory, and Google served Funeral Parlor ads... so I added a few more keywords, beauty salon etc, then the ads were appropriate-

Zaccaria's picture

They have: 32 posts

Joined: Nov 2008

decibel.places wrote:

A funny AdSense story, I was optimizing a satellite site for a Beauty Parlor directory, and Google served Funeral Parlor ads... so I added a few more keywords, beauty salon etc, then the ads were appropriate-

They did what!? LMAO Aye Aye Aye

That's a new one.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

You may want to check the results of this search

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

That letmegoogle thing was funny like the first few times...is it so hard to just link to a query? Sticking out tongue

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

pr0gr4mm3r wrote:
is it so hard to just link to a query? :P

the point is, for the asker, is it so hard to conduct a search first?

pr0gr4mm3r, you probably don't need to search most of these topics - maybe TWF admin can make letmegooglethatforyou.com links a special color?

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

maybe TWF admin can make letmegooglethatforyou.com links a special color?

It's impossible to tell when you use tinyurl.

99% of the questions can really be researched instead, but sometimes it's best to get a fresh opinion from an active community. Isn't that what online forums are for?

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

pr0gr4mm3r wrote:
It's impossible to tell when you use tinyurl

yeah, I considered that, unless you sniff the actual URL...

well, I am getting a little bored too, but reserve the right to be ... snotty ... when I want to Sticking out tongue

greg's picture

He has: 1,581 posts

Joined: Nov 2005

pr0gr4mm3r wrote:
That letmegoogle thing was funny like the first few times...is it so hard to just link to a query? :P

Hear Hear!

(well, apart from it being funny the first few times Sticking out tongue)

pr0gr4mm3r wrote:
sometimes it's best to get a fresh opinion from an active community. Isn't that what online forums are for?

until 6 billion people each know everything about everything, yeah, that pretty much sums it up.

One man knows web marketing but not coding, another knows coding but not web marketing. On their own they each have a freelance niche, together they have a business!

They have: 426 posts

Joined: Feb 2005

Basically, i know how i will do it, but as pr0gr4mm3r said i just want opinoins of other people to see how they would approach the problem.

There is always 20 ways to do the same damn thing, so finding the best way for me means looking at the other 19 first!

And yes, i have already searched google using basically all the same queries as you have.

As google adsense is a web service it would make sense to design my clone using webservice so i can use any other platform to connect to it. I will deisgn an API that i can connect to and just use AJAX to serialize and de-serialize everything.

SOAP - something else to use; not really clued up but there we go.

Thanks for all the contributions.

If any of the above is incorrect in any way - let me know.

greg's picture

He has: 1,581 posts

Joined: Nov 2005

benf wrote:
There is always 20 ways to do the same damn thing

As there is usually with anything technical, and seemingly everything electronical, these days.

Second opinions are always good if you are not 100% certain.

benf wrote:
finding the best way for me means looking at the other 19 first!

Or asking people who have already looked at all 20 Wink

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.