Skip to main content

Google adsense on Facebook application



Google has recently loosened its AdSense Terms of Service so publishers can run other contextual targeted ads along with Google AdSense, but the change may be because Google wants to run their ads in publishing vehicles alongside other advertisements (like the ads running within Facebook).

Steve Rubel thinks that Google AdSense ads will soon be coming to the Facebook applications Google has been slowly rolling out, especially after the quote from Eric Schmidt in AdAge :

“How will those developers get paid for those services? We would like to have our ads in those applications.”

Would you like to see Google AdSense in Facebook Apps with the current FB applications publishing?

First you should have a face book application with hosting service.

Second you should have a google adsense account if you don't have one go to google and create one.

Create adsense ads that you want to embed in your FB application(s).

Put your adsense code in empty html page and add some keywords inside this page, this page will include your adsense script and some keywords to direct traffic.


embed the previous page in another page that includes the below frameset to disable scroll bar:

<frameset border="0" frameborder="0" framespacing="0" rows="100%,*">
<frame src="Google-code.htm" noresize scrolling="no">
</frameset>

embed this page in facebook using iframe.

< fb:iframe src=http://www.yourwebsite.info/fbads/google-frame.html id="fbad-header" name="fbads-header" marginwidth="10" marginheight="10" scrolling="no" frameborder="0" height="105" width="740" />

Your Done.


For video tutorial press here

Comments

Popular posts from this blog

Error: Write to Disk Access Denied - Troubleshooting - BitTorrent

I have downloaded Bit Torrent software and when trying to download I got an error after few seconds saying:

Error: Write to Disk Access Denied
Solving this problem is so simple:
Shut down BitTorrent program.
Go to Start and in the small search box on top of windows start button start typing Bittorrent and the program will show, right click with the mouse on the icon and Run as Administrator.
All ur problems are sorted out now and you can enjoy downloading...
Good Luck.

Importing SSL certs to Coldfusion Railo OR Lucee keystore

If you are having the below error:
Railo 3.3.4.003 Error (javax.net.ssl.SSLHandshakeException)Messagesun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetCausejavax.net.ssl.SSLHandshakeException

This means you are trying to invoke an https webservice. to invoke an SSL webserver you need to import the certificate into Railo by using keytool command. Below are the steps on how to do this:

1- use fire fox to open the webservice and click on the padlock as shown on the below image:

2-Click on more information as below:
 3- Click on View Certificate as below:
4-Click on details as below:
 5- Now export the certificate and save it to your computer with .cer extension.

6- Search in railo folder for the keytool command location, in my case it was under railo\jdk\bin

7-  Search in railo folder for the cacerts location, in my case it was under railo\lib\railo-s…

Publish to Wordpress using JSON API plugin and Coldfusion

I was using Postie to automatically publish to wordpress blog. I was searching a better method of publishing using soap api or json api. I found an excellent json plugin that can be used to publish posts and comments to wordpress.
Please follow the below step by step, this code will let you publish automatically for froma different interface to wordpress rather than using postie or email.

Step one: Install json plugin, enable the plugin and then go to settings > JSON API and  activate post

Step two: you have to modify the file: yourwordpressdirectory/wp-content/plugins/json-api/controllers/post.php

Please replace the file content with the below or add the missing Authenticate method. This method is necessary to authenticate a user to wordpress to be able to post content without a valid session.


<?php /* Controller name: Posts Controller description: Data manipulation methods for posts */ classJSON_API_Posts_Controller{ publicfunctioncreate_post(){ global$json_api; $this->authenticate()…