-
Notifications
You must be signed in to change notification settings - Fork 15
sdk install tracking
/*
Title: SDK Install Tracking
Sort: 20
*/
To run a cost-per-install (CPI) campaign using the Unity Ads for iOS network, you need to implement an install tracking mechanism to register installs to your application with Unity Ads.
Unity Ads provides ready-made solutions for both client- and server-side install tracking and you should choose the one that suits you best. The recommended method is to use server-side install tracking, as it does not require an app update to be sent to the AppStore.
Currently the only user identifier supported by iOS is iOS IDFA - Identifier for Advertising. This is supported only on iOS 6.0.1 onwards. Install tracking is not supported for devices having iOS5 or earlier.
If you do not collect any tracking information server-side about your users, you can integrate the install tracking directly to your game. Before you can accomplish this, you need a game ID for your game that you can get from the Unity Ads Admin Panel. The game ID’s are available in the “Advertisers” > “Campaigns” view.
To integrate the install tracking, download the Unity Ads iOS SDK by clicking here.
After you have downloaded the SDK, just drag and drop the UnityAds.framework
and UnityAds.bundle
into your Xcode project.
Note: You also need to include
StoreKit.framework
to your project to compile the project. If you are targeting iOS 6, you also need to drag and drop theAdSupport.framework
to your project as well.
The next step is to add the UnityAds class
to your app delegate. Firstly, you need to include the necessary headers:
#import <UnityAds/UnityAds.h>
Then, to your -application:didFinishLaunchingWithOptions: -method
, add the initialization code for Unity Ads by passing your Unity Ads gameId, and your root view controller:
[[UnityAds sharedInstance] startWithGameId:YOUR_GAME_ID_HERE andViewController:myViewController];
Note: Replace the YOUR_GAME_ID_HERE section above with your Unity Ads game ID. You can find this in the Unity Ads Admin Panel under the section “Advertisers > Campaigns”.
That’s it, Unity Ads install tracking is now integrated to your game!
Unity Ads provides server-side install tracking as well. This is described in this document.
If you use a third-party install attribution service (such as HasOffers), please get in touch with us to see if it is supported, by emailing support@applifier.zendesk.com.
- Unity Ads与GDPR
- 流量变现常见问题(中文FAQ)
- 《基本操作与集成手册》
- 《Unity Ads开发者后台操作手册》
- 聚合接入指南
- 关于中国大陆地区Android商店的声明
- COPPA设置及其影响
- DeltaDNA案例分析
- 2020手游变现分析报告要点分享(英文)
- Unity2020广告效果基准报告(英文)
- 使用Unity Ads的十个常见问题
- 视频广告设计指南
- 广告位(Placement)的介绍
- 统计API
- 开发者后台操作指南
- 广告位与广告过滤
- 变现数据分析
- 变现盈利与支付流程
- 2020手游变现分析报告要点分享(英文)
- Unity中app-ads.txt设置指南
- DeltaDNA案例分析
- Unity Developer Network 账号转移
- 《基本操作与集成手册》
- 《Unity Ads开发者后台操作手册》
- COPPA设置及其影响
- 黑名单文件模版
- 设置底价文件模版
- 应用被Google Play下架处理办法