TogetherAd 是由 Kotlin 编写的 Android 广告聚合开源项目。
能够帮助 Android 开发者快速
、便捷
、灵活
的 接入并使用
国内多家主流广告 SDK。
微信扫描底部二维码,回复 apk
可下载 Demo Apk 尝鲜
项目根目录下的 build.gradle 文件中添加 jcenter
仓库
allprojects {
repositories {
jcenter()
}
}
根据自身需求任选
以下 1 至 3 个依赖,随意组合搭配
dependencies {
//穿山甲( 头条 )
implementation 'com.matthewchen.togetherad:csj:4.1.9-3.5.5.0'
//优量汇( 腾讯广点通 )
implementation 'com.matthewchen.togetherad:gdt:4.1.9-4.333.1203'
//百青藤 ( 百度 Mob )
implementation 'com.matthewchen.togetherad:baidu:4.1.9-5.91'
}
版本号的规则:TogetherAd版本-对应广告商的SDK版本号
资源库中已自带混淆规则,通常情况下无需手动配置。
当然你也可以点击这里查看每个资源库的混淆规则: core、gdt、csj、baidu
微信扫描下面二维码, 关注后点击联系我 可邀请进微信交流群,更多大佬为你答疑。
MIT License
Copyright (c) 2021 陈铭卓
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.