This is a short post, basically a little experiment I carried out today.  Idea came when I read Googles statement on their Ad Behavior policy regarding iFrames, their statement read:

Improperly iframed ads are a disservice to our advertisers since the ad itself can be obscured. Not only are they not viewable, these implementations can lead to accidental clicks if these hidden ads are placed in a location that users frequently click.”

“AdSense code may not be altered, nor may the standard behavior, targeting or delivery of ads be manipulated in any way that is not explicitly permitted by Google. This includes but is not limited to the following: clicking Google ads may not result in a new browser window being launched, nor may Google ads be placed in an IFRAME.”

“We’re aware of certain ad implementations that require the valid use of iframes. As per our program policies, exceptions to our policies are permitted only with authorization from Google.”

Adsense on Facebook

So here is the idea. Can you include Adsense in your Facebook business page or other Facebook Apps? 

I included the following AdSense code in a Facebook page

?<script type=”text/javascript”><!–
google_ad_client = “ca-pub-1234567890123456”;
/* Test Square */
google_ad_slot = “1234567890”;
google_ad_width = 200;
google_ad_height = 200;
<script type=”text/javascript”


The JavaScript code parses but Facebook cleverly changes the 200×200 ad hides the ad but if you highlight the relevant div you can see it is there, see screenshot below.

TradeDoubler on Facebook

Next stop was TradeDoubler. I signed up just to get an embed code, surprisingly the ad showed on the experimental Facebook page. I tried both the iframe and <script> inclusion methods, here is a preview…

I haven’t tried any other ad networks but this experiment proves that you could run affiliate ads in your Facebook pages/apps. Please note, I have not read Facebook’s TOS on this, most probably it is against thier terms of service.