how do google adsense script work

Spyka could probably deliver a better definition that my attempt, but in short...

Google send a bot out to your site which scans the page for content. Based upon keywords it picks up on your site it will choose which ads to display, for example if you page mentions "Bullshit" a lot you'll probably end up with ads like "How to remove bullwhit" from your car ~lol~ If you mention "Cheese" a lot on your site you'll get adverts such as "The top 10 cheeses", things like that really.

~razz~
 
-lol- -lol- -lol-
I'm still waiting for my ads to come up- I put the code in overall_footer.html 🙁
 
Murder he Wrote said:
Did you clear the template cache?

Will do -redface-

And spyka, it says only 30 minutes, but up to 48 hours. Also purging the cache hasn't worked.
 
Purging the cache only affects the database, not the template cache.

You need:

Admin Panel -> Styles Tab -> Style Components -> Templates -> *your style* -> Refresh -> Are you sure? -> Yes.

I normally only have to wait 10 minutes for my ads to show up ~neutral~
 
Google adsense bot is now on so I presume my ads are going to be added in a minute?
 
Here is a typical adsense script:
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxx";
/* 468x60, created 9/23/08 */
google_ad_slot = "2846379014";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


How can those simple lines of code can do wonders on your site?

How?
 
It looks at key words on your site or on that page and then it tries to match advertisements with those keywords. Like for a forum like FP there would be advertisements for advertisements websites.
 
bullshitwebsites said:
Here is a typical adsense script:
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxx";
/* 468x60, created 9/23/08 */
google_ad_slot = "2846379014";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


How can those simple lines of code can do wonders on your site?

How?
Those simple lines of code are only settings... notice the src="" call? http://pagead2.googlesyndication.com/pagead/show_ads.js is the actual script that does all the work...
 
Back
Top Bottom