Is it legal to have adsense ads in iframe ?
The terms only mention that you cannot frame your visitors after they click on an ad link and in the policies state that no Google ad may be placed on any non-content-based pages.
If you put the ads in iframe then probably they won't find any content in order to serve any relevant ads. But, what if you make the ads look outside of the iframe ?
I don't think it would violate their terms and conditions but to be sure I send an email to the adsense team:
To the Adsense Team,
I have looked in your terms and the policies on the adsense help site
but I can't seem to find this info anywhere.
I have a site with a very old CMS installed on that does not let me
use anything other than iframe to display the ADS, changing the whole
CMS was out of the question, so I thought about the following solution
I would put the following code in a html page and then I would call
this page within an iframe in my existing CMS
the first 3 lines of this code make the parent document available to
the google script so essentially I am bringing the google ad code out of its iframe
borders in order to find content and serve relevant content.
Would the following code be considered code modification under the policies ?
In terms of functionality I tested it and it works, I am going to wait
for your comfirmation in order to use it.
And their answer was:
Thanks for your message. We apologize for our delay in responding to your
below the AdSense ad code as long as you do you change the ad code itself.
Your suggested solution therefor complies with our program policies.
For additional questions, I'd encourage you to visit the AdSense Help
Center (http://www.google.com/adsense_help), our complete resource center
for all AdSense topics. Alternatively, feel free to post your question on
the forum just for AdSense publishers: the AdSense Help Group
The Google AdSense Team