LogoLogo
  • Getting started
  • Test your implementation
  • Release notes
  • AD FORMATS
    • Interstitial
    • Rewarded
    • Small Banner / MREC
    • Thumbnail
  • PRIVACY
    • Privacy compliance
  • Help
    • Integration checklist
    • Help center
Powered by GitBook
On this page
  • Prerequisites
  • Step 1: Register your application
  • Step 2: Import the Ogury SDK
  • Step 3: Add Ogury as Yield Partner
  • Step 5: Integrate Ogury ad formats
  • Before going live

Was this helpful?

Getting started

This documentation outlines the step-by-step process for integrating and displaying Ogury ads using Google Ad Manager (GAM) mediation on the Android platform.

Last updated 2 months ago

Was this helpful?

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

  • .

  • and .

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 Google Ad Manager mediation into your project:

  • Open the build.gradle of your application.

  • Add the following lines:

repositories {
    maven {
        url 'https://maven.ogury.co'
    }
}
dependencies {
    // import the Ogury SDK
    implementation 'co.ogury:ogury-sdk:6.+'
    // import the Ogury Adapter for Google Ad Manager mediation
    implementation 'co.ogury:ogury-mediation-gam:6.+'

}

Step 3: Add Ogury as Yield Partner

In Google Ad Manager dashboard, configure Ogury as a yield partner.

  • Click on Admin > Companies in the left-menu.

  • Click on New company and select Ad Network.

  • In the New ad network pop-up, select Other company as Ad network and enter Ogury as Name. Then enable the Mediation option.

The newly created Ogury yield partner should show in the list of Ad Networks.

Step 5: Integrate Ogury ad formats

Ogury offers four distinct ad formats. You can refer to the following sections to proceed with the integration:

Before going live

For more information on the latest releases, you can refer to the release notes for the and for the .

Ogury is part of the IAB initiative to fight inventory fraud for applications. It is recommended to to include Ogury.

Ogury SDK
Ogury adapter for Google Ad Manager mediation
Interstitial
Rewarded
Small Banner /MREC
Thumbnail
Authorized Sellers for Apps
Log into your Ogury's publisher platform
Register your application
save your asset key
update your app-ads.txt