This guide shows you how to use the Google Mobile Ads SDK to load and display ads from Verizon Media using mediation, covering waterfall integrations. It covers how to add Verizon Media to an ad unit's mediation configuration, and how to integrate the Verizon Media SDK and adapter into an Android app.
Supported integrations and ad formats
The AdMob mediation adapter for Verizon Media has the following capabilities:
Integration | |
---|---|
Bidding | |
Waterfall | |
Formats | |
Banner | |
Interstitial | |
Rewarded | |
Native |
Requirements
- Android API level 19 or higher
- Latest Google Mobile Ads SDK
Step 1: Set up Verizon Media
Sign up or log in to Verizon Media's SSP. Under Applications and Sites, click the button to create your app and select Android as the platform.
Fill out the form and click Save and Add Placement to create your app.
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 this in the next step.
You will need to add an Ad Source to your placement. On the next form, select Oath Ad Platforms 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, just beside your app's name. You will also need this in the next step.
Step 2: Configure mediation settings for your ad unit
You need to add Verizon Media to the mediation configuration for your ad unit.
First, sign in to your AdMob account. Next, navigate to the Mediation tab. If you have an existing mediation group you'd like to modify, click the name of that mediation group to edit it, and skip ahead to Add Verizon Media as an ad source.
To create a new mediation group, select Create Mediation Group.
Enter your ad format and platform, then click Continue.

Give your mediation group a name, and select locations to target. Next, set the mediation group status to Enabled, and then click Add Ad Units.

Associate this mediation group with one or more of your existing AdMob ad units. Then click Done.

You should now see the ad units card populated with the ad units you selected:

Add Verizon Media as an ad source
In the Ad Sources card, select Add Ad Network. Select Verizon Media, then enter an eCPM value for Verizon Media and click Continue.
Enter the Placement ID and Site ID obtained in the previous section.

