Xandr - iOS
Banner Ad
Banner Ads are small or medium rectangle ads that have specific dimensions and occupy a certain position of the screen width and they can be freely integrated within the content of the app.
The banner comes with two predefined dimensions:
  • Small banner (320x50)
  • MPU (300x250)


You have registered an application on your Ogury Dashboard. If not, please refer to the Getting started section before the next steps.

Step 1: Create an Banner Ad ad unit

  • Go to your Asset list in the Ogury Dashboard and select your Asset.
  • Click on the Monetization settings in the left-menu.
  • Copy the Ad unit id as you will need this information later to finish the integration.
In all the following code samples, we will refer to this Ad unit id by using the string AD_UNIT_ID.

Step 2: Create a Mediation Network

  1. 1.
    Go to the Xandr dashboard.
  2. 2.
    Select Mediation > Networks from the navigation menu.
  3. 3.
    Click on + New to open the Add a network dialog.
  4. 4.
    Select Custom Mobile Network.
  5. 5.
    Type Ogury in the Network Name field before saving.

Step 3: Create a Mobile Network Bid

In order to display Ogury Banner Ad through Xandr mediation, you need to configure a Custom Mobile Network Bid for Ogury.
  1. 1.
    Select the Ogury Network in the dropdown menu.
  2. 2.
    Type in Ogury Banner Ad as the bid name.
  3. 3.
    Set an eCPM.
  4. 4.
    Set Banner as the Media Type.
  5. 5.
    Choose either 320x50 or 300x250 as the Ad Size.
  6. 6.
    Check the Support SSL checkbox.
  7. 7.
    Choose iOS Class Name as Device Class Name, and enter the following configuration:
iOS Class Name:
Network Id:
Network Parameter:
For Network Parameter, the JSON quotes should be escaped by prepending it with \ as shown above.
For eCPM, you need to set the value that you agreed with your Ogury Account Manager.
  • Click on Save.
If you wish to set up multi-placements for Ogury, you can add multiple bids. Each time, you should make sure to use the corresponding Ad unit ids from Ogury dashboard, with the agreed eCPM value.

Step 4: Test your integration

After a successful integration, the first impressions of your application will be replaced by a Congratulations Ad, regardless of the ad format you have chosen to integrate.
Note that if you have just registered your application in the Ogury Dashboard, it will take around 15 minutes until you can successfully load an ad.