Forum Moderators: martinibuster

Message Too Old, No Replies

"Framed" Pages

Adsense Credit still given?

         

bgd2006

1:00 am on Jul 23, 2009 (gmt 0)

10+ Year Member



In the spirit of there's no such thing as a stupid question here it is:

If one of the pages I have AdSense on is shared on a site like Facebook or Digg and then someone views it in a framed page what happens to the payment when an ad is clicked?

I would hope the AdSense Publisher would get the credit since it's his code on the page but the url isn't going to be from his website because it's framed.

incrediBILL

1:18 am on Jul 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Very good question and maybe ASA can shed some light here.

If Google is smart enough to get the actual URL (this) using their javascript instead of using the root referrer then you're good.

Otherwise, the root referrer could block AdSense if you have utilized the Authorized Domains feature unless the root is defined as being authorized.

The next issue is that the AdSense ads might be completely off if the root frame is used instead of your content page, which I do not believe is the case as I've seen AdSense used in iframes and the ads reflected the iframe content and not the surrounding page.

Lastly, it's your PUB-ID that credits your account, not the URL.

Slap in this one-line frame buster script into your page and it's no longer an issue:

<script>if (top!= self) top.location.href = location.href;</script>

bgd2006

1:33 am on Jul 23, 2009 (gmt 0)

10+ Year Member



The ads appear to reflect the page content correctly. They are where they are supposed to be and look correct so I think maybe I'm OK on that issue.

So if that's the case and it's the PUB-ID that assigns credit I would think the URL wouldn't matter...frame or no frame.

StoutFiles

3:41 am on Jul 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have many of my pages with Adsense on them framed on other sites. It's not an issue.

piatkow

3:58 pm on Jul 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I run a small site for a friend who foolishly bought the domain name from a company that uses frames for forwarding. I have never had problems over using Adsense on the pages that I created.

denisl

5:24 pm on Jul 23, 2009 (gmt 0)

10+ Year Member Top Contributors Of The Month



I assumme the domain of the site that is framing your page would have to be in your list of allowed domains for you to be paid for any clicks

bgd2006

10:54 pm on Jul 23, 2009 (gmt 0)

10+ Year Member



Thanks for all the replies.

Just in case denisl is correct that would mean adding Facebook, Digg, and every other site to the list of allowed domains. Somehow I think Google would frown upon that.

bgd2006

6:16 pm on Jul 24, 2009 (gmt 0)

10+ Year Member



I should have thought of this before but when I dig into my Google Analytics data I can see that I'm getting credit for Facebook links which means the framed pages are being given credit.