homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

Adsense and Iframe Content
iframe content, adsense

 5:08 am on Nov 26, 2005 (gmt 0)

I just added a couple of news iframes to a site and there happens to be adsense ads served on it as well. Will the ads be able to read the content in an Iframe?

I am only asking because I would like to test if it helps the adsense or not. I can create a seperate channel just to see, but wanted to ask here first....

Anyone have any set ups like this, or have you seen anything like it?



 12:47 pm on Nov 26, 2005 (gmt 0)

Check the box in your adsence account that says it will be in a frame


 12:48 pm on Nov 26, 2005 (gmt 0)

When you generate your Adsense code there is a checkbox for framed pages that adds the following line

google_page_url = document.location;

This works for me and I get Ads for the real page rather than the outer frame


 2:14 pm on Nov 26, 2005 (gmt 0)

Oh yeah...sorry for the question, i fogot about that box LOL.


 5:18 am on Nov 27, 2005 (gmt 0)

Ok, and this is FOR pages that use an IFrame WITH content that WANT ads based on the framed content?


 6:13 am on Nov 27, 2005 (gmt 0)

I didn't have good luck with framed sites if you use PHP Includes it works great and makes it ez to edit just like a frame site.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved