myTarget Integration Guide
This guide will instruct you step-by-step on how to set myTarget live as an ad network on Unity LevelPlay.
- The required Gradle Build Tool is 3.5.4+
- MyTarget support Xcode version 15.3
Step 1. Create a myTarget account
Create an account with myTarget, You can do so here
Step 2. Create an application in myTarget
Follow these steps to create your myTarget application:
- In your myTarget account go to Apps ➣ Create an app
- Once you set a new app, you’ll be able to retrieve your ‘Placement id’ and ‘Slot id’ – In order to set in Unity LevelPlay
Step 2.Retrieve Your myTarget Access key
- In your myTarget account go to Profile ➣ Access Token
Step 3. Activate myTarget in your mediation setup module
Inside the ironSource platform, access the SDK Networks setup to configure myTarget parameters into your ironSource account.
- Once you have all the required parameters, log in to your ironSource account and go to Monetize ➣ Setup ➣ SDK Networks
- Select myTarget from the table of Available Networks , add the parameters, and click on the Activate button. Then click Save.
- Select myTarget from the list of ad networks and click Setup.
- Enter your myTarget app’s ‘Access token’, then for each adunit the ‘Slot ID’ and ‘Placement ID’. Set the status to Active and click Save.You’ll see myTarget listed as Active for Mediation on your Setup dashboard.
Step 4. Integrate the ironSource Mediation Network Adapters
ironSource supports both Cocoapods and Manual download mechanisms. Download the myTarget Adapter with Cocoapods To integrate the myTarget SDK with Cocoapods, enter the following line in your podfile and you’re good to go! Manual Download Note: MyTarget does not support devices running iOS version smaller than 9. Make sure to define MyTarget SKAdNetworkItems to your Info.plist, by using this code:pod 'IronSourceMyTargetAdapter','4.1.25.0'
Step 5. Update SKAdNetworkItems
<key>SKAdNetworkItems</key>
<array>
<dict>
<key>SKAdNetworkIdentifier</key>
<string>n9x2a789qt.skadnetwork</string>
</dict>
</array>