如何在.net和Java桌面应用程序中添加广告(如google adsense)?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.