This documentation will go through all the steps required to display Ogury ads through Google Ad Manager mediation on iOS platform.
Create an account on the Ogury Dashboard.
Go to your Dashboard and register your application.
Copy the Asset Key from the Asset details, as shown in the screenshot below:
To import the latest version of the Ogury SDK into your project, Ogury provides two methods:
Automated integration using Ogury's CocoaPods repository (recommended).
Manual integration of the Ogury SDK Frameworks.
Drag the following Frameworks into your Xcode project:
Check if the frameworks are added to Linked Frameworks and Libraries on Target properties under General Tab of your project
In your project Build Settings, do the following changes:
-ObjC flag to Other Linker Flags.
Import the following source files and headers into your XCode project:
For Swift project, you need to configure an Objective-C bridging header. XCode will help you with a dialog to create it when you import the source files. Click on Create Bridging Header.
The European GDPR regulation requires obtaining the users' consent in order to display them personalized ads, (i) when the company processing personal data is based in the EU, or (ii) when the users are EU citizens.
As a company based in the EU, Ogury accordingly requires an explicit consent from the users to collect their personal data and display them personalized ads. The consent collection can be operated:
by the Ogury Choice Manager.
setup method will initialize Ogury Ads. It fastens the preloading of the first ad.
[[OguryAds shared] setupWithAssetKey:@"ASSET_KEY"];
setup method takes the following parameter:
the Asset Key of your application. If you do not have one yet, you can refer to the first step to create it.
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.
Congratulations, the Ogury SDK is now initialized! You are now ready to integrate your first ad. Ogury provides three different ad formats, (i) Interstitial Ads, (ii) Opt-in Video Ads, (iii) Banner Ads and (iv) Thumbnail Ads. You can refer to the following sections to proceed with the integration:
Ogury is part of the IAB Authorized Sellers for Apps initiative to fight inventory fraud for applications. It is recommended to update your
app-ads.txt to include Ogury as described in the app-ads.txt section.