Forum Moderators: martinibuster
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.
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>