I rotate the daily image on my index page here: http://www.danscartoons.com and that image is controlled by a PHP script which resides on my web host's server. That image is "syndicated" on many other sites and links page, for instance, click here: http://www.badcomputerservice.us/FunStuff/Cartoon/panels1.html , and click my image . . . it takes you back you my index page. I want to ad an AdSense LINK UNIT ABOVE my daily image to allow for more potential page imapressions & CTR via the image appearing on those sites it is "syndicated" to. Can I insert AdSense code within my PHP script on my host's server? It won't violate the rules I wouldn't think as it is pasted into an existing page to begin with -
I'm not sure that the syndicating sites would appreciate that, but it is possible if you're publishing the html to see the image, and not just the image URL itself
....here: http://www.badcomputerservice.us/FunStuff/Cartoon/panels1.html where he has a small banner ad. I think if I can insert AdSense link unit code ATOP my daily image, it won't offend any of my other sites who run my daily image. Adding maybe: <script type="text/javascript"><!-- google_ad_client + "pub-8420064843889681"; google_ad_width468; google_ad_height = 15; google_ad_format = "428x15-Oads-al_s"; google_ad_channel = "5252545121"; google_color_border = "FFFF99"; google_color_bg = "FFFF99"; google_color_link = "009933"; google_color_url = "008000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js> </script> But it needs to be configured into the script which resides directly on my server if I am not correct. . . .right? Because here is image source code for my daily image: http://danscartoons.com/cotd/dailycartoon.php
You would have to be careful when doing this because a) you lose control over which websites show your ads - if they have yahoo ads you will be in breach of Adsense TOS and could get banned - Those websites may be engaged in click fraud themselves and users may hammer those ads and again cause a TOS breach/ban. b) Those website owners would most likely stop linking to you. You are actually probably gettign more visitors now through the click through than you would showing in on a reduced no of syndicated pages.
a). I could still control which websites see my ads simply because it is up to my discretion whether to allow or not to allow a specific website to run my daily cartoon. I.e., I need to supply them with a specific "source code" when they request it. If I peruse a site, prior to allowing the linking of my daily image and see the ad content would violate the AdSense TOS, I simply would not give them my code. Currently, here is the code I hand out upon request: http://danscartoons.com/cotd/dailycartoon.php b). Specific website owners wouldn't stop linking if I initially used the discretion mentioned above.