问题
I am working on advertisement integration for my android application, the problem is that I'm having 3 applications live on android app store.
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...
回答1:
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.
Or
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=en&answer=1619751
回答2:
You can do it directly using Admob SDK with something that they call House Ads.
回答3:
If somebody stumbles up here, I've made up a library for this purpose...
Currently quite in an early stage but can be used in production.
Supports AdDialog, Interstitial & NativeAd format! :)
https://github.com/ItzNotABug/HouseAds
来源:https://stackoverflow.com/questions/26184079/how-to-implement-my-own-custom-advertisement-in-my-own-android-application-using