Integrating nend with Mediation

This guide is for publishers who want to use the Google Mobile Ads SDK to load and display ads from nend via mediation. It explains how to add nend to an ad unit's mediation configuration, how to set up ad network optimization, and how to integrate the nend SDK and adapter into an iOS app.

The dashboard interface for nend uses Japanese text for its labels, buttons, and descriptions, and the screenshots displayed below have not been translated. In this guide, labels and buttons are referred to by their English equivalents. "URL スキーム," for example, is "URL Scheme," and so on.

Supported formats and features

The AdMob mediation adapter for nend has the following capabilities:

Rewarded Video
Native Advanced
Smart Banners
Ad Network Optimization (ANO)


  • Xcode 7.0 or higher
  • iOS Deployment target of 7.0 or higher
  • Minimum required Google Mobile Ads SDK 7.14.0

Step 1: Set up nend

Sign up or sign in to your nend account.

To add your application to the nend dashboard, first click on the Placement Management tab, and then select Site/App. Click the Add an app button to add your app to nend.

Create an application

Enter the name of your app and choose iOS application as the application type. Enter the URL and check if your app is in the Play store (see nend's unreleased apps FAQ if your app has not yet been released). Select a category for your app and click Create when done.

Your application will be shown on the dashboard once it is created.

Create a placement

Once the app is registered, you can move on to creating a placement. To create a placement for banner ads, go to the Placement Management tab and click on Placement. Then click the Create a new placement button.

Select the tab below corresponding to your preferred ad format.


First, select your app in the drop-down menu. Next, choose still image for the Ad type, and banner for the Inventory type. Once that's done, enter a Placement name, choose a format, and finally choose your desired banner size. When finished, click the Create button to create your placement.


Create Inventory for your interstitial placement by first selecting your app name in the drop-down menu. Next, for the Ad type select Still image, and for the Placement type select Interstitial. Once that's done, enter a Placement name and select an Advertisement display frequency from the drop-down list. Finally, click the Create button to create your placement.

For interstitial video ads, select Video for the Ad type, then select Interstitial as the Inventory type. Once that's done, enter a Placement name and select a Category from the drop-down list. Finally, click the Create button to create your placement.

Rewarded video

Create Inventory for your rewarded placement by first selecting your app in the drop-down menu. Next, set the Ad type to Video and Inventory type to Rewards. When that's done, enter a Placement name and Description, then choose an appropriate Category in the drop-down list.

Select Rewarded for the Content type using the drop-down list, enter your preferred Virtual currency name, and then click the Create button to create your placement.

To set up your AdMob ad unit in the next section, you'll need the apiKey and spotID for each placement. To locate them, head to the Placement Management tab and select the SDK button under the name of your app.

Take note of the apiKey and spotID.

You'll also need your API Key for nend's reporting API, which they call the API Key for Scraping. You can find it in the Tools tab.

Step 2: Configure mediation settings for your AdMob ad unit

Next, you need to add nend to the mediation configuration for your ad unit. First, sign in to your AdMob account. Then, follow the instructions below for either AdMob or AdMob Beta, depending on which version of the AdMob UI you're using.


Navigate to the Monetize tab and select your application from the list of all your applications on the left-hand side. Click the link in the mediation column for the ad unit to which you want to add nend.

Click NEW AD NETWORK. A list of supported ad networks will be displayed.

Select nend from the list of networks provided and enter your API Key and Spot ID. Then enter your API Key for Scraping obtained from nend earlier as the Reporting API Key. Finally, click Continue at the bottom of the page to complete the addition of the network.

AdMob Beta

Navigate to the Mediation tab. If you have an existing mediation group you'd like to modify, click the name of that mediation group to edit it, and skip ahead to Add nend as an ad source.

To create a new mediation group, select Create Mediation Group.

Enter your ad format and platform, then click Continue.

Give your mediation group a name, and select locations to target. Next, set the mediation group status to Enabled. Then click Add Ad Units.

Associate this mediation group with one or more of your existing AdMob ad units. Then click Done.

You should now see the ad units card populated with the ad units you selected, as shown below:

Add nend as an ad source

In the Ad Sources card, select Add Ad Network.

Select nend and enable the Optimize switch. Enter your API Key for Scraping obtained from nend earlier as the Reporting API Key to set up ANO for nend. Then enter an eCPM value for nend and click Continue.

Enter the Spot ID and the API Key obtained in the previous section and click Done.

Using rewarded video ads

In the settings for your rewarded video ad unit, check the Override reward settings from third-party ad networks when using AdMob mediation so that you provide the same reward to the user no matter which ad network is serving the ad.

If you don't override the reward, the nend adapter passes back the reward specified in the nend dashboard when creating the placement.

For more information on setting reward values for AdMob ad units, see Create an ad unit.

Step 3: Import the nend SDK and adapter

Add the following line to your project's Podfile:

pod 'GoogleMobileAdsMediationNend'

From the command line run:

pod install --repo-update

Manual integration

Download the latest version of the nend iOS SDK, and link nendSDK.framework in your project. Download NendAdapter and link NendAdapter.framework in your project.

Add the following frameworks to your project:

  • AdSupport.framework
  • Security.framework
  • ImageIO.framework
  • AVFoundation.framework
  • CoreMedia.framework
  • SystemConfiguration.framework
  • WebKit.framework

In addition, by adding the following frameworks, it becomes possible to use detailed information by ad delivery.

  • CoreLocation.framework
  • CoreMotion.framework
  • CoreTelephony.framework

Step 4: Additional code required

No additional code is required for nend integration.

Project settings

Add the -ObjC flag to the Other Linker Flags under Application Target > Build Settings.

Step 5: Test your implementation

To get test ads for banners, interstitials, and rewarded, nend recommends using the API keys and Spot IDs provided in the Nend Test ad units page. These can be entered as the API Keys and Spot IDs for your AdMob ad units while testing, and then replaced with an actual API Key and Spot ID when your app is ready for production.

Optional steps

Network-specific parameters

The nend adapter supports additional request parameters, which can be passed to the adapter using the GADMAdapterNendExtras class.

  • userId -Sets the UserID of specific nend interstitial ad.
  • interstitialType- The interstitial type can be one of the following values:
    • GADMNendInterstitialTypeNormal
    • GADMNendInterstitialTypeVideo

Here are examples of how to set these ad request parameters:


let request = GADRequest()
let extras = GADMAdapterNendExtras()
extras.interstitialType = GADMNendInterstitialTypeNormal
extras.interstitialType = GADMNendInterstitialTypeVideo
extras.userId = "12345"


GADRequest *request = [GADRequest request];
GADMAdapterNendExtras *extras = [[GADMAdapterNendExtras alloc] init];
extras.interstitialType = GADMNendInterstitialTypeNormal;
extras.interstitialType = GADMNendInterstitialTypeVideo;
extras.userId = @"12345";
[request registerAdNetworkExtras:extras];


AdMob for iOS
AdMob for iOS