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: Create a Small Banner / MREC ad unit
  • Step 2: Create Yield Group
  • Step 3: Add Ogury in your Yield Group
  • Step 4: Test your integration

Was this helpful?

  1. AD FORMATS

Small Banner / MREC

This article provides a comprehensive guide on the steps necessary to display Ogury Small Banner or MREC ads in your application using Google Ad Manager mediation.

Last updated 6 months ago

Was this helpful?

Ogury offers two banner sizes that can fit specific positions on the screen and can be seamlessly integrated within your application's content:

  • Small Banner (320x50)

  • MREC (300x250)

Prerequisites

Ensure your application is registered on the Ogury Dashboard. If not, please refer to the page before proceeding.

Step 1: Create a Small Banner / MREC ad unit

  • on your asset page in the Ogury Dashboard.

  • , as you will need it for integration. It is in the form of a UUID, which consists of a 36-character string formatted as follows: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, where each x represents a hexadecimal digit.

In the following code samples, this ad unit ID will be represented as xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

Ogury Small Banner and MREC ad units are specifically designed to display only their designated sizes. When loading your Google Ad Manager Banner ad, ensure that the matches the size of your Ogury ad unit:

  • For a Small Banner (320x50), use AdSize.BANNER.

  • For a MREC (300x250), use AdSize.MEDIUM_RECTANGLE.

Step 2: Create Yield Group

Follow theto create a yield group for your Banner ad unit.

Step 3: Add Ogury in your Yield Group

In order to display Ogury Small Banner or MREC ads through Google Ad Manager mediation, you need to configure a Custom Event for Ogury within your yield group.

  • In your GAM dashboard, navigate to Delivery > Yield groups from the left menu, and select the group where you want to add Ogury.

  • Scroll to the bottom of the page and click on Add yield partner. From the Yield Partner dropdown menu, select Ogury:

  • In the New yield partner pop-up, choose Custom Event as the Integration type and enter the CPM you agreed upon with your Ogury Account Manager as the Default CPM.

  • Under Additional yield partner details, set the Label to match your ad unit name in the Ogury dashboard (e.g., Ogury). This helps ensure that your settings are consistent across both Ogury and GAM.

  • Configure the Class Name and Parameter as follows:

Class Name:

com.ogury.mobileads.OguryBannerAdCustomEvent

Parameter:

{"assetKey":"OGY-XXXXXXXXXXXX","adUnitId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}
  • Click on SAVE.

If you want to set up multi-placements for Ogury, you can add Ogury as a yield partner multiple times within your yield group. Each time, make sure to use the corresponding ad unit IDs from the Ogury dashboard along with the agreed CPM value.

Step 4: Test your integration

After registering your app, it may take up to 15 minutes before ads are available.

Since our algorithm uses personalized targeting, you may not receive ads during testing. To obtain test ads, you can append _test to your Small Banner / MREC ad unit ID in your yield group, for example: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_test.

Ogury exclusively serves ads to users who have provided their consent. Before conducting any tests, it is essential to ensure that your implementation complies with applicable privacy regulations. For more information on the regulations supported by Ogury, please visit the page.

For further details on test mode and enabling debug logs, please refer to the page.

Privacy compliance
Test your implementation
AdSize
Google Ad Manager guide
Getting Started
Create a Small Banner or MREC ad unit
Copy the ad unit ID