Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Frames and Databases



8:18 pm on Aug 13, 2003 (gmt 0)

Inactive Member
Account Expired


I've just been accepted for adsense, and would appreciate a little advice. My site is composed of 3 frames:

A banner frame at the top with logo - this currently hosts my adsense ad
A navigation frame to the left from which the user selects from a number of pages displayed in the content frame
A content frame populated from one of a number of database tables by php/mySQL

The ads on top are currently vaguely targetted, but I suspect are getting their info from meta tags on the top frame, as there is no text there(?).

Here are my questions:
1) If my ad was in the content frame, would it be able to see the HTML content data generated by the php script, or could it only see the php source code?
2) Can my ad in the top frame "see" the content in my content frame?
3) Am I allowed to host an adsense ad in both the top and content frame?

Thanks for the advice,

8:37 pm on Aug 13, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 5, 2002
votes: 0

You really need to pose your specific questions to Google. They do reply quickly amd helpfully

On my frames sites, they have suggested more copy to improve targetting - even though all meta tags were there, plus alt, ref etc.

Send them the url and exact questions, you should get a reply in under 24 hours

12:17 am on Aug 14, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:July 15, 2003
votes: 0

I agree with cornwall that you should probably contact Google directly for a detailed answer, but I can tell you from experience that putting the Ad in a different frame doesn't work nearly as well as putting it on the actual 'content page'.
We tried that initially and it seemed to serve site-based (Widgets in general) ads rather than ads for the page (red widgets, blue widgets, kentucky fried widgets, etc). As soon as we switched (pulled the whole site out of frames) each page had ads that related to the content of that page.