Using rewarded ads
In the settings for your rewarded ad unit, provide values for the reward amount and reward type. Then, to ensure you provide the same reward to the user no matter which ad network is served, check the Apply to all networks in Mediation groups box.
If you don't apply this setting, the Verizon Media adapter defaults to a reward
of type ""
(empty string) with a value of 1
. The Verizon Media SDK does not
provide specific reward values for its rewarded ads.
Step 3: Import the Verizon Media SDK and adapter
Android Studio integration (recommended)
Add the following implementation dependencies with the latest versions of the Verizon Media Ads SDK and adapter in the app-level build.gradle file:
repositories { google() mavenCentral() maven { url 'https://artifactory.verizonmedia.com/artifactory/maven/' } } ... dependencies { implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.gms:play-services-ads:21.5.0' implementation 'com.google.ads.mediation:verizonmedia:1.14.0.1' } ...
Manual Integration
To include the Verizon Media SDK, consult the Verizon Media Android SDK documentation.
Navigate to the Verizon Media adapter artifacts on Google's Maven Repository. Select the latest version, download the Verizon Media adapter's
.aar
file, and add it to your project.
Step 4: Additional code required
No additional code required for Verizon Media integration.
Step 5: Test your implementation
Verizon Media 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 Verizon Media.
Optional steps
EU consent and GDPR
Under the Google EU User Consent Policy, you must ensure that certain disclosures are given to, and consents obtained from, users in the European Economic Area (EEA) regarding the use of device identifiers and personal data. This policy reflects the requirements of the EU ePrivacy Directive and the General Data Protection Regulation (GDPR). When seeking consent, you must identify each ad network in your mediation chain that may collect, receive, or use personal data and provide information about each network's use. Google currently is unable to pass the user's consent choice to such networks automatically.
In version 1.14.0.0, the Verizon Media adapter added the VerizonPrivacy
class
to support privacy settings. The following sample code shows how to pass consent
information to the Verizon Media SDK. If you choose to call this method, it is
recommended that you do so prior to requesting ads through the Google Mobile Ads
SDK.
Java
import com.google.ads.mediation.verizon.VerizonPrivacy;
import com.verizon.ads.DataPrivacy;
// ...
DataPrivacy dataPrivacy = new DataPrivacy.Builder()
.setGdprScope(true)
.setGdprConsent("<GDPR CONSENT>")
.setGdprContractualAgreement(true)
.build();
VerizonPrivacy.getInstance().setDataPrivacy(dataPrivacy);
Kotlin
import com.google.ads.mediation.verizon.VerizonPrivacy
import com.verizon.ads.DataPrivacy
// ...
val dataPrivacy = DataPrivacy.Builder()
.setGdprScope(true)
.setGdprConsent("<GDPR CONSENT>")
.setGdprContractualAgreement(true)
.build()
VerizonPrivacy.getInstance().setDataPrivacy(dataPrivacy)
See Publisher Privacy Settings for more details and the values that can be provided in the method.
Add Verizon Media to GDPR ad partners list
Follow the steps in GDPR settings to add Verizon Media to the GDPR ad partners list in the AdMob UI.
CCPA
The California Consumer Privacy Act (CCPA) requires giving California state residents the right to opt out of the "sale" of their "personal information" (as the law defines those terms), with the opt-out offered via a prominent "Do Not Sell My Personal Information" link on the "selling" party's homepage. The CCPA preparation guide offers the ability to enable restricted data processing for Google ad serving, but Google is unable to apply this setting to each ad network in your mediation chain. Therefore, you must identify each ad network in your mediation chain that may participate in the sale of personal information and follow guidance from each of those networks to ensure compliance with CCPA.
In version 1.14.0.0, the Verizon Media adapter added the VerizonPrivacy
class
to support privacy settings. The following sample code shows how to pass consent
information to the Verizon Media SDK. If you choose to call this method, it is
recommended that you do so prior to requesting ads through the Google Mobile Ads
SDK.
Java
import com.google.ads.mediation.verizon.VerizonPrivacy;
import com.verizon.ads.DataPrivacy;
// ...
DataPrivacy dataPrivacy = new DataPrivacy.Builder()
.setCcpaPrivacy("<CCPA CONSENT>")
.build();
VerizonPrivacy.getInstance().setDataPrivacy(dataPrivacy);
Kotlin
import com.google.ads.mediation.verizon.VerizonPrivacy
import com.verizon.ads.DataPrivacy
// ...
val dataPrivacy = DataPrivacy.Builder()
.setCcpaPrivacy("<CCPA CONSENT>")
.build()
VerizonPrivacy.getInstance().setDataPrivacy(dataPrivacy)
See Publisher Privacy Settings for more details and the values that can be provided in the method.
Using native ads
Ad rendering
The Verizon Media adapter returns its native ads as
NativeAd
objects. It populates the following
Native ads field descriptions
for a
NativeAd
.
Field | Populated by Verizon Media adapter |
---|---|
Headline | |
Image | |
Body | |
App icon | |
Call to action | |
Advertiser Name | |
Star rating | |
Store | |
Price |
Verizon Media Android Mediation Adapter Changelog
Version 1.14.0.1
- Updated
compileSdkVersion
andtargetSdkVersion
to API 31. - Updated the minimum required Google Mobile Ads SDK version to 21.0.0.
- Updated the minimum required Android API level to 19.
Built and tested with:
- Google Mobile Ads SDK version 21.0.0.
- Verizon Media SDK 1.14.0.
Version 1.14.0.0
- Support for Verizon Media SDK v1.14.0.
- Updated the minimum required Google Mobile Ads SDK version to 20.3.0.
Built and tested with:
- Google Mobile Ads SDK version 20.3.0.
- Verizon Media SDK 1.14.0.
Version 1.13.0.0
- Support for Verizon Media SDK v1.13.0.
- Updated the minimum required Google Mobile Ads SDK version to 20.1.0.
Built and tested with:
- Google Mobile Ads SDK version 20.1.0.
- Verizon Media SDK 1.13.0.
Version 1.12.1.0
- Support for Verizon Media SDK v1.12.1.
- Updated the minimum required Google Mobile Ads SDK version to 20.0.0.
Built and tested with:
- Google Mobile Ads SDK version 20.0.0.
- Verizon Media SDK 1.12.1.
Version 1.9.0.0
- Support for Verizon Media SDK v1.9.0.
- Updated the minimum required Google Mobile Ads SDK version to 19.7.0.
Built and tested with:
- Google Mobile Ads SDK version 19.7.0.
- Verizon Media SDK 1.9.0.
Version 1.8.1.0
- Support for Verizon Media SDK v1.8.1.
- Fixed an issue where the adapter returns an incorrect version string.
- Updated the minimum required Google Mobile Ads SDK version to 19.5.0.
Built and tested with:
- Google Mobile Ads SDK version 19.5.0.
- Verizon Media SDK 1.8.1.
Version 1.8.0.0
- Support for Verizon Media SDK v1.8.0.
- Updated the minimum required Google Mobile Ads SDK version to 19.4.0.
Built and tested with:
- Google Mobile Ads SDK version 19.4.0.
- Verizon Media SDK 1.8.0.
Version 1.7.0.0
- Support for Verizon Media SDK v1.7.0.
- Updated the minimum required Google Mobile Ads SDK version to 19.3.0.
- Updated the adapter to support inline adaptive banner requests.
- Added androidx.browser:browser as a dependency per Verizon's documentation.
Built and tested with:
- Google Mobile Ads SDK version 19.3.0.
- Verizon Media SDK 1.7.0.
Version 1.6.0.0
- Support for Verizon Media SDK v1.6.0.
- Updated the minimum required Google Mobile Ads SDK version to 19.1.0.
Built and tested with:
- Google Mobile Ads SDK version 19.1.0.
- Verizon Media SDK 1.6.0.
Version 1.5.0.0
- Support for Verizon Media SDK v1.5.0.
- Updated the minimum required Google Mobile Ads SDK version to 19.0.1.
Built and tested with:
- Google Mobile Ads SDK version 19.0.1.
- Verizon Media SDK 1.5.0.
Version 1.4.0.0
- Support for Verizon Media SDK v1.4.0.
Built and tested with:
- Google Mobile Ads SDK version 18.3.0.
- Verizon Media SDK 1.4.0.
Version 1.3.1.0
- Support for Verizon Media SDK v1.3.1.
Built and tested with:
- Google Mobile Ads SDK version 18.3.0.
- Verizon Media SDK 1.3.1.
Version 1.3.0.0
- Support for Verizon Media SDK v1.3.0.
- Removed
VerizonConsent.getInstance().setConsentData()
API. - Added
VerizonPrivacy.getInstance().setPrivacyData()
API. Publishers must now pass GDPR information to Verizon Media's SDK through this API.
Built and tested with:
- Google Mobile Ads SDK version 18.3.0.
- Verizon Media SDK 1.3.0.
Version 1.2.1.0
- Support for Verizon Media SDK v1.2.1.
- Support for Native ads added.
- Support for Rewarded Video added.
Built and tested with:
- Google Mobile Ads SDK version 18.2.0.
- Verizon Media SDK 1.2.1.
Version 1.1.1.0
- Adapter has been rebranded to "Verizon Media".
- Compatible with Verizon Media SDK 1.1.1.
Earlier versions
- Supports banner and interstitial ads.