问题描述
我正在为我的 android 应用程序进行广告集成,问题是我在 android 应用商店上有 3 个应用程序.
I am working on advertisement integration for my android application, the problem is that I'm having 3 applications live on android app store.
因此,我希望我的广告 SDK 仅在这些应用程序中显示这 3 个应用程序的广告.意味着第一个应用程序将仅显示我的应用程序的 2 和 3 个广告,没有其他广告,我想使用互联网上可用的预定义 SDK(如 admob、revmob 等).
Therefore I want that my ad SDK will show ad of these 3 applications only in these application. Means 1st application will show ad of only 2 and 3 my application, no other ad, I want to use pre- defined SDK's available on internet (like admob, revmob etc).
请大家帮我解决这个问题...
Guys please help me regarding this...
推荐答案
您可以制作一个布局来充当您的横幅广告并将其包含在您的其他布局中,然后只需向横幅添加一个 onclick 功能.
You can just make a layout to act as your banner ad and include it within your other layouts and then just add an onclick function to the banner.
或者
为我的广告使用 admob.Admob 有in-house ads",您可以在其中免费在您的应用中投放广告.您可以选择让它们以独占方式显示,并使用 admob 跟踪广告被点击的统计信息以及它们的显示频率.
Use admob for my ads. Admob has "in-house ads" where you can run your ads with in your app for free. You can choose for them to display exclusively and use admob to track the statistics for which ads are being clicked and how often they are being displayed.
http://support.google.com/admob/bin/answer.py?hl=zh-CN&answer=1619751
这篇关于如何使用预定义 SDK 的广告(如 admob 等)在我自己的 android 应用程序中实现我自己的自定义广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!