Search Latest topics | Adsense in Iframe Fri Oct 30, 2009 9:37 pm by cooldude 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 ? document=parent.document; I don’t think it would violate their terms and conditions but to be sure I send an email to the adsense team: <blockquote>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 with my little experience with javascript. I would put the following code in a html page and then I would call this page within an iframe in my existing CMS</blockquote> <script type="text/javascript"><!-- document=parent.document; //--></script> <script type="text/javascript"> <!-- google_ad_client = "pub-xxxxxxxxxxxxxxxxxxxxxx"; google_ad_width = 120; google_ad_height = 240; google_ad_format = "120x240_as"; google_ad_type = "text_image"; google_ad_channel = "xxxxxxxxxxxxxx"; google_color_border = "FFFFFF"; google_color_bg = "E6E6E6"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "008000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <blockquote>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.</blockquote> And their answer was: <blockquote>Hi Giorgos, Thanks for your message. We apologize for our delay in responding to your mail. Please note that you are free to add HTML code or javascript in front or 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 (http://groups.google.com/group/adsense-help). Sincerely, Pim The Google AdSense Team</blockquote> Comments: 0 | Statistics We have 5 registered usersThe newest registered user is JasonBreakey Our users have posted a total of 26 messages in 26 subjects Who is Online ? In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest None Most users ever online was 17 on Mon Nov 09, 2009 4:26 am |

» Looking For Web Development Service
» Widget - How do you add them?
» AVACS LIVE CHAT
» How to Remove the Blogger Top Bar Tip and Hacks
» Blogger’s Blogspot Top 10 Hacks to Make Your Blog Better
» Lists of “Top 10” Wordpress plugins around the Internet
» WP Additions - Pagination
» CSS Styling the Header and Footer