Results 1 to 6 of 6

Thread: Google Adsense in application?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    178

    Question Google Adsense in application?

    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) 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

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Google Adsense in application?

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    178

    Re: Google Adsense in application?

    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?

  4. #4
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Google Adsense in application?

    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.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    178

    Re: Google Adsense in application?

    Hm, very nice idea. But how do you extract a link and an image from the typical AdSense code?
    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...

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Google Adsense in application?

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width