Welcome to WebmasterWorld Guest from 3.227.254.12

Forum Moderators: martinibuster

Message Too Old, No Replies

AdSense on Dynamic Sites

Seeing them on web but told no by Google

     
6:45 pm on Oct 17, 2003 (gmt 0)

New User

10+ Year Member

joined:Jan 8, 2003
posts:9
votes: 0


Can AdSense be implemented on a dynamic site?

I signed up recently but was told by Google rep that the Ads cannot go on dynamic pages. My site is ASP (with pages indexed in G) and I have been seeing AdSense ads on dynamic pages around the web. Am I missing something? Has anyone here implemented AdSense on dynamic pages?

7:00 pm on Oct 17, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 10, 2003
posts:648
votes: 0


Google cannot crawl dynamic pages so you will not get targeted ads. On the sites you've seen AdSense on dynamic pages, were the ads relevant to those pages or only to the site as a whole?
7:17 pm on Oct 17, 2003 (gmt 0)

New User

10+ Year Member

joined:Jan 8, 2003
posts:9
votes: 0


Thanks Blue_Fin, the ads were in fact related to the entire site, not necessarily the specific page.
7:19 pm on Oct 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 8, 2002
posts:2335
votes: 0


Where did you get the idea google cannot crawl dynamic pages? That is not true and adsense is allowed on dynamic pages. They have even told me so and I am doing it. I suggest you write them and ask them to clarify it for you.
7:24 pm on Oct 17, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 10, 2003
posts:648
votes: 0


Google AdSense Technical Implementation Guidelines
[google.com...]

1. What types of pages and content trigger the most relevant ads?
You can place our HTML ad code on any content-based web page on which you would like to display AdWords ads, providing that the page complies with our program policies. However, if we are unable to crawl or understand those pages, we may not be able to serve relevant ads on those pages. In such cases, we may display public service ads or your specified Alternate Ads, for which you will not accrue any AdSense earnings. In order for us to serve the most relevant ads on each of your pages, here are a few tips for you to follow:

If your page has frames, our script should be placed within the frame containing content.
Form-loaded content, dynamic content, flash movies, and images cannot be used to target ads to your pages.
If your page requires a login, we won't be able to crawl it.
If you have a robots.txt file, you'll need to remove it or add the following two lines to your robots.txt to allow our content bot to crawl your site:

User-agent: Mediapartners-Google*
Disallow:

7:29 pm on Oct 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jenstar is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 22, 2002
posts:4663
votes: 0


The main issue is dynamic URLs, which are unable to display targeted ads. Dynamic URLs are those that would give both you and me a different URL when we visit the identical page, usually by way of session IDs.

With session ids, the adsense bot believes every individual SID is an individual page.

This is a dynamic URL with a session id - http:*//www.yourdomain.com/index.php?s=7443300880d2bacb38235b9f81d63861

That s=7443300880d2bacb38235b9f81d63861 is the session ID, and it will be a different string of characters for each visitor, and it will change to a new string when they return for another visit.

Mediabot will visit every single one of those URLs that each of your visitors view, because it views each as an individual URL, not the same URL. The URLs have to be changed in order to use AdSense.

Does your site make use of session IDs or other dynamic variables such as them, which could be the issue Google has with your site?

7:43 pm on Oct 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 8, 2002
posts:2335
votes: 0


I read those terms (although I remembered them to be saying something more like "may have difficulty with dynamic content") which is what prompted me to ask Google the question myself. Their response contradicted what you just posted. They looked at the dynamic pages and OKed it...

What Jenstar says is correct, if you make the mistake of adding SessionsIds to your dynamic content, or change your content each time the same url is clicked, you may have a problem. But if your dynamic urls operate in a way similar to static urls, then you will be ok.
8:01 pm on Oct 17, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:July 14, 2003
posts:581
votes: 0


The main issue is dynamic URLs, which are unable to display targeted ads. Dynamic URLs are those that would give both you and me a different URL when we visit the identical page, usually by way of session IDs.

Another important issue is pages whose content is so dynamic that the content at time X is unrelated to the content at time Y. This is because if Mediapartners visits at time X and decides the page is about foo, but then at time Y the content changes and the page is now about bar, but ads for foo are still being shown, the ads aren't relevant. Relevancy is critical to the success of AdSense.

So the main issues are that 1. if URLs (including query strings) are always unique (for example include session IDs) or don't get repeat visits (for example many SERPs), content-targeted ads will never be displayed and 2. pages whose content change regularly and widely (blogs, pages with random content, database-driven pages whose underlying data change frequently) could end up showing ads that are mistargeted (targeted towards content from a previous version of the page).

8:09 pm on Oct 17, 2003 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member ogletree is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 14, 2003
posts:4319
votes: 42


I put them on a PHP site. It is all dynamamic with a? and an = sighn in the URL. No problem
8:12 pm on Oct 17, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:July 14, 2003
posts:581
votes: 0


But if your dynamic urls operate in a way similar to static urls, then you will be ok.

Not to be picky, but the issue is simply whether the content regularly changes and if it changes enough so that Mediapartner's rather infrequent visits to the page would result in ads being displayed which are often mis-targeted.

If I have a database-driven page with secondary content (side boxes, random photos, real-time date/time, a random blurb, etc.), but the primary content of the page is fairly static AdSense will work well. It makes no difference whether the URL has a query string (?key=value) in it or whether the file extension is .html (could still be database-driven but only updated on a regular schedule or as DB data changes, could still be extremely dynamic), .php (could be completely static).

8:28 pm on Oct 17, 2003 (gmt 0)

New User

10+ Year Member

joined:Oct 7, 2003
posts:24
votes: 0


One of my sites is in PHP and uses Session ID's. Is there any general rule for eliminating the session ID's so that I can use AdSense? Or is every site different in respect to them? The person programming site doesn't know any way to remove them. I'm pretty much clueless about PHP.

If anyone would like to take a look at the code to see if they can make the necessary modifications sticky me and we can discuss terms. I think there's a way to just do it through mod_rewrite.

[edited by: matthew288 at 8:53 pm (utc) on Oct. 17, 2003]

8:52 pm on Oct 17, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:July 14, 2003
posts:581
votes: 0


One of my sites is in PHP and uses Session ID's. Is there any general rule for eliminating the session ID's so that I can use AdSense?

Sure. Instead of carrying the session ID in the URL, store it in a cookie. As a programmer I can tell you that what it will take to make that change depends on how your site is coded. The fact that your programmer doesn't know about this option may be a red flag.

Even though you're not a programmer, you should be able to understand enough from the following page of the PHP manual to discuss with your programmer.

[php.net...]

12:43 pm on Oct 18, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 8, 2002
posts:2015
votes: 0


Slightly OT but important imo - this part of the AdSense tos might confuse a lot of webmasters:

If you have a robots.txt file, you'll need to remove it or add the following two lines to your robots.txt to allow our content bot to crawl your site:
User-agent: Mediapartners-Google*
Disallow:

That's a (semi) wrong advice! As long as you don't explicitly disallow mediapartners' bot (or all bots), you neither have to remove robots.txt nor have to explicitly allow mediapartners bot!

11:35 am on Oct 20, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 8, 2003
posts:516
votes: 4


Google does index dynamic sites. However your url should be short there should not be more than two variables. i.e. website.com/page.aspx?page=google&search=adsense . Avoid using session id's google cant crawl them. However adsense ads take time to come on dynamic pages. They get relevant after some time.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members