The Tenjin SDK can listen to TradPlus impression level revenue data and send revenue events to Tenjin. This integration will send revenue related for each ad impression served from TradPlus. Here are the steps to integrate:
- Add the latest version of TradPlus SDK to your podfile: https://docs.tradplusad.com/en/docs/integration_ios/download
<aside> 💡
Please ensure you have the latest TradPlus iOS SDK installed.
</aside>
- Make sure to initialize Tenjin on your AppDelegate:
[TenjinSDK initialize:"<SDK_KEY>"];[TenjinSDK connect]; - Integrate TradPlus SDK in your app, using
(void)tradPlusImpressionFromJSON:(NSString *)jsonString;method.
Here is an example impression level revenue data entry from TradPlus:
| Parameter | Required? | Example |
| network_name | いいえ | Network |
| ad_unit_id | いいえ | id-69082 |
| creative_id | いいえ | id-41203 |
| 収益 | はい | 2 |
| revenue_precision | いいえ | floor |
| format | いいえ | インタースティシャル広告 |
| segment | いいえ | id-2 |
| ab_test | いいえ | id-1 |
| country | いいえ | US |