HyprMX Mediation Integration Guide

This guide will instruct you step-by-step on how to set HyprMX live as an Ad Network on the ironSource Mediation platform.

Before You Start
Make sure you have correctly integrated ironSource’s Rewarded Video or Interstitial into your application. 

Step 1. Create an HyprMX Account

HyprMX provides a managed service. To create an account with them, contact them directly at integration@hyprmx.com.  Once your account is created, they will help you set up your application and retrieve the required parameters to activate HyprMx in your ironSource account.

Step 2. Activate HyprMX in Your ironSource Network Setup Module

There are 3 pieces of data from the HyprMX account which need to be inserted into your ironSource Network Setup Module in order for HyprMX to work correctly in connection with ironSource:

API Key This is the unique identifier of your account in the HyprMX system.
Distributor ID This is the unique Application identifier which HyprMX will deliver ads to.
Placement ID This is a unique identifier of your Placement with HyprMX.

Once you obtain this information, you must configure HyprMX’s Parameters in your ironSource Account. By adding the above information correctly, you will be able to take full advantage of HyprMX’s ad inventory and reporting data on ironSource’s Mediation platform.

Configure HyprMX’s Parameters into ironSource Account

  • Once you obtain the above parameters, log in to your ironSource account and go to ‘Monetize‘ ➣ ‘Mediation‘ ➣ ‘SDK Networks‘.
    ironsource-sdk-network-setup-hyprmx
  • Select HyprMX from the list of available Ad Networks and input the HyprMX  ‘API Key‘. ironsource-platform-api-key-hypermx
  • Next, select the app on which you’d like to run ironSource’s Mediation with HyprMX.
    ironsource-platform-select-app-hyprmx
  • Go to HyprMX on the Setup dashboard and click the Define icon. Then enter the ‘Distributor ID‘  and ‘Placement ID‘ in the relevant fields. If you’d like to activate this network in specific countries, you can select these from the dropdown. Click ‘Save‘.
    ironsource-platform-app-settings-hyprmx
  • You will then see HyprMX as Active for Mediation on the Setup Dashboard.
    ironsource-platform-active-mediation-hyprmx
  • New! Verify your integration with the Reporting API; this column will check your integration through the Reporting API and return three possible responses: Verified, Failed and No Response. Double check your integration and the information you entered above; then click ‘Retry‘ until you see ‘Verified’.

Step 3. Add the HyprMX Adapter to Your Build

Unity Plugin (Android Integration)

  1. Download the HyprMX Unity Package:
    Import the  IronSourceHyprMXAdapter_[version].unitypackage to your Unity project. You can find the latest HyprMX Unity Package here.
  2. Add the HyprMX files to your Unity project:
    To add the adapter, simply double click on the  IronSourceHyprMXAdapter_[version].unitypackage and add all files to your Unity project.
    Note: If you are upgrading from a previous version, please remove HyprMX.x.x.x.jar from Assets/Plugins/Android.
  3. Make sure you have the support-annotations and support-v4.jar integrated in your project under the Assets/Plugins/Android directory.
  4. Update AndroidManifest.xml
    Manifest Permissions:

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>


    Manifest activities:

    <activity
        android:name="com.hyprmx.android.sdk.activity.HyprMXOfferViewerActivity"
        android:hardwareAccelerated="true"
        android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
        android:label="HyprMX SDK"
        android:launchMode="singleTop"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
    <activity
        android:name="com.hyprmx.android.sdk.activity.HyprMXRequiredInformationActivity"
        android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
    <activity
        android:name="com.hyprmx.android.sdk.activity.HyprMXNoOffersActivity"
        android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
    <activity
        android:name="com.hyprmx.android.sdk.videoplayer.HyprMXVideoPlayerActivity"
        android:hardwareAccelerated="true"
        android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>

 

Unity Plugin (iOS Integration)

  1. Download the HyprMX Unity Package:
    Import the IronSourceHyprMXAdapter_[version].unitypackage to your Unity project. You can find the latest HyprMX Unity Package here.
  2. Add the HyprMX files to your Unity project:
    To add the adapter, simply double click on the  IronSourceHyprMXAdapter_[version].unitypackage and add all files to your Unity project.
    Note: If you are upgrading from a previous version, please remove HyprMX.x.x.x.framework from Assets/Plugins/iOS.
    Our Unity Plugin adds the necessary frameworks automatically to your Xcode project.

Evaluate Your Ad Network Integration

  • Verify your ad network integration with our Integration Helper. The ironSource SDK provides a tool to ensure you’ve successfully integrated our SDK as well as any additional network adapters.
  • Manage the debug logs for your integrated mediation ad networks with this boolean
    IronSource.Agent.setAdaptersDebug(true);

    When set to TRUE, this line of code will enable debug logs to help you troubleshoot issues with all of the mediation ad networks that permit to do so.  Remove this code before your app goes live with our ad units! Supported for SDK versions 6.5.2 and up.

Done!

You are now all set to deliver HyprMX within your application!


What’s Next?
To leverage additional ad networks through ironSource Mediation, integrate the adapters and follow our integration guides.