LogoLogo
  • Getting started
  • Test your implementation
  • Release notes
  • AD FORMATS
    • Interstitial
    • Small Banner / MREC
  • PRIVACY
    • Privacy compliance
    • Apple privacy survey
  • HELP
    • Help center
Powered by GitBook
On this page
  • Prerequisites
  • Step 1: Create a Small Banner / MREC ad unit
  • Step 2: Create a Mediation Network
  • Step 3: Create a Mobile Network Bid
  • 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 Xandr mediation.

Last updated 7 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 Xandr Banner ad, ensure that the ad size matches the size of your Ogury ad unit:

  • For a Small Banner, set 320 as the width and 50 as the height.

  • For a MREC, set 320 as the width and 250 as the height.

Step 2: Create a Mediation Network

  • Navigate to the Xandr dashboard.

  • From the navigation menu, select Mediation > Networks.

  • Click on + New to open the Add a Network dialog.

  • Choose Custom Mobile Network from the options.

  • In the Network Name field, enter "Ogury", then click Save.

Step 3: Create a Mobile Network Bid

In order to display Ogury Small Banner or MREC ads through Xandr mediation, you need to configure a Custom Mobile Network Bid for Ogury.

  • From the dropdown menu, select the Ogury Network.

  • In the Bid Name field, type Ogury Banner Ad.

  • Enter the eCPM you agreed upon with your Ogury Account Manager as the Default CPM..

  • For Media Type, select Banner.

  • Select 320x50 or 300x250 as the Ad Size.

  • Check the Support SSL checkbox.

  • Under Device Class Name, choose iOS Class Name, and enter the following configuration:

iOS Class Name:

OguryAdsXandrCustomEventBanner

Network Id:

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Network Parameter:

{\"assetKey\":\"OGY-XXXXXXXXXXXX\"}

For the Network Parameter, escape the JSON quotes by adding a backslash (\) before each quote.

  • Click on Save.

If you want to set up multi-placements for Ogury, you can add multiple bids. 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 Xandr dashboard, 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
Create a Small Banner or MREC ad unit
Copy the ad unit ID
Getting Started