Tencent Integration Guide

This guide will instruct you step-by-step on how to set Tencent Network live as an ad network on the ironSource Mediation platform.

Before you start Make sure you have correctly integrated ironSource’s rewarded video, interstitial or banner into your application.

Tencent supports iOS and CN traffic only. Min iOS version required is 10.0.  

Step 1. Create a Tencent Network account

  1. To access Tencent’s ad inventory through ironSource‘s mediation platform, you must create an account with Tencent. You can do so here.

Step 2. Create an application in Tencent Network

  1. In order to create an application and placements in your Tencent account – use the Tencent help center

Step 3. Activate Tencent Network

Inside the ironSource platform, access the SDK Networks setup to configure Tencent’s parameters into your ironSource account.

  1. Once you have the App ID and Slot ID, log in to your ironSource account and go to Monetize ➣ Setup SDK Networks
  2. Select Tencent from the table of Available Networks and click on the Activate button. Then click Save.
  3. Select Tencent from the list of ad networks and click Setup.
  4. Enter your  Tencent App ID and placement ID’s. Set the status to Active and click Save.

    You’ll see Tencent listed as Active for Mediation on your Setup dashboard.

Step 4. Add the Tencent adapter to your build

ironSource supports both Cocoapods and Manual download mechanisms.

Cocoapods

To integrate the Tencent SDK with Cocoapods, enter the following line in your podfile and you’re good to go!

pod 'IronSourceTencentAdapter','4.3.5.8'

Manual Download

  1. Download the Tencent Adapter and SDK
    Add the Tencent Adapter and SDK to your build. You can find the latest Tencent Files here.
    Important! The Tencent Adapter does not contains the Tencent SDK. You need to add the Tencent SDK as well.
  2. Add the Tencent files to your Project
    After you download and unzip the Adapter and SDK, drop the .lib and .h files files into your Xcode Project.
  3. Open Target  Build Settings  Architectures and confirm that your Xcode Project uses Base SDK version 6.0 or greater and that it does not use armv6 architecture.
  4. Linker Flags:
    Add two separate linker flags to Target  Build Settings  Linking  Other Linker Flags:
    ObjC

Verify Your Ad Network Integration

The ironSource SDK provides an easy way to verify that your mediation integration was completed successfully. To verify your ironSource and additional ad networks’ integration, follow this document.

Done!
You are now all set to deliver Tencent within your application!