Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Integration steps

fan-n-kunimoto edited this page Oct 4, 2023 · 6 revisions
⚠️ Note
Make sure you set up some required settings on the interstitial ad. For more details, please see this.

Requirement

nend ironSource Custom Adapter ironSource SDK nendSDK OS Version
8.2.0.0 7.2.0+ 8.2.0 iOS versions 11+
8.1.0.0 7.2.0+ 8.1.0 iOS versions 11+
8.0.1.0 7.2.0+ 8.0.1 iOS versions 10+
8.0.0.0 7.2.7 8.0.0 iOS versions 10+
7.4.0.2 7.2.6 7.4.0 iOS versions 10+
7.4.0.1 7.2.5.1 7.4.0 iOS versions 10+
7.4.0.0 7.2.5 7.4.0 iOS versions 10+
7.3.0.0 7.2.3.1 7.3.0 iOS versions 9+

Preparation

Register custom adapter

Follow Custom adapter setup, Please add nend custom adapter from ironSource dashboard. The key is here.

15bafb2b9

Assign nend ad space

Before integrating the custom adapter, you need to create nend ad space, and assign it in ironSource dashboard.

Register account and ad space in nend

Please register nend account and Create ad space on nend management page. You can register an account here.

Follow App level setup, Go to SDK Network Setup - App Settings (nend), and assign to spotId, apiKey. Instance Name has the following naming rules.

where instance name

Ad Unit type Instance Name
Interstitial Normal ad: NendStatic or NendStatic-{any number}
Video ad(also Interactive ad): NendVideo or NendVideo-{any number}
You can be used {any number} when assigning multiple ad space.
Note: The ad request will fail if an incorrect Instance Name is set.
Rewarded Video No Rule

Usage

Add nendSDK, CustomAdapter and ironSource SDK to the project

Please choose one of the following two patterns according to the situation of the project for the method of introducing custom adapter.

Add by CocoaPods

  1. Install CocoaPods in advance
  2. Create a Podfile
  3. Add the following description to the created Podfile
platform :ios, "11.0"
pod 'IronSourceNendCustomAdapter'
  1. Run pod install

Add manually

Add SDK to the project following the steps below.

  1. Download ironSource iOS SDK and add it to the project
  2. Add nendSDK to the project according to the procedure of nendSDK-iOS - Add Manually
  3. Download the custom event adapter from here and add it to the project
  4. Open your project in Xcode - Build Settings, Add value arm64 inside Excluded Architectures where excluded architectures

Add SKAdNetwork ID

To measure the effectiveness of advertising, Edit Info.plist and add the SKAdNetwork ID of the nendSDK.

  1. Edit Info.plist following to the ironSource documentation Adding SKAdNetwork IDs Manually
  2. Add the SKAdNetwork ID for the nendSDK to SKAdNetworkItems
<key>SKAdNetworkItems</key>
<array>

  ・・・

    <dict>
      <key>SKAdNetworkIdentifier</key>
      <string>eh6m2bh4zr.skadnetwork</string>
    </dict>
</array>