Android - Google Ad Manager
Please make sure you’ve added following files in your project:
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 SDKif you are trying to integrate
Interstitial Ad. Please insert
TWin the Zone column, and insert your
Vpon License Keyin the Vpon Ad ID column.
Custom Eventif you are trying to integrate
Native Ad. Please insert
GADVpadnNativeAdCustomEventin the Class Name column, and insert your
Vpon License Keyin 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:
Please refer to our Sample Code for a complete integration sample.