Integrate Yahoo with mediation

This guide shows you how to use the Google Mobile Ads SDK to load and display ads from Yahoo using mediation, covering waterfall integrations. It covers how to add Yahoo to an ad unit's mediation configuration, and how to integrate the Yahoo Mobile SDK and adapter into a Unity app.

Supported integrations and ad formats

The AdMob mediation adapter for Yahoo has the following capabilities:

Integration
Bidding
Waterfall
Formats
Banner
Interstitial
Rewarded

Requirements

  • Unity 4 or higher
  • Latest Google Mobile Ads SDK
  • To deploy on Android
    • Android API level 19 or higher
  • To deploy on iOS
    • iOS deployment target of 12.0 or higher
  • A working Unity project configured with Google Mobile Ads SDK. Refer to Get Started for details.
  • Complete the mediation Get started guide

Step 1: Set up configurations in Yahoo UI

Log in to Yahoo's SSP. Under Applications and Sites, click the + button then Application.

Fill out the form and click Save and Add Placement to create your app.

Android

iOS

Once you've created an app, you will need to create a Placement. Select a Placement Type, fill out the form, and click Save & Monetize.

Take note of your Placement ID.

You will need to add an Ad Source to your placement. On the next form, select Yahoo SSP as an Ad Source and fill out the form with the required information. Once you've completed the form, click Save.

Finally, drag the Ad Source that you just created under the Waterfall Ad Sources table to add it to your placement.

Take note of the Site ID.

Turn on test mode

Yahoo ads can be tested by creating a Test Ad Source and adding it into your placement's Waterfall Ad Sources. Navigate to your Placement ID's settings, click the Add button and select Test Ad Source.

Once you've created the Ad Source, drag it into your placement's Waterfall Ad Sources.

That's it! You now have a working mediation integration with Yahoo.

Step 2: Set up Yahoo demand in AdMob UI

Configure mediation settings for your ad unit

Android

For instructions, see step 2 in the guide for Android.

iOS

For instructions, see step 2 in the guide for iOS.

Add Yahoo to GDPR and US state regulations ad partners list

Follow the steps in GDPR settings and US state regulations settings to add Yahoo to the GDPR and US state regulations ad partners list in the AdMob UI.

Step 3: Import the Yahoo Mobile SDK and adapter

Download the latest version of Google Mobile Ads mediation plugin for Yahoo from the download link in the Changelog and extract the GoogleMobileAdsYahooMediation.unitypackage from the zip file.

In your Unity project editor, select Assets > Import Package > Custom Package and find the GoogleMobileAdsYahooMediation.unitypackage file you downloaded. Make sure all the files are selected and click Import.

Then, select Assets > Play Services Resolver > Android Resolver > Force Resolve. The Unity Play Services Resolver library will perform dependency resolution from scratch and copy the declared dependencies into the Assets/Plugins/Android directory of your Unity app.

Step 4: Add required code

No Additional code required for Yahoo integration.

Step 5: Test your implementation

Enable test ads

Make sure you register your test device for AdMob and enable test mode in Yahoo - App & Display UI.

Verify test ads

To verify that you are receiving test ads from Yahoo - App & Display , enable single ad source testing in ad inspector using the Yahoo (Waterfall) ad source(s).

Yahoo Unity Mediation Plugin Changelog

Version 1.0.0