Home - uc-union/union-ads-sdk-demo GitHub Wiki
Welcome to Union-ads-sdk wiki
中文说明在此
SDK Overview
Terms & Definitions
Term | Definition |
---|---|
pub | Identifier for an ad placements AKA placement id |
testDeviceId | A testing hash id for a device fetching test ad when using facebook or admob sdk |
SDK Introduction
Union Ad SDK aims at helping developers with simple and fast ad integration. With Ad SDK, developers only need to take a few simple steps to complete integration of various types of ads.
Currently, SDK supports:
-
Banner
Banner ad is provided to dvelopers in the form of Android View. Developers can set its placement and size with great flexibility.
-
Interstitial
Interstitial ad is displayed in the form of an inserted UI (half screen dialog box or full-screen UI). Users need to interact with the UI before they go back to the app interface.
-
Native Ads
Native ad is a type of ads customized by developers with ad materials (text, images) are provided.
SDK Variant Introduction
Ad SDK provides various of adapted variant to satisfy different demand on Android developing, such as:
-
General version
For generic Android apps embedding.
-
Unity3D verion
For Android games which based on Unity3D, more detials for union-ads-sdk-unity-demo
-
Cocos2D verion
For Android games which based on Cocos2D, more detials for union-ads-sdk-cocos-demo
Tutorials
- History Version&Upgrade Guide
- Getting Started
- Mediation Guide
- Initialize SDK
- Banners
- Interstitial
- Native Ads
- FAQ
- API Reference
SDK概述
术语与定义
术语 | 含义 |
---|---|
pub | 对应不同广告位的标识, 通常称为 placement id |
testDeviceId | 由facebook或admob的sdk生成的, 用以获取测试广告的哈希ID |
SDK简介
广告SDK旨在帮助应用开发者简单,快捷的接入广告功能,应用开发者只需简单几步操作即可完成不同类型的广告接入。
目前SDK支持:
-
横幅广告
条幅广告是以Android View的形式提供给应用开发者,开发者可以自定义其位置,大小。
-
插屏广告
插屏广告是以插入型UI(半屏对话框或者全屏UI)的形式展现,用户需要完成该UI的交互之后才能回到应用界面。
-
原生广告
原生广告则是将广告素材(文字,图片等)提供给应用开发者,由开发者自定义其展现形式的广告。
SDK适配版本介绍
广告SDK提供多种适配版本以应对Android开发上的不同需求,分别提供:
-
通用版本
为一般Android程序设计植入使用。
-
Unity3D适配版本
为基于Unity3D开发的Android游戏程序设计植入使用,详情请见 union-ads-sdk-unity-demo
-
Cocos2D适配版本
为基于Cocos2D开发的Android游戏程序设计植入使用,详情请见 union-ads-sdk-cocos-demo