TikTok introduction

Describe the TikTok implementation procedure for mediation setting of video reward advertisement. For implementation of the startup guide and video reward advertisement, refer to the following implementation procedure.

Startup
Implementation of video reward advertisement

Cocoapods integration(Recommend)

  • Currently Geniee Mediation SDK is working well with TikTok SDK version 2.4.6.7

Add the following line to Podfile

pod 'Bytedance-UnionAD', '~> 2.4.6.7'

Manual integration

If you install with Cocoapods, introduction by this procedure is unnecessary.

Click here to see manual integration
  • Drag and drop the BUAdSDK.bundle and BUAdSDK.framework framework to the project and add it.
  • Please make sure Drag Copy Bundle Resource contains BUAdSDK.bundle, or icon picture may not load.

Add the following necessary frameworks to Build Phases > Link Binary With Libraries.

StoreKit.framework
MobileCoreServices.framework
WebKit.framework
MediaPlayer.framework
CoreMedia.framework
AVFoundation.framework
CoreLocation.framework
CoreTelephony.framework
SystemConfiguration.framework
Photos.framework
AdSupport.framework
CoreMotion.framework
libresolv.9.tbd
libc++.tbd
libz.tbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#Note the system library to be added. To set project list file, click on the "+" sign to the right of information Property List to expand.

To add App Transport Security Settings, click the arrow on the left to expand, and then click the plus sign on the right to Allow Arbitrary Loads option to be automatically added, the changed value is YES. SDK API fully supports HTTPS, but there are cases that advertisement creatives are non-HTTPS.

<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
1
2
3
4
5

TikTok Adapter

  • Drag and drop the Tapjoy SDK Adapter to the project and add it.
rewardMediation/TikTok/GNSAdapterTikTokRewardVideoAd.h
rewardMediation/TikTok/GNSAdapterTikTokRewardVideoAd.m
1
2
Last Updated: 6/17/2019, 3:19:23 PM