Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Latest topics
» NEED TIPS FOR PROGRAMMING AND REDESIGNING WEBSITE
Fri Mar 05, 2010 4:12 pm by JasonBreakey

» Looking For Web Development Service
Wed Dec 30, 2009 5:35 am by Jennifer Clark

» Widget - How do you add them?
Thu Dec 10, 2009 10:00 am by DanaJane

» AVACS LIVE CHAT
Tue Dec 01, 2009 8:01 am by R0mie

» How to Remove the Blogger Top Bar Tip and Hacks
Sat Nov 21, 2009 4:14 pm by cooldude

» Blogger’s Blogspot Top 10 Hacks to Make Your Blog Better
Sat Nov 21, 2009 4:08 pm by cooldude

» Lists of “Top 10” Wordpress plugins around the Internet
Sat Nov 21, 2009 6:06 am by cooldude

» WP Additions - Pagination
Mon Nov 09, 2009 3:42 am by cooldude

» CSS Styling the Header and Footer
Mon Nov 09, 2009 3:40 am by cooldude


Adsense in Iframe

View previous topic View next topic Go down

20091030

Post 

Adsense in Iframe




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>

cooldude
Admin

Posts: 23
Points: 69
Join date: 2009-10-24

View user profile http://sitecrunch.go-board.com

Back to top Go down

Share this post on: Excite BookmarksDiggRedditDel.icio.usGoogleLiveSlashdotNetscapeTechnoratiStumbleUponNewsvineFurlYahooSmarking

Permissions of this forum:
You cannot reply to topics in this forum