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…

Datatables Server Side Processing using Coldfusion

Datatables Server Side Processing using Coldfusion

Code: Coldfusion Server Side For Datatables

Environment: Datatables 1.10.16, Lucee 5.x, Postgres 9.6

Issue Date: 04/10/2017

Notes:
There is no warranty that the code will work on a different environment or different version.
You may create the DB table using the postgres.sql script included.
This project was tested and fully functioning.

Features:
Datatables query paging
Case Insensitive search filter to all query results.
Sort by all fields including date.
This repository does not include all Datatables features. In the code I'm only using datatables.js, but you may extend the features.

 Repository is available on github.