如何在iPhone应用程序中实现广告?
我们正在开发一款 iPhone 应用程序,需要在屏幕上显示广告。我们对这个概念完全陌生。任何人都可以帮助我们解决这个问题吗?任何样品将不胜感激。
提前致谢。
扎克.
We are developing an application for iphone that requires advertisement to be shown up on the screen. We are totally new to this concept. Could anyone assist us with this. Any sample will be greatly appreciated.
Thanks in advance.
Zach.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一般来说,您在一家为您提供两件事的公司创建一个帐户:
您下载 SDK 并将所需的文件(标头、库)添加到您的 iPhone 项目中。要集成广告 SDK,您可以通过几个简单的调用设置 API 密钥,并注册一个委托,让您知道何时发生有趣的事情(例如“下载了新广告”)。 SDK 通常允许指定广告视图的位置或允许开发人员提供要使用的视图。
我已经使用 AdWhirl 大约 6 个月了。 AdWhirl 是一个绝妙的主意,因为它们会根据可用性(并非所有公司都有无限的广告提供给您)甚至根据来源的表现(您赚了多少钱)从多个来源获取广告。
AdWhirl 还允许您投放自定义广告。想要经常为您的其他应用程序做广告吗?
据我所知,AdWhirl 最近被 AdMob 收购。
In general, you create an account with a company that provides you with 2 things:
You download the SDK and add the required files (header, libraries) to your iPhone project. To integrate the ad SDK, you set your API key in a few simple calls, and register a delegate that lets you know when interesting things happen (e.g. "a new ad was downloaded"). The SDK generally lets one specify the location of the ad-view or allows the developer to provide a view to use.
I have used AdWhirl for about 6 months. AdWhirl is a neat idea in that they will fetch ads from multiple sources based on availability (not all companies have infinite ads to give you) and even by how well the source is performing (how much $$$ you are making).
AdWhirl lets you run custom ads as well. Want to advertise your other apps every so often?
AdWhirl was acquired by AdMob recently AFAIK.
去看看 Admob。它们是最常用的广告网络并且易于设置。它们提供了关于如何设置的清晰、简洁的说明,您应该会在 10 分钟内看到广告。
Go Check out Admob. They are the most used ad network and are easy to setup. They provide clear, concise instructions on how to set it up and you should see ads in less than 10 minutes.