1

How to add ads (like google adsense) in my .net and Java desktop application ?

Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
M Hassen
  • 363
  • 1
  • 7
  • 17

1 Answers1

6

According to this StackOverflow question and this AdSense help article, the Terms of Service for AdSense do not permit placement in desktop applications. Only web-based applications can be used with AdSense's license.

If you're working with a different ad provider that does allow ads in desktop applications, you can probably go so far as to download each ad's HTML from the provider and stick it in a JLabel.

Community
  • 1
  • 1
spork
  • 1,185
  • 1
  • 11
  • 17
  • is that legal? Doesnt that break any rules? – Tomas Bisciak Feb 18 '16 at 18:57
  • @TomasBisciak If the ad provider allows ads in desktop applications, I don't see why you couldn't display the HTML in a JLabel. You'd want to check the Terms of Service for your specific ad provider though. – spork Feb 20 '16 at 03:48