Comment on page
This article will go through all the steps required to display banner ads in your application through AdMob mediation.
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)
In all the following code samples, we will refer to this Ad unit id by using the string
Ogury Banner Ad ad units are designed to display only the size that they have been created with.
- For a small banner, use
- For a MPU, use
In order to display Ogury Banner Ad through GAM mediation, you need to configure a Custom Event for Ogury in your yield group.
- Click on Delivery > Yield groups in the left-menu of your GAM dashboard, and select the group where you want to add Ogury.
- Scroll to the very bottom of the page, click on Add yield partner and select Ogury under the Yield Partner dropdown.
- In the New yield partner pop-up, select Custom Event as Integration type and set up CPM that you agreed with your Ogury Account Manager as Default CPM.
- Under Additional yield partner details, set up Label to match with your Ad unit name on Ogury dashboard (e.g.
Ogury). This makes it easier for you to track the settings are matching on both sides - Ogury and GAM. Then configure Class Name and Parameter as following:
- Click on SAVE.
If you wish to set up multi-placements for Ogury, you can add Ogury multiple times as a yield partner inside your Yield Group. Each time, you should make sure to use the corresponding Ad unit ids from Ogury dashboard, with the agreed CPM value
Ogury exclusively serves ads to users who have given consent. It is essential to have responded to a valid TCFv2 consent form before conducting any tests.
As our algorithm works with personified targeting, you may not receive any ad while testing your application.
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.