Click to See Complete Forum and Search --> : Google Adsense in application?
Mindstorms
Jul 23rd, 2009, 10:27 AM
Hello,
I have created a VB.NET application that downloads data from my site every 30 seconds. Because it is quite a popular program, the traffic is getting more and more by the day. Over 17 GB and a million refreshes last month.
I was thinking, could I place just a very small advertisement (Something like this (https://www.google.com/adsense/static/nl/images/728x15.gif)) on the bottom of my program to reduce costs, and reload it every time the program updates.
My question is, how should I do this, and, may I even do this? The Google website tells me that it "is not supported", but that doesn't mean it is forbidden, right?
Thomas
techgnome
Jul 23rd, 2009, 11:11 AM
Usually when the question of "Can I do this?" and the reply is "It is unsupported"... it usually means "Sigh. We rather you didn't, but we're not going to say no. If you run into a problem though, don't come to us." ... I think it would be interesting to see if it would even work. It's my understanding that ad sense worked based on the content of the page it's being displayed on (how I've never quite understood). So to have it display by itself, with out context, not sure how it would react (which might be why they don't support it).
-tg
Mindstorms
Jul 31st, 2009, 05:12 AM
I did some research, I found a program somewhat similar to mine. Its website has a google ad at the top, and the program has a Webbrowsercontrol with the same height as the ad, which loads the website.
Quite nice idea I think, but the Webbrowsercontrol is quite heavy. Should there be an alternative?
Nightwalker83
Jul 31st, 2009, 05:38 AM
You could possible have picture box without borders displaying the image and then when the image is click have a command open a browser to the website.
Mindstorms
Jul 31st, 2009, 06:07 AM
Hm, very nice idea. But how do you extract a link and an image from the typical AdSense code?
<script type="text/javascript"><!--
google_ad_client = "pub-6066847002947282";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
google_color_link = "ee3300";
google_color_border = "FFFFFF";
google_color_url = "000000";
google_color_bg = "ffffff";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
I checked it, but the url is different every time...
mendhak
Aug 1st, 2009, 04:35 PM
It's javascript and the javascript attempts to write HTML to the page it's on - you can't translate an operation like this into a 'control' because there are, literally, an infinite number of possibilities in such a scenario. The only way you can get adsense in your desktop app is to place a tiny webbrowser control there and have it call a page on some server that you have control over.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.