PMAdSize (com.pubmatic.sdk.common)

Document created by david.simerly on Nov 20, 2017Last modified by david.simerly on Apr 3, 2018
Version 3Show Document
  • View in full screen mode

PubMatic SDKs

AdRequest

NativeAdSize

PMAdRendered

PMAdRequest

PMAdRequest.AD_TYPE

PMAdRequest.AWT_OPTION

PMAdRequest.ETHNICITY

PMAdRequest.GENDER

PMAdRequest.HASHING_TECHNIQUE

PMAdRequest.OPERID

PMAdRequest.RS

➤ PMAdSize

PMAdSize

PMBannerAdRequest

PMBannerAdView

PMBannerAdView.BannerAdViewDelegate

PMBannerAdView.BannerAdViewDelegate.
     ActivityListener

PMBannerAdView.BannerAdViewDelegate.
     FeatureSupportHandler

PMBannerAdView.BannerAdViewDelegate.
     InternalBrowserListener

PMBannerAdView.BannerAdViewDelegate.
     RequestListener

PMBannerAdView.BannerAdViewDelegate.
     RichMediaListener

PMBannerImpression

PMBid

PMError

PMImpression

PMInterstitialAd

PMInterstitialAd.InterstitialAdListener

PMInterstitialAd.InterstitialAdListener.
     ActivityListener

PMInterstitialAd.InterstitialAdListener.
     FeatureSupportHandler

PMInterstitialAd.InterstitialAdListener.
     InternalBrowserListener

PMInterstitialAd.InterstitialAdListener.
     RequestListener

PMInterstitialAd.InterstitialAdListener.
     RichMediaListener

PMInterstitialAdRequest

PMLogger

PMLogger.LogListener

PMLogger.PMLogLevel

PMNativeAd

PMNativeAd.Image

PMNativeAd.NativeRequestListener

PMNativeAdRequest

PMNativeAssetRequest

PMNativeAssetResponse

PMNativeDataAssetRequest

PMNativeDataAssetResponse

PMNativeDataAssetTypes

PMNativeImageAssetRequest

PMNativeImageAssetResponse

PMNativeImageAssetTypes

PMNativeTitleAssetRequest

PMNativeTitleAssetResponse

PMPrefetchManager

PMPrefetchManager.PMPrefetchListener

PMPrefetchRequest

PubMaticSDK


PubMatic Android SDK Guide

com.pubmatic.sdk.common

Class PMAdSize

java.lang.Object
    com.pubmatic.sdk.common.PMAdSize

public final class PMAdSize
extends java.lang.Object

 

Class provides the different Ad sizes for Banner Ads. It is mandatory to set ad size in PMBannerAdRequest.

 

Field Summary

 

Constructor Summary

Constructor and Description
PMAdSize(int adWidth, int adHeight) 

 

Method Summary

Modifier and TypeMethod and Description
intgetAdHeight() 
intgetAdWidth() 

 

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, tostring, wait, wait, wait

 

Field Detail


PMBANNER_SIZE_320x50

public static final PMAdSize PMBANNER_SIZE_320x50

 

PMBANNER_SIZE_300x50

public static final PMAdSize PMBANNER_SIZE_300x50

 

PMBANNER_SIZE_300x250

public static final PMAdSize PMBANNER_SIZE_300x250

 

PMBANNER_SIZE_38x38

public static final PMAdSize PMBANNER_SIZE_38x38

 

PMBANNER_SIZE_320x416

public static final PMAdSize PMBANNER_SIZE_320x416

 

PMBANNER_SIZE_320x100

public static final PMAdSize PMBANNER_SIZE_320x100

 

PMBANNER_SIZE_320x53

public static final PMAdSize PMBANNER_SIZE_320x53

 

PMBANNER_SIZE_480x32

public static final PMAdSize PMBANNER_SIZE_480x32

 

PMBANNER_SIZE_768x66

public static final PMAdSize PMBANNER_SIZE_768x66

 

PMBANNER_SIZE_768x90

public static final PMAdSize PMBANNER_SIZE_768x90

 

PMBANNER_SIZE_728x90

public static final PMAdSize PMBANNER_SIZE_728x90

 

PMBANNER_SIZE_1024x90

public static final PMAdSize PMBANNER_SIZE_1024x90

 

PMBANNER_SIZE_1024x66

public static final PMAdSize PMBANNER_SIZE_1024x66

 

PMBANNER_SIZE_160x600

public static final PMAdSize PMBANNER_SIZE_160x600

 

PMBANNER_SIZE_120x60

public static final PMAdSize PMBANNER_SIZE_120x60

 

PMBANNER_SIZE_555x206

public static final PMAdSize PMBANNER_SIZE_555x206

 

PMBANNER_SIZE_500x500

public static final PMAdSize PMBANNER_SIZE_500x500

 

PMBANNER_SIZE_250x250

public static final PMAdSize PMBANNER_SIZE_250x250

 

PMBANNER_SIZE_216x36

public static final PMAdSize PMBANNER_SIZE_216x36

 

PMBANNER_SIZE_210x175

public static final PMAdSize PMBANNER_SIZE_210x175

 

PMBANNER_SIZE_200x120

public static final PMAdSize PMBANNER_SIZE_200x120

 

PMBANNER_SIZE_185x30

public static final PMAdSize PMBANNER_SIZE_185x30

 

PMBANNER_SIZE_168x28

public static final PMAdSize PMBANNER_SIZE_168x28

 

PMBANNER_SIZE_120x20

public static final PMAdSize PMBANNER_SIZE_120x20

 

Constructor Detail


PMAdSize

public PMAdSize(int adWidth,                 int adHeight)

 

 

Parameters:
adWidth -
adHeight -

 

Method Detail


 

getAdWidth

public int getAdWidth()

 

 

Returns:
the adWidth

 

getAdHeight

public int getAdHeight()

 

 

Returns:
the adHeight

 

Attachments

    Outcomes