Getting started

This documentation outlines the step-by-step process for integrating and displaying Ogury ads using Unity LevelPlay mediation on the Android platform.

Prerequisites

The following are the prerequisites for the Ogury SDK:

  • Minimum API Level: 21 or higher.

  • Target SDK Version: 33 or higher.

  • Kotlin Version: 1.8.20 or higher.

  • Required Permissions:

    • android.permission.INTERNET

    • android.permission.ACCESS_NETWORK_STATE

Step 1: Register your application

The asset key follows the format: OGY-XXXXXXXXXXXX, where X represents an uppercase letter or digit. In the code samples provided, we will use the placeholder string OGY-XXXXXXXXXXXX to refer to this asset key.

Step 2: Import the Ogury SDK

To import the latest version of the Ogury SDK and the Ogury adapter for Unity LevelPlay mediation into your project:

  • Open the build.gradle of your application.

  • Add the following lines:

repositories {
    mavenCentral() 
    maven { url 'https://maven.ogury.co' }
}

dependencies {
    // import the Ogury SDK
    implementation 'co.ogury:ogury-sdk:6.+'
    // import the Ogury Adapter for Unity LevelPlay mediation
    implementation 'co.ogury:ogury-adapters-ironsource:6.+'
}

For more information on the latest releases, you can refer to the release notes for the Ogury SDK and for the Ogury adapter for Unity LevelPlay mediation.

Step 3 : Integrate Ogury ad formats

Through Unity LevelPlay mediation, Ogury offers the following ad format:

Before going live

Ogury is part of the IAB Authorized Sellers for Apps initiative to fight inventory fraud for applications. It is recommended to update your app-ads.txt to include Ogury.

Last updated

Was this helpful?