public abstract class AdUnit
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
auctionId |
protected java.lang.String |
code |
protected java.lang.String |
configId |
protected java.util.ArrayList<AdSize> |
sizes |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
abstract AdType |
getAdType()
Gets the type that how the ad will be displayed
Choices are banner, interstitial, native
|
java.lang.String |
getAuctionId()
Gets the auctionId which is auto generated when ad unit is created
|
java.lang.String |
getCode()
Gets the identifier for the ad unit
|
java.lang.String |
getConfigId() |
java.util.ArrayList<AdSize> |
getSizes()
Gets the supported sizes of the ad unit
|
int |
hashCode() |
java.lang.String |
toString() |
protected java.lang.String auctionId
protected java.lang.String code
protected java.lang.String configId
protected java.util.ArrayList<AdSize> sizes
public java.lang.String getConfigId()
public java.lang.String getCode()
public java.lang.String getAuctionId()
public java.util.ArrayList<AdSize> getSizes()
public abstract AdType getAdType()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object