i-mobile को मीडिएशन के साथ इंटिग्रेट करें

This guide shows you how to use the Google Mobile Ads SDK to load and display ads from i-mobile using mediation, covering waterfall integrations. It covers how to add i-mobile to an ad unit's mediation configuration, and how to integrate the i-mobile SDK and adapter into a Unity app.

The dashboard interface for i-mobile uses Japanese text for its labels, buttons, and descriptions. The screenshots in this guide have not been translated. In this guide's descriptions and instructions however, labels and buttons are translated with their English language equivalents in parentheses.

Supported integrations and ad formats

The AdMob mediation adapter for i-mobile has the following capabilities:

Integration
Bidding
Waterfall
Formats
Banner
Interstitial
Rewarded

Requirements

  • Unity 5.6 or higher
  • Latest Google Mobile Ads SDK
  • To deploy on Android
    • Android API level 21 or higher
  • To deploy on iOS
    • iOS deployment target of 12.0 or higher
  • A working Unity project configured with Google Mobile Ads SDK. See Get Started for details.
  • Complete the mediation Get started guide

Step 1: Set up configurations in i-mobile UI

अपने i-mobile खाते में साइन अप करें या लॉग इन करें.

サイシ/アプリ管理 (साइट/ऐप्लिकेशन मैनेजमेंट) टैब और ऐप्लिकेशन के प्लैटफ़ॉर्म के बटन पर क्लिक करके, i-मोबाइल के डैशबोर्ड में ऐप्लिकेशन जोड़ें.

Android

iOS

फ़ॉर्म भरें और 規登録 (साइन अप) बटन पर क्लिक करें.

Android

iOS

नया Advertising Spot बनाने के लिए, サイシ/アプリ管理 (साइट/ऐप्लिकेशन मैनेजमेंट) टैब में जाकर अपना ऐप्लिकेशन चुनें.

Android

iOS

広告スポッイ管理 (Ad Spot मैनेजमेंट) टैब पर जाएं और 規広告スポッ Te (New Ad Spot) बटन पर क्लिक करें.

create_ad_spot

इसके बाद, 広告スポッनया (विज्ञापन के ग्राहक का नाम), 広告スポッ。サイズ (विज्ञापन के स्पॉट का साइज़), और अन्य जानकारी देकर फ़ॉर्म भरें. इसके बाद, 規登録 (साइन अप) बटन पर क्लिक करें.

new_ad_spot_form

आपका नया विज्ञापन स्पॉट तैयार है. इसके इंटिग्रेशन की जानकारी देखने के लिए, アプリ定取得 (ऐप्लिकेशन की सेटिंग पाएं) बटन पर क्लिक करें.

ad_spot_list

パブリッシャーID (पब्लिशर आईडी), メディアID (मीडिया आईडी), और スポッシID (Spot ID) को ध्यान में रखें. आपको बाद में AdMob यूज़र इंटरफ़ेस (यूआई) में मीडिएशन के लिए i-mobile को कॉन्फ़िगर करते समय इन पैरामीटर की ज़रूरत होगी.

Android

iOS

Step 2: Set up i-mobile demand in AdMob UI

अपनी विज्ञापन यूनिट के लिए मीडिएशन सेटिंग कॉन्फ़िगर करना

Android

निर्देशों के लिए, Android की गाइड में दूसरा चरण देखें.

iOS

निर्देशों के लिए, iOS की गाइड में दूसरा चरण देखें.

Step 3: Import the i-mobile SDK and adapter

Download the latest version of Google Mobile Ads mediation plugin for i-mobile from the download link in the Changelog and extract the GoogleMobileAdsIMobileMediation.unitypackage from the zip file.

In your Unity project editor, select Assets > Import Package > Custom Package and find the GoogleMobileAdsIMobileMediation.unitypackage file you downloaded. Make sure that all the files are selected and click Import.

Then, select Assets > Play Services Resolver > Android Resolver > Force Resolve. The Unity Play Services Resolver library will perform dependency resolution from scratch and copy the declared dependencies into the Assets/Plugins/Android directory of your Unity app.

Step 4: Additional code required

Android

No additional code is required i-mobile integration.

iOS

SKAdNetwork integration

Follow i-mobile's documentation to add the SKAdNetwork identifiers to your project's Info.plist file.

Step 5: Test your implementation

टेस्ट विज्ञापनों को चालू करें

पक्का करें कि आपने AdMob. i-Mobile, टेस्टिंग के लिए टेस्ट Spot ID, मीडिया आईडी, और पब्लिशर आईडी की सुविधा देता है. आपको ये सुविधाएं यहां मिलेंगी.

टेस्ट विज्ञापनों की पुष्टि करें

यह पुष्टि करने के लिए कि i-mobileसे आपको टेस्ट विज्ञापन मिल रहे हैं, विज्ञापन जांचने वाले टूल में विज्ञापन के एक सोर्स को टेस्ट करने की सुविधा चालू करें. इसके लिए, i-mobile (Waterfall) विज्ञापन सोर्स का इस्तेमाल करें.

Error codes

If the adapter fails to receive an ad from i-mobile, publishers can check the underlying error from the ad response using ResponseInfo under the following classes:

Android

Format Class name
Banner com.google.ads.mediation.imobile.IMobileAdapter
Interstitial com.google.ads.mediation.imobile.IMobileAdapter
Native com.google.ads.mediation.imobile.IMobileMediationAdapter

iOS

Format Class name
Banner IMobileAdapter
Interstitial IMobileAdapter
Native GADMediationAdapterIMobile

Here are the codes and accompanying messages thrown by the i-mobile adapter when an ad fails to load:

Android

Error code Reason
0-99 i-mobile SDK returned an error. See code for more details.
101 i-mobile requires an Activity context to load ads.
102 i-mobile server parameters configured in the AdMob UI are missing/invalid.
103 The requested ad size does not match an i-mobile supported banner size.
104 i-mobile's native ad load success callback returned an empty native ads list.

iOS

Error code Reason
0-10 i-mobile SDK returned an error. See code for more details.
101 i-mobile server parameters configured in the AdMob UI are missing/invalid.
102 The requested ad size does not match an i-mobile supported banner size.
103 i-mobile failed to present an ad.
104 i-mobile returned an empty native ad array.
105 i-mobile failed to download native ad assets.
106 i-mobile does not support requesting for multiple interstitial ads using the same Spot ID.

i-mobile Unity Mediation Plugin Changelog

Version 1.3.5

Version 1.3.4

Version 1.3.3

Version 1.3.2

Version 1.3.1

Version 1.3.0

Version 1.2.2

Version 1.2.1

Version 1.2.0

Version 1.1.0

Version 1.0.2

Version 1.0.1

Version 1.0.0