Infinite Pixel Studio Logo
Home
Corporate
News and Blog
Mobile Games Store
Contact Us
Infinite Pixel Studio Mini Logo
| Recent News | Our Projects | Game Reviews | General Dev Tips |

Get Google Adsense Inside Facebook - 10 October

Get the Good Ads you need to maximise your profits

Google Adsense do a good mixture of CPM and CPC, and being Google they have a huge database to draw from, with a lot of choice with your ads, but it's not really designed to work in side Facebook so takes a bit more work by you to do it, but it's worth it, It really is.

My eCPM with Google varies from $ 0.50 - 0.75 (eCPM). That is reliable, since it’s been like that over a 6 month period.

Yes I admit, I love using Google! haha, but for good reason.

Google does require you to have a website you own, that it will find acceptable to put Google ads on, that it is Google bots can view it, and it adheres to their policies so only having a Facebook App won't work for getting you in the door.
You need to have something more than a Facebook App like your company or personal website to point Google at registration, then you are free to use the ads anywhere you want, including your Facebook App.
If you don’t, write up some basic html/php based website with a few pages, and it should be enough to keep Google happy.

After that, It's not hard, just a bit more than your standard IFrame code, but allows for far more targeting, and has the ability to show a higher quality of ads, which if you use the right key words, can provide you with not only quality looking ads, but high paying ones.

They do both Ads in Image/video and Text Based. You can even choose to display only one or the other, it defaults to display both.

Saying that, most ads which are done which are images are done on the bigger ad sizes, so you won't get many if any if you rely on small ad boxes. So as most, will want those image based Ads, you'll want to use the bigger boxes in each of the categories, which are.

Header
728x90 and 468x60

Tower
120x600 and 160x600

Rectangle
300x250 and 336x280

Warning:
You run the risk of having the account suspended potentially, since Gooogle Adsense TOS does not permit the use of iframes to display their ads. so you take my advice at your own risk.

Don't over do it with Ads on your Canvas page, I recommend one, at most 2 per page, and the pages which you put the ads on within the frames, ensure their is alot of content, and not just keywords there.

There has been some talk of this in the Facebook Developers forums, many have been asking for a similar tag to the fb:google-analytic, so we could have fb:google-adsense which is being asked for over in the Facebook Dev forum. It wouldn't be too hard for Facebook to do, they are already premium publishers for Google, and do display ads within themselves.

*Google-code.htm* - The Actual Ads page with the key words, and targeted references, and of course the google code itself.


<body style="background: #000000;">

<div style="position: relative; top: -5px; left: -5px;">

<script type="text/javascript"><!--
google_ad_client = "pub-*****************";
/* FB-Header Ad - 728x90 */
google_ad_slot = "*************";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div>

<br />
<br />
<br />
<br />

<p>

<b>keywords</b>
<i>keywords</i>
Content - Atleast a Paragraph
<b>keywords</b>
<i>keywords</i>

</p>

<h1>keywords</h1>
<h2>keywords</h2>
<h3>keywords</h3>
<h4>keywords</h4>
<h5>keywords</h5>
<b>keywords</b>	
</body>

* google-frame.htm * - Ads Preparation page has a frame displaying the Actual Ads Page ( I put keywords here too )


<html>

<head></head>

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

<br />
<br />
<br />
<br />

<p>

<b>keywords</b>
<i>keywords</i>
Content - Atleast a Paragraph
<b>keywords</b>
<i>keywords</i>

</p>

<h1>keywords</h1>
<h2>keywords</h2>
<h3>keywords</h3>
<h4>keywords</h4>
<h5>keywords</h5>
<b>keywords</b>	
	
</html>

*Facebook App Canvas Page - Include php file or similar* - Putting FB:Iframe code on the page(s) in question, to the ads Preparation page.


<fb:iframe src=*server address* /includes/google-frame.htm 
id="games-header" name="games-header" 
marginwidth="10" marginheight="10" scrolling="no" frameborder="0" 
height="105" width="740" />

Explained...

The Code Colored in Red needs to be changed to something specific to yourself, the ones done in yellow are default settings, but I advise you tweak them alittle to your liking. I hope my code is self-explainary enough, if not feel free to contact me.
If you liked this Tip, feel free to post the link below on your own Blog/Site.



Infinite Pixel StudiosDeveloper Tips - Get Google Ads inside Facebook

Real Examples

Google code - Example shown above is used in my App (1st one)
Google frame - Example shown above is used in my App (2nd one)
Battlelords FB App - Example is in the header





We started in Mobile Games Industry, Stepped up by adding Facebook (Web Apps) to the Profile, and now are doing PC games (Latest in house Game engines). From Code suggestions from our varied work, To general news in and around the games industry.
Get Games Downloaded Directly to your phone, just visit our Games store, and view them there, browse for any you like. Game Backgrounds, Wallpapers and Applications are also available, they go straight to your phone Bill, and work on nearly any phone.

Copyright © 2007 - 2008 Infinite Pixel Studios Ltd. All Rights Reserved.

Infinite Pixel Studio Monster Logo

| Home | Corporate | News / Blog | Games Store | Contact Us | Site Map | Privacy Policy |

Valid XHTML 1.0 Transitional Valid CSS!