Page tree


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
int getAdHeight () 
int getAdWidth () 

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


⇧ Top