This documentation will go through all the steps required to display Ogury ads through Google Ad Manager mediation on iOS platform.
The Asset Key follows the pattern:
Xis an uppercase letter or digit. In all the following code samples, we will refer to this Asset Key by using the string
Ogury custom eventsare distributed via the
Ogury SDKwill be automatically imported into your project as a dependency
podfileof your application and add the following lines into your target:
If you are using Xcode 12+, please use CocoaPods 1.10+ to avoid build errors due to the migration of our SDK to XCFramework.
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:
Note that the Ogury SDK meets privacy requirements by design. Shall it not receive a valid consent status from the Ogury Choice Manager or from a validated third-party consent solution, it will display an End User License Agreement (EULA) before serving the first ad. Another way to put it: no targeted ad will be displayed to the users if they didn't give their consent first.
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
Oguryas 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:
You can refer to the AdMob sample for your integration, both GAM and AdMob uses Google-Mobile-Ads-SDK and shared the same code integration.