Android - Google Ad Manager
android mediation
android mediation
According to Google Ad Manager’s announcement, Google Ad Manager will deprecate SDK Mediation in Creatives. Please refer to Create and manage yield groups to finish mediation setting in Yield Group.
Please make sure you’ve added following files in your project:
Note:
Besides ad integration, to make the Ads work more smoothly and release resource appropriately, we recommend that you should implement Activity method in the Activity Lifacycle. (Please refer to [Google Ads API)])
For Vpon SDK and Vpon AdMob Adapter, please download here.
Please refer to Google Ad Manager SDK Integration Guide to determine the size of the ad unit.
Interstitial ad units can be defined with one of the four common sizes, regardless of the actual screen size of individual devices. The SDK will handle rendering the creative correctly on screens which are of slightly different sizes.
There is no need to define a separate ad unit for landscape mode. You can simply add the landscape size (e.g. 480x320 for smartphones) to line items targeting the interstitial ad unit and include a creative with the landscape size in addition to the regular portrait size.
Please set up the ad unit size as your requirement.
After finishing your ad unit setting, please choose an ad unit and click Generate Tags to generate ad tags. Choose Mobile application
and get the ad unit like: /networkCode/adUnitName
. Please apply this tag into your App project.
Please follow the steps below to add Vpon as your Yield Partner first in to Company page under Management tag:
Please refer to the instruction below to finish the Yield Group setting:
Mobile SDK
if you are trying to integrate Banner Ad
or Interstitial Ad
. Please insert TW
in the Zone column, and insert your Vpon License Key
in the Vpon Ad ID column.Custom Event
if you are trying to integrate Native Ad
. Please insert com.vpadn.mediation.VpadnAdapter
in the Class Name column, and insert your Vpon License Key
in the Parameter column.Note: Please note that if you are using Vpon Adapter to integrate Native Ad via GAM Mediation, the behavior of adListener might be different if Vpon Native Ad shows.
Following adListener might be impacted:onAdLeftApplication
,onAdClosed
Please refer to our Sample Code for a complete integration sample